User:Rubin110/monobook.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(14 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
/* hide the logo */ | /* hide the logo */ | ||
#p-logo a, #p-logo a:hover { background-position:-200px 0px !important; } | #p-logo a, #p-logo a:hover { background-position:-200px 0px !important; } | ||
/* style a:after pseudo-element, based on monobook's #p-logo style, | /* style a:after pseudo-element, based on monobook's #p-logo style, | ||
Line 18: | Line 9: | ||
#p-logo a:after { | #p-logo a:after { | ||
position:absolute; top:0; left:0; height: 155px; width: 12.2em; | position:absolute; top:0; left:0; height: 155px; width: 12.2em; | ||
background: url(https://noisebridge.net/images/5/52/Nosebridge-131.png) no-repeat 35% 50%; | |||
text-decoration: none; | text-decoration: none; | ||
content:' '; /* to make the element actually appear */ | content:' '; /* to make the element actually appear */ | ||
} | } | ||
*/ | |||
/*table:first-child big strong { display:none } | |||
table:first-child big:after { font-weight:bold; content:"We are Legion" } | |||
p:last-child:after, ul ul li:last-child:after { content:".. for me to poop on." } */ | |||
/* Other images | |||
https://noisebridge.net/images/5/52/Nosebridge-131.png | |||
https://www.noisebridge.net/images/8/8f/Trollbridge.png |
Latest revision as of 14:52, 6 March 2016
/* hide the logo */ #p-logo a, #p-logo a:hover { background-position:-200px 0px !important; } /* style a:after pseudo-element, based on monobook's #p-logo style, to contain a replacement logo. (It is necessary to do it this convoluted way because the original background url is specified in the html style attribute) */ #p-logo a:after { position:absolute; top:0; left:0; height: 155px; width: 12.2em; background: url(https://noisebridge.net/images/5/52/Nosebridge-131.png) no-repeat 35% 50%; text-decoration: none; content:' '; /* to make the element actually appear */ } /*table:first-child big strong { display:none } table:first-child big:after { font-weight:bold; content:"We are Legion" } p:last-child:after, ul ul li:last-child:after { content:".. for me to poop on." } */ /* Other images https://noisebridge.net/images/5/52/Nosebridge-131.png https://www.noisebridge.net/images/8/8f/Trollbridge.png