MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
m (retry) |
No edit summary |
||
(24 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* Site-wide mods */ |
|||
⚫ | |||
⚫ | |||
/*-------------------------------*/ |
|||
/* MediaWiki:Sidebar CSS rules */ |
|||
/* remove the first Section title causing a blank space */ |
|||
div#p-InvisibleMenu { |
|||
display:none!important; |
|||
} |
|||
/* targets the div holding the logo */ |
|||
div#p-logo { |
|||
/* CSS goes here */ |
|||
} |
|||
/* targets the link inside the logo div */ |
|||
div#plogo a.mw-wiki-logo { |
|||
} |
|||
/* Bold specific sidebar items: */ |
|||
li#n-Lab-Rules a { |
li#n-Lab-Rules a { |
||
⚫ | |||
} |
|||
⚫ | |||
li#n-COVID-19-Protocols a { |
|||
font-weight: bold; |
|||
} |
} |
||
⚫ | |||
⚫ | |||
/*-----------------------------------*/ |
|||
/* this doesn't work: Demis 2020-05-12 |
|||
/* Sidebar title elements */ |
|||
#content h6 { |
|||
text-indent: 0.5pt; |
|||
/* THESE ARE OVERRIDDEN BY ANOTHER RULE `@media screen #mw-panel .portal {}` */ |
|||
font-style="italic"; |
|||
h3#p-navigation-label { |
|||
} |
} |
||
h3#p-Equipment-label { |
|||
*/ |
|||
} |
|||
h3#p-Recipes_and_Data-label { |
|||
} |
|||
h3#p-Facility_Data-label { |
|||
} |
|||
h3#p-Editing_Tools-label { |
|||
} |
|||
h3#p-p-tb-label { |
|||
} |
|||
/* For the spacing between elements, you want to target all li elements inside of the section divs and increase the padding top and bottom on those elements */ |
|||
div#p-navigation li { |
|||
} |
|||
div#p-Equipment li { |
|||
} |
|||
/* etc... */ |
Latest revision as of 19:54, 27 August 2021
/* Site-wide mods */ /* disable "discussion" link on every page */ li#ca-talk { display:none!important; } /*-------------------------------*/ /* MediaWiki:Sidebar CSS rules */ /* remove the first Section title causing a blank space */ div#p-InvisibleMenu { display:none!important; } /* targets the div holding the logo */ div#p-logo { /* CSS goes here */ } /* targets the link inside the logo div */ div#plogo a.mw-wiki-logo { } /* Bold specific sidebar items: */ li#n-Lab-Rules a { font-weight: bold; } li#n-COVID-19-Protocols a { font-weight: bold; } /*-----------------------------------*/ /* Sidebar title elements */ /* THESE ARE OVERRIDDEN BY ANOTHER RULE `@media screen #mw-panel .portal {}` */ h3#p-navigation-label { } h3#p-Equipment-label { } h3#p-Recipes_and_Data-label { } h3#p-Facility_Data-label { } h3#p-Editing_Tools-label { } h3#p-p-tb-label { } /* For the spacing between elements, you want to target all li elements inside of the section divs and increase the padding top and bottom on those elements */ div#p-navigation li { } div#p-Equipment li { } /* etc... */