Line 1: |
Line 1: |
| /* CSS placed here will be applied to all skins */ | | /* CSS placed here will be applied to all skins */ |
| | | |
− | /* No page name on main page (en) */ | + | /* Legacy code moved to MediaWiki:Common.css/Legacy */ |
− | body.page-Main_Page h1.firstHeading {
| |
− | display: none;
| |
− | }
| |
| | | |
− | .IW_BigGreenIconBox { | + | /* Box at the top of the main page layout */ |
− | border-spacing: 0px; | + | .icannwiki-top-box { |
− | border: 1px solid #28903b; | + | display: grid; |
| + | grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); |
| + | gap: 4px; |
| + | background-color: #61a376; |
| + | background-image: url('images/b/bd/ICANNWiki-Background-2024-A.svg'); |
| + | background-size: cover; |
| + | border-radius: 4px; |
| + | margin-bottom: 4px; |
| + | padding: 4px; |
| } | | } |
| | | |
− | .IW_BigGreenIconBox td { | + | /* Hides bullet points */ |
− | text-align: center;
| + | .icannwiki-top-box ul { |
− | width: 85px; | + | list-style: none; |
| + | list-style-type: none; |
| } | | } |
| | | |
− | .IW_BigGreenIconBox td img { | + | /* Changes bullet points to a Unicode character */ |
− | margin: -2px; | + | .icannwiki-top-box ul li:before { |
| + | background-image: url('/images/8/82/1F4CE.png'); |
| + | background-size: 32px 32px; |
| + | display: inline-block; |
| + | vertical-align: middle; |
| + | width: 32px; |
| + | height: 32px; |
| + | content:""; |
| + | } |
| + | |
| + | /* List stylings */ |
| + | .icannwiki-top-box ul li { |
| + | font-size: 110%; |
| + | margin-bottom: 4px; /* Adjusts the spacing between list items */ |
| + | } |
| + | |
| + | .icannwiki-top-box a { |
| + | color: white; |
| + | font-weight: bold; |
| + | text-decoration: none; |
| + | } |
| + | |
| + | .icannwiki-top-box a:hover { |
| + | color: #68d62c; |
| + | text-decoration: none; |
| + | } |
| + | |
| + | /* Header for featured article, news, about us, and so on */ |
| + | .icannwiki-section-header { |
| + | background: #62a376; |
| + | font-family: sans-serif; |
| + | font-weight: bold; |
| + | text-align: left; |
| + | color: #ebfcef; |
| + | height: 1.5em; |
| + | padding: .5em; |
| + | border-radius: 5px; |
| + | } |
| + | |
| + | /* Colored bounding box */ |
| + | .icannwiki-colored-box { |
| + | background: #f1f6f3; |
| + | padding-left: 1%; |
| + | padding-right: 1% |
| + | } |
| + | |
| + | /* Separator */ |
| + | .icannwiki-clearfix { |
| + | clear: both; |
| + | } |
| + | |
| + | /* Main page content box: left */ |
| + | .icannwiki-half-width-left { |
| + | width: 49%; |
| + | float: left; |
| + | } |
| + | |
| + | /* Main page content box: right */ |
| + | .icannwiki-half-width-right { |
| + | width: 49%; |
| + | float: right; |
| + | } |
| + | |
| + | /* Justified text */ |
| + | .icannwiki-justified { |
| + | text-align: justify; |
| + | } |
| + | |
| + | /* Highlighted text */ |
| + | .icannwiki-highlight { |
| + | color: #61a376; |
| + | font-weight: bold; |
| + | } |
| + | |
| + | /* Font with darker shade of greenish white */ |
| + | .icannwiki-text-white { |
| + | color: #ebfcef; |
| + | } |
| + | |
| + | /* Larger text */ |
| + | .icannwiki-font-large { |
| + | font-size: 125%; |
| } | | } |