Line 1: |
Line 1: |
| + | /* Border for === Level 3 headers === */ |
| + | h3 { |
| + | border-bottom: 1px dashed #aaa; |
| + | } |
| + | /* Except for one in top menu */ |
| + | h3#p-cactions-label { |
| + | border-bottom: none; |
| + | } |
| + | |
| + | /* Main Page columns style */ |
| + | div.m_left { |
| + | float:left; |
| + | width: 33%; |
| + | } |
| + | div.m_center { |
| + | float:left; |
| + | width: 33%; |
| + | margin-left: 0.5%; |
| + | } |
| + | div.m_right { |
| + | float:right; |
| + | width: 33%; |
| + | } |
| + | |
| + | /* Nice touch for TOCs */ |
| + | #toc, |
| + | .toc { |
| + | background: #f9f9f9 url('/images/criu-logo-bg-trans.png') no-repeat bottom right; |
| + | } |
| | | |
| /* For MediaWiki:Edittools 'insert chars' to look like buttons. | | /* For MediaWiki:Edittools 'insert chars' to look like buttons. |
Line 43: |
Line 72: |
| color: black; | | color: black; |
| margin-bottom: 0.5em; | | margin-bottom: 0.5em; |
− | margin-left: 1em; | + | margin-left: 0.5em; |
| + | margin-right: 0.5em; |
| padding: 0px; | | padding: 0px; |
| float: right; | | float: right; |
Line 94: |
Line 124: |
| font-size: 90%; | | font-size: 90%; |
| } | | } |
− |
| |
| | | |
| // From http://www.mediawiki.org/wiki/Manual:Collapsible_elements | | // From http://www.mediawiki.org/wiki/Manual:Collapsible_elements |
Line 109: |
Line 138: |
| } | | } |
| | | |
− | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | + | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ |
− | float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | + | float: left; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ |
− | font-weight: normal; /* are styled here so they can be customised. */ | + | font-weight: normal; /* are styled here so they can be customized. */ |
| text-align: right; | | text-align: right; |
− | width: auto; | + | width: 6em; |
| + | } |
| + | |
| + | // This stuff is for [[Template:News block 2]] |
| + | |
| + | .plainlinksneverexpand { |
| + | background: none ! important; |
| + | padding: 0 ! important; |
| + | } |
| + | |
| + | .plainlinksneverexpand .urlexpansion { |
| + | display: none ! important; |
| + | } |
| + | |
| + | /* Make sure that ext links displayed within "plainlinksneverexpand" don't get |
| + | the arrow... |
| + | */ |
| + | .plainlinksneverexpand a { |
| + | background: none !important; |
| + | padding: 0 !important; |
| + | } |
| + | |
| + | .plainlinksneverexpand a.external.text:after { |
| + | display: none !important; |
| + | } |
| + | .plainlinksneverexpand a.external.autonumber:after { |
| + | display: none !important; |
| + | } |
| + | |
| + | .feed { |
| + | font-weight: normal; |
| + | font-size: small; |
| + | vertical-align: text-bottom; |
| + | } |
| + | |
| + | /* Allow limiting of which header levels are shown in a TOC; |
| + | <div class="toclimit-3">, for instance, will limit to |
| + | showing ==headings== and ===headings=== but no further |
| + | (as long as there are no =headings= on the page, which |
| + | there shouldn't be according to the MoS). */ |
| + | .toclimit-2 .toclevel-1 ul, |
| + | .toclimit-3 .toclevel-2 ul, |
| + | .toclimit-4 .toclevel-3 ul, |
| + | .toclimit-5 .toclevel-4 ul, |
| + | .toclimit-6 .toclevel-5 ul, |
| + | .toclimit-7 .toclevel-6 ul { |
| + | display: none; |
| + | } |
| + | |
| + | /* Allow to disable numbering for TOC */ |
| + | .noautonum .tocnumber { display: none; } |
| + | |
| + | /* CSS background highlight */ |
| + | span.mw-headline { |
| + | text-shadow: none; |
| + | } |
| + | span.mw-headline:target { |
| + | text-shadow: 0px 0px 2px #fbff0f; |
| + | animation: hilite-background 5s; |
| + | } |
| + | @keyframes hilite-background { |
| + | 0% {text-shadow: none;} |
| + | 15% {text-shadow: 0px 0px 20px #fbff0f;} |
| + | 30% {text-shadow: 0px 0px 2px #fbff0f;} |
| + | 45% {text-shadow: 0px 0px 20px #fbff0f;} |
| + | 100% {text-shadow: 0px 0px 2px #fbff0f;} |
| } | | } |