Main Page
Difference between revisions of "User:Nanaha/vector.css"
Jump to navigation
Jump to search
m (Blanked the page) |
(base for experimenting) |
||
Line 1: | Line 1: | ||
+ | /* CSS placed here will affect users of the Vector skin */ | ||
+ | |||
+ | /* background colors of mediawiki tables */ | ||
+ | table.mw_metadata td, table.mw_metadata th, table.wikitable, table.wikitable>*>th, table.wikitable>*>td, pre { | ||
+ | background-color: #f2f2f2; | ||
+ | } | ||
+ | |||
+ | /* Table of Contents */ | ||
+ | .toc { | ||
+ | border: 1px solid #e7e7e7; | ||
+ | margin: 15px 20px; | ||
+ | border-radius: 4px; | ||
+ | border-width: 0 1px 4px 1px; | ||
+ | padding: 0 !important; | ||
+ | } | ||
+ | |||
+ | .toc ul { | ||
+ | padding-left: 1.3em !important; | ||
+ | padding-right: 0.3em !important; | ||
+ | } | ||
+ | |||
+ | #toctitle { | ||
+ | padding: 10px 15px; | ||
+ | border-bottom: 1px solid transparent; | ||
+ | border-top-right-radius: 3px; | ||
+ | border-top-left-radius: 3px; | ||
+ | } | ||
+ | #toctitle h2 { | ||
+ | display: inline; | ||
+ | font-size: 14px !important; | ||
+ | font-weight: normal; | ||
+ | margin-bottom: 0; | ||
+ | } | ||
+ | .toctoggle { | ||
+ | float: right; | ||
+ | } | ||
+ | .toc ul { list-style-type: none; } |
Revision as of 03:46, 9 October 2017
/* CSS placed here will affect users of the Vector skin */ /* background colors of mediawiki tables */ table.mw_metadata td, table.mw_metadata th, table.wikitable, table.wikitable>*>th, table.wikitable>*>td, pre { background-color: #f2f2f2; } /* Table of Contents */ .toc { border: 1px solid #e7e7e7; margin: 15px 20px; border-radius: 4px; border-width: 0 1px 4px 1px; padding: 0 !important; } .toc ul { padding-left: 1.3em !important; padding-right: 0.3em !important; } #toctitle { padding: 10px 15px; border-bottom: 1px solid transparent; border-top-right-radius: 3px; border-top-left-radius: 3px; } #toctitle h2 { display: inline; font-size: 14px !important; font-weight: normal; margin-bottom: 0; } .toctoggle { float: right; } .toc ul { list-style-type: none; }