Jump to content

User:Pythoncoder/common.css

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/* floating header */
/*@media screen {
    #mw-head {
        position: fixed;
        background: linear-gradient(to bottom,#fff 50%,#f6f6f6 100%);
    }
} BROKEN ON MOBILE */
/* TODO: missing blue border at top of article content; 
fix section jumping so header is visible (may need JS? vector-2022 does it right) */

/* sharpen timeline images */
.timeline-wrapper {
	image-rendering: pixelated;
}

/* fix layout error on redlinked articles */
.skin-vector.ns-0 .noarticletext {
  margin-top: 0 !important;
}

/* smart quotes for <q> */
q {
    quotes: '“' '”' "‘" "’";
}

/* Don't highlight my sig */
a[class*=userhighlighter][href*=Pythoncoder] { background-color: transparent !important; }

/* teahouse nav */
#teahouseNavbar {display: block !important;} /* Adds the hidden host navbox to your Teahouse pages */ 

/* Disable AfD help */
.afd-help-box { display: none; }

/* Add Unifont to font stack on all code tables */
.wikitable.nounderlines td {
	font-family: sans-serif, 'Go Noto Current-Regular', 'Unifont Upper', Unifont !important;;
}

/* Link Classifier Custom Rules */
A.redirect         { color:#00bf00; }
A.self-redirect    { background-color:#88ff88; }
A.disambiguation   { background-color:#ffff88; }
A.intentional-disambiguation   { background-color:#ffffcc; }
A.soft-redirect-cats { background-color:#ffff88; }
A.deletion         { color:#ff0088; }
A.broken-redirect  { color:#bf0000; background-color:#88ff88; }

A.redirect:visited { color:#3ebf3e; }
A.deletion:visited { color:#ff54af; }
A.broken-redirect:visited { color:#bf3e3e; background-color:#88ff88; }

A.image.redirect         > IMG { outline:2px solid #00bf00; } /* Doesn't work, because the generated link goes to the redirect target */
A.image.nonfree-media    > IMG { outline:3px double #ff0000; }
A.image.deletion         > IMG { outline:2px solid #ff0088; }
A.image.deletion:visited > IMG { outline-color:#ff54af; }

A.nonimage[class*=protection-edit-template]:after {
    content:url(/media/wikipedia/commons/thumb/7/70/Padlock-pink.svg/12px-Padlock-pink.svg.png);
}
A.nonimage[class*=protection-create-sysop]:after {
    content:url(/media/wikipedia/commons/thumb/a/a0/Padlock-skyblue.svg/12px-Padlock-skyblue.svg.png);
}
A.nonimage.protection-edit-sysop:after {
    content:url(/media/wikipedia/commons/thumb/5/59/Padlock.svg/12px-Padlock.svg.png);
}
A.nonimage.protection-edit-sysop-indef:after {
    content:url(/media/wikipedia/commons/thumb/4/48/Padlock-red.svg/12px-Padlock-red.svg.png);
}

/* Revert space after namespace on discussion pages */
.ext-discussiontools-visualenhancements_pageframe-enabled .mw-page-title-separator::after {
	content: '';
}

/* AQ Fetcher Custom Rules */
/*
A.AQ-FA:before           { content:url(/media/wikipedia/commons/thumb/2/23/Symbol_star_FA.svg/12px-Symbol_star_FA.svg.png); }
A.AQ-GA:before           { content:url(/media/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/12px-Symbol_support_vote.svg.png); }
A.AQ-A:before            { content:url(/media/wikipedia/commons/thumb/9/94/Symbol_support_vote.svg/12px-Symbol_support_vote.svg.png); }
content:url(/media/wikipedia/commons/thumb/2/25/Symbol_a_class.svg/12px-Symbol_a_class.svg.png); Stopgap solution for script classifying GAs as A-class
A.AQ-B:before            { content:url(/media/wikipedia/commons/thumb/5/5f/Symbol_b_class.svg/12px-Symbol_b_class.svg.png); }
A.AQ-C:before            { content:url(/media/wikipedia/commons/thumb/e/e6/Symbol_c_class.svg/12px-Symbol_c_class.svg.png); }
A.AQ-Start:before        { content:url(/media/wikipedia/commons/thumb/a/a4/Symbol_start_class.svg/12px-Symbol_start_class.svg.png); }
A.AQ-Stub:before         { content:url(/media/wikipedia/commons/thumb/f/f5/Symbol_stub_class.svg/12px-Symbol_stub_class.svg.png); }
A.AQ-Unclassified:before { content:url(/media/wikipedia/commons/thumb/e/e0/Symbol_question.svg/12px-Symbol_question.svg.png); }
*/