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 {
| |
− | border-spacing: 0;
| |
− | border: 1px solid #28903b;
| |
− | display: inline-block !important;
| |
− | }
| |
| | | |
− | .IW_BigGreenIconBox td {
| + | /* Navigation panel to the left */ |
− | text-align: center; | + | #mw-panel a { |
− | width: 85px;
| + | font-size: 1.10em; |
| } | | } |
| | | |
− | .IW_BigGreenIconBox td img {
| + | #mw-panel a:hover { |
− | margin: -2px; | + | color: #62a376; |
| + | text-decoration: none; |
| } | | } |
| | | |
− | .IW_MissionAndSponsorsBox { | + | /* Box at the top of the main page layout */ |
− | float: right;
| + | .icannwiki-top-box { |
− | border: 1px solid #c0c0c0;
| + | display: grid; |
− | border-bottom: 1px solid #c0c0c0;
| + | grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); |
− | width: 375px;
| + | gap: 4px; |
− | margin-left: 20px;
| + | background-color: #61a376; |
− | background-color: #FFF;
| + | background-image: url('images/b/bd/ICANNWiki-Background-2024-A.svg'); |
| + | background-size: cover; |
| + | border-radius: 4px; |
| + | margin-bottom: 4px; |
| + | padding: 4px; |
| } | | } |
| | | |
− | .IW_MissionAndSponsorsBox .MissionStatement { | + | /* Hides bullet points */ |
− | color: #000;
| + | .icannwiki-top-box ul { |
− | background-color: #f6f6f6;
| + | list-style: none; |
− | padding: 5px 10px;
| + | list-style-type: none; |
− | border: 1px solid #0d8323;
| |
− | text-align:center;
| |
| } | | } |
| | | |
− | .IW_MissionAndSponsorsBox .Sponsors { | + | /* Changes bullet points to a Unicode character */ |
− | margin: 0;
| + | .icannwiki-top-box ul li:before { |
− | font-family: sans-serif;
| + | background-image: url('/images/8/82/1F4CE.png'); |
− | font-size: 12px;
| + | background-size: 32px 32px; |
− | text-align: left;
| + | display: inline-block; |
− | padding: 20px 0px 20px 15px;
| + | vertical-align: middle; |
| + | width: 32px; |
| + | height: 32px; |
| + | content:""; |
| } | | } |
| | | |
− | .IW_MissionAndSponsorsBox .Sponsors .Title { | + | /* List stylings */ |
− | font-size: 20px;
| + | .icannwiki-top-box ul li { |
− | font-weight: bold;
| + | font-size: 1.0em; |
| + | margin-bottom: 4px; /* Adjusts the spacing between list items */ |
| } | | } |
| | | |
− | .IW_MissionAndSponsorsBox .Sponsors .AskButton { | + | .icannwiki-top-box a { |
− | width: 300px;
| + | color: white; |
− | margin: 25px auto;
| + | font-weight: bold; |
− | padding-bottom: 0px;
| + | text-decoration: none; |
| } | | } |
| | | |
− | .gTLD_InfoBox { | + | .icannwiki-top-box a:hover { |
− | background-color: #f6f6f6;
| + | color: #68d62c; |
− | border: 2px solid #466f81;
| + | text-decoration: none; |
− | padding: 10px;
| |
− | margin-bottom: 15px;
| |
− | width: 100%;
| |
− | height: 150px;
| |
− | }
| |
− | | |
− | .gTLD_InfoBox .Dimensions {
| |
− | width: 200px;
| |
− | height: 125px;
| |
− | float: left;
| |
− | margin: 0px 20px 0 0;
| |
− | border-right: 1px solid #bdbdbd;
| |
− | }
| |
− | .gTLD_Info {
| |
− | background-color: #f6f6f6;
| |
− | border: 2px solid #466f81;
| |
− | padding: 10px;
| |
− | margin: 2em 0 2em 0;
| |
− | width: 100%;
| |
− | height: 150px;
| |
− | }
| |
− | .AOW {
| |
− | background:#466f81;
| |
− | font-family:sans-serif;
| |
− | font-size:120%;
| |
− | font-weight:bold;
| |
− | border:2px solid #0d8323;
| |
− | text-align:left;
| |
− | color:#FFF;
| |
− | padding-left:0.4em;
| |
− | padding-top:0.2em;
| |
− | padding-bottom:0.2em;
| |
− | }
| |
− | .WelcomeBox {
| |
− | float:left;
| |
− | height:8em;
| |
− | width:50%;
| |
− | background:#d8dfe8;
| |
− | padding:0 -1em 0 0;
| |
− | margin:0 0 1em 0;
| |
− | display:inline-block;
| |
− | }
| |
− | .WelcomeBox .Message {
| |
− | background:#d8dfe8;
| |
− | align:center;
| |
− | }
| |
− | .MissingLinks {
| |
− | display:none;
| |
− | }
| |
− | .CommunityPortalHeader {
| |
− | width:100%;
| |
− | height:50px;
| |
− | background:#d8dfe8;
| |
− | margin:1.2em 0 6px 0;
| |
− | border:1px solid #ddd;
| |
− | text-align: center;
| |
− | font-size: 1.7em;
| |
− | }
| |
− | .WritingCommunityBox {
| |
− | width:50%;
| |
− | float:left;
| |
− | padding:0 .5em 0 0;
| |
− | }
| |
− | .WritingCommunityBox .RowStyle {
| |
− | width: 100%;
| |
− | padding:0em .1em 0em .1em;
| |
− | border-bottom:1px solid #0d8323;
| |
− | background: whitesmoke;
| |
− | }
| |
− | .WritingCommunityBox .ColumnStyle {
| |
− | background:#0d8323;
| |
− | font-family:sans-serif;
| |
− | font-size:120%;
| |
− | font-weight:bold;
| |
− | border:2px solid #466f81;
| |
− | text-align:left;
| |
− | color:#FFF;
| |
− | padding: 0 0 0 .65em;
| |
− | }
| |
− | .PrimerICW {
| |
− | width:46%;
| |
− | background-color:whitesmoke;
| |
− | float:left;
| |
− | display:inline-block;
| |
− | height:180px;
| |
− | padding: 1em 1em 1em 1em;
| |
− | border: 2px solid gray;
| |
− | }
| |
− | .PrimerIM {
| |
− | width:46%;
| |
− | background-color:whitesmoke;
| |
− | float:right;
| |
− | display:inline-block;
| |
− | height:180px;
| |
− | padding: 1em 1em 1em 1em;
| |
− | border: 2px solid gray;
| |
− | }
| |
− | .ICANNBoard {
| |
− | display: none;
| |
− | }
| |
− | .ICANNBoardMembers {
| |
− | height:230px;
| |
− | width:50%;
| |
− | display:inline-block;
| |
− | padding:1em 1em 1em 1em;
| |
− | float:left;
| |
− | overflow:auto;
| |
− | }
| |
− | .Editathon {
| |
− | background:#339933;
| |
− | font-family:sans-serif;
| |
− | font-size:120%;
| |
− | font-weight:bold;
| |
− | border:2px solid #ffa500;
| |
− | text-align:left;
| |
− | color:#FFF;
| |
− | padding-left:0.4em;
| |
− | padding-top:0.2em;
| |
− | padding-bottom:0.2em;
| |
| } | | } |
| | | |
− | .MainPage { | + | /* Header for featured article, news, about us, and so on */ |
− | width:70%;
| + | .icannwiki-section-header { |
− | float:left;
| + | background: #62a376; |
− | display:inline-block;
| + | font-family: sans-serif; |
| + | font-weight: bold; |
| + | text-align: left; |
| + | color: #ebfcef; |
| + | height: 1.5em; |
| + | padding: .5em; |
| + | border-radius: 5px; |
| } | | } |
| | | |
− | #AOWBox {
| + | /* Colored bounding box with bigger text */ |
− | display:flex;
| + | .icannwiki-colored-box { |
− | flex-direction:column;
| + | background: #f1f6f3; |
− | width:99.7%;
| + | padding-left: 1%; |
− | border:1px solid #bcd7c4;
| + | padding-right: 1%; |
− | margin-bottom:.5em;
| + | font-size: 1.05em; |
− | float:left;
| |
− | background:white;
| |
| } | | } |
| | | |
− | .MainPageHeader { | + | /* Separator */ |
− | background:#4c9662;
| + | .icannwiki-clearfix { |
− | font-family:sans-serif;
| + | clear: both; |
− | font-size:120%;
| |
− | font-weight:bold;
| |
− | border:2px solid #0d8323;
| |
− | text-align:left;
| |
− | color:#FFF;
| |
− | height: 20px;
| |
− | margin:.25em .25em .25em .25em;
| |
− | padding:.25em .25em .25em .25em;
| |
| } | | } |
| | | |
− | #FeaturedVideo {
| + | /* Main page content box: left */ |
− | height:280px;
| + | .icannwiki-half-width-left { |
− | width:62%;
| + | width: 49%; |
− | border:1px solid #bcd7c4;
| + | float: left; |
− | margin:0 0em 0em 0;
| |
− | display:inline-block;
| |
− | background:white;
| |
| } | | } |
| | | |
− | #Acronym {
| + | /* Main page content box: right */ |
− | height:280px;
| + | .icannwiki-half-width-right { |
− | width:36.5%;
| + | width: 49%; |
− | border:1px solid #bcd7c4;
| + | float: right; |
− | margin:0 0 .5em 0;
| |
− | float:right;
| |
− | background:white;
| |
− | padding:0 0em 0 0;
| |
| } | | } |
| | | |
− | #AcronymArchive {
| + | /* Warning template */ |
− | height:280px;
| + | .icannwiki-warning { |
− | border:1px solid #bcd7c4;
| + | display: flex; |
− | margin:0 0 .5em 0;
| + | justify-content: center; |
− | float:left;
| + | align-items: center; |
− | background:white;
| + | text-align: center; |
− | padding:0 0em 0 0;
| + | height: auto; |
| + | width: 60%; |
| + | margin: 0 auto; |
| + | padding: 10px; |
| + | background-color: #FFFDF4; |
| + | border: 2px solid #d48900; |
| + | border-left: 16px solid #d48900; |
| } | | } |
| | | |
− | #News {
| + | .icannwiki-warning a { |
− | height:225px;
| + | font-weight: bold; |
− | width:100%;
| + | color: #d48900; |
− | border:1px solid #bcd7c4;
| |
− | margin-bottom:.5em;
| |
− | background:white;
| |
| } | | } |
| | | |
− | #Welcome {
| + | /* Signaling template */ |
− | float:left;
| + | .icannwiki-signal { |
− | width:35%;
| + | display: flex; |
− | text-align: center;
| + | justify-content: center; |
− | }
| + | align-items: center; |
− | | + | text-align: center; |
− | #topbar {
| + | height: auto; |
− | background: -moz-linear-gradient(#098280, #E95F26);/* For Firefox 3.6 to 15 */
| + | width: 60%; |
− | background: #098280; /* For browsers that do not support gradients */
| + | margin: 0 auto; |
− | background: -webkit-linear-gradient(#098280, #E95F26); /* For Safari 5.1 to 6.0 */
| + | padding: 10px; |
− | background: -o-linear-gradient(#098280, #E95F26); /* For Opera 11.1 to 12.0 */ | + | background-color: #f4fcff; |
− | background: linear-gradient(#098280, #E95F26); /* Standard syntax */ | + | border: 2px solid #0092D4; |
− | width:100%;
| + | border-left: 16px solid #0092D4; |
− | color:white; | |
− | font-size:4vw;
| |
− | text-align:center; | |
− | text-shadow:2px 2px black; | |
− | font-weight:bold;
| |
− | min-height:130px;
| |
− | display:flex;
| |
− | align-items:center;
| |
− | }
| |
− | #body {
| |
− | width:100%; | |
− | margin:0 auto;
| |
− | }
| |
− | .fixed {
| |
− | margin:0 auto; | |
− | vertical-align:baseline; | |
− | }
| |
− | .flexbox{
| |
− | display:flex; | |
− | flex-direction:column;
| |
− | margin: 15px 15px;
| |
− | font-size:1.3vw;
| |
− | }
| |
− | .navbutton {
| |
− | border-right:.1vw solid #587560;
| |
− | color:white;
| |
− | font-weight:bold;
| |
− | font-size:1.6vw;
| |
− | padding:0 .5vw;
| |
− | display:flex;
| |
− | flex-direction:column;
| |
− | width:12.5vw;
| |
− | height:3vw;
| |
− | text-align:center;
| |
− | float:left;
| |
− | text-shadow:.1vw .1vw black;
| |
− | | |
− | }
| |
− | .navbutton2 {
| |
− | color:white;
| |
− | font-weight:bold;
| |
− | font-size:1.6vw;
| |
− | padding:0 .5vw;
| |
− | display:flex;
| |
− | flex-direction:column;
| |
− | width:11vw;
| |
− | height:3vw;
| |
− | text-align:center;
| |
− | float:left;
| |
− | text-shadow:.1vw .1vw black;
| |
− | }
| |
− | #navbar {
| |
− | background:#E95F26;
| |
− | border:.1vw solid #587560;
| |
− | height:3vw;
| |
− | display:flex;
| |
− | flex-direction:column;
| |
− | }
| |
− | .sectionheader{
| |
− | background:#098280;
| |
− | width:100%;
| |
− | color:white;
| |
− | font-size:4vw;
| |
− | text-align:center;
| |
− | text-shadow:.075vw .075vw black;
| |
− | font-weight:bold;
| |
− | min-height:3.5vw;
| |
− | border-radius:25px; | |
− | display:flex;
| |
− | align-items:left;
| |
− | }
| |
− | .primerlogo {
| |
− | width:auto;
| |
− | max-width:13vw;
| |
− | height:auto;
| |
− | max-height:13vw;
| |
− | margin:0 0 2vw 3vw;
| |
− | }
| |
− | .camel {
| |
− | width: auto;
| |
− | max-width: 16vw;
| |
− | height: auto;
| |
− | max-height: 11vw;
| |
− | width: auto;
| |
− | position:relative;
| |
− | top:1vw;
| |
− | }
| |
− | .editathonTall {
| |
− | width:auto;
| |
− | max-width:13vw;
| |
− | height:auto;
| |
− | max-height:30vw;
| |
− | padding:0 0 0 0;
| |
− | }
| |
− | #editathonsection {
| |
− | font-size:1.3vw;
| |
− | text-align:left;
| |
− | display:flex;
| |
− | align-items:center;
| |
− | }
| |
− | .sectionheader2{
| |
− | background:#52A7A6;
| |
− | width:100%;
| |
− | color:white;
| |
− | font-size:2vw;
| |
− | text-align:center;
| |
− | text-shadow:.075vw .075vw black;
| |
− | font-weight:bold;
| |
− | min-height:3vw;
| |
− | display:flex;
| |
− | align-items:left;
| |
− | padding:1vw 0 0 1vw;
| |
− | }
| |
− | .primertextbox{
| |
− | background-color:gray;
| |
− | color:white;
| |
− | padding:25px 15px 15px 15px;
| |
− | position:relative;
| |
− | bottom:.4vw;
| |
− | font-size:1.3vw;
| |
− | }
| |
− | .venuemap{
| |
− | max-width:100%;
| |
− | }
| |
− | .faditribute{
| |
− | height:10vw;
| |
− | }
| |
− | .mw-collapsible-toggle {
| |
− | float: right;
| |
− | -moz-user-select: none;
| |
− | -webkit-user-select: none;
| |
− | -ms-user-select: none;
| |
− | user-select: none;
| |
− | }
| |
− | /* Align the toggle based on the direction of the content language */
| |
− | /* @noflip */
| |
− | .mw-content-ltr .mw-collapsible-toggle,
| |
− | .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
| |
− | float: right;
| |
− | }
| |
− | /* @noflip */
| |
− | .mw-content-rtl .mw-collapsible-toggle,
| |
− | .mw-content-ltr .mw-content-rtl .mw-collapsible-toggle {
| |
− | float: left;
| |
− | }
| |
− | | |
− | .mw-customtoggle,
| |
− | .mw-collapsible-toggle {
| |
− | cursor: pointer;
| |
− | }
| |
− | | |
− | /* collapse links in captions should be inline */
| |
− | caption .mw-collapsible-toggle,
| |
− | .mw-content-ltr caption .mw-collapsible-toggle,
| |
− | .mw-content-rtl caption .mw-collapsible-toggle,
| |
− | .mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle,
| |
− | .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle {
| |
− | float: none;
| |
− | }
| |
− | | |
− | /* list-items go as wide as their parent element, don't float them inside list items */
| |
− | li .mw-collapsible-toggle,
| |
− | .mw-content-ltr li .mw-collapsible-toggle,
| |
− | .mw-content-rtl li .mw-collapsible-toggle,
| |
− | .mw-content-rtl .mw-content-ltr li .mw-collapsible-toggle,
| |
− | .mw-content-ltr .mw-content-rtl li .mw-collapsible-toggle {
| |
− | float: none;
| |
| } | | } |
| | | |
− | /* the added list item should have no list-style */
| + | .icannwiki-signal a { |
− | .mw-collapsible-toggle-li { | + | font-weight: bold; |
− | list-style: none;
| + | color: #0092D4; |
| } | | } |
| | | |
− | #AcronymList{
| + | /* Danger template */ |
− | background: -moz-linear-gradient(#098280, #E95F26);/* For Firefox 3.6 to 15 */
| + | .icannwiki-danger { |
− | background: #098280; /* For browsers that do not support gradients */
| + | display: flex; |
− | background: -webkit-linear-gradient(#098280, #E95F26); /* For Safari 5.1 to 6.0 */
| + | justify-content: center; |
− | background: -o-linear-gradient(#098280, #E95F26); /* For Opera 11.1 to 12.0 */
| + | align-items: center; |
− | background: linear-gradient(#098280, #E95F26); /* Standard syntax */ | |
− | max-width:85vw;
| |
− | font-size:5vw; | |
− | text-align:center;
| |
− | font-weight:bold; | |
− | min-height:130px;
| |
− | }
| |
− | #fadifarewell{
| |
− | background: -moz-linear-gradient(#098280, #E95F26);/* For Firefox 3.6 to 15 */
| |
− | background: #098280; /* For browsers that do not support gradients */
| |
− | background: -webkit-linear-gradient(#098280, #E95F26); /* For Safari 5.1 to 6.0 */
| |
− | background: -o-linear-gradient(#098280, #E95F26); /* For Opera 11.1 to 12.0 */
| |
− | background: linear-gradient(#098280, #E95F26); /* Standard syntax */
| |
− | max-width:85vw;
| |
− | font-size:1vw;
| |
− | color:white;
| |
− | min-height:130px;
| |
− | padding:2vw;
| |
− | }
| |
− | #abc{
| |
− | width:85vw;
| |
− | color:white;
| |
− | font-size:5vw;
| |
− | text-align:center;
| |
− | text-shadow:.2vw .2vw black;
| |
− | font-weight:bold;
| |
− | min-height:13vw;
| |
− | border-radius:0;
| |
− | }
| |
− | | |
− | .AcronymButton{
| |
− | background-color:transparent;
| |
− | font-size:2.4vw;
| |
− | width:12vw;
| |
− | height:7.7vw;
| |
− | padding:.5vw .5vw;
| |
− | display: inline-block;
| |
− | position: relative;
| |
− | border: .2vw solid #FFF;
| |
− | overflow: hidden;
| |
− | text-decoration: none;
| |
− | text-align:center;
| |
− | color: #FFF;
| |
− | font-family: 'raleway', sans-serif;
| |
− | box-shadow: .1vw .1vw .1vw gray;
| |
− | }
| |
− | .AcronymButton span {
| |
− | -webkit-transition: 0.6s;
| |
− | -moz-transition: 0.6s;
| |
− | -o-transition: 0.6s;
| |
− | transition: 0.6s;
| |
− | -webkit-transition-delay: 0.2s;
| |
− | -moz-transition-delay: 0.2s;
| |
− | -o-transition-delay: 0.2s;
| |
− | transition-delay: 0.2s;
| |
− | }
| |
− | | |
− | .AcronymButton:before,
| |
− | .AcronymButton:after {
| |
− | content: '';
| |
− | position: absolute;
| |
− | top: 0.67em;
| |
− | left: 0;
| |
− | width: 100%;
| |
| text-align: center; | | text-align: center; |
− | opacity: 0; | + | height: auto; |
− | -webkit-transition: .4s,opacity .6s; | + | width: 60%; |
− | -moz-transition: .4s,opacity .6s; | + | margin: 0 auto; |
− | -o-transition: .4s,opacity .6s; | + | padding: 10px; |
− | transition: .4s,opacity .6s; | + | background-color: #fff4f4; |
| + | border: 2px solid #D40000; |
| + | border-left: 16px solid #D40000 |
| } | | } |
− | .AcronymButton:before {
| |
− | content: attr(data-hover);
| |
− | font-size:1vw;
| |
− | -webkit-transform: translate(-150%,0);
| |
− | -moz-transform: translate(-150%,0);
| |
− | -ms-transform: translate(-150%,0);
| |
− | -o-transform: translate(-150%,0);
| |
− | transform: translate(-150%,0);
| |
− | }
| |
− |
| |
− | /* :after */
| |
− |
| |
− | .AcronymButton:after {
| |
− | content: attr(data-active);
| |
− | -webkit-transform: translate(150%,0);
| |
− | -moz-transform: translate(150%,0);
| |
− | -ms-transform: translate(150%,0);
| |
− | -o-transform: translate(150%,0);
| |
− | transform: translate(150%,0);
| |
− | }
| |
− |
| |
− | /* Span on :hover and :active */
| |
| | | |
− | .AcronymButton:hover span, | + | .icannwiki-danger a { |
− | .AcronymButton:active span {
| + | font-weight: bold; |
− | font-size:1vw; | + | color: #D40000; |
− | opacity: 0;
| |
− | -webkit-transform: scale(0.3);
| |
− | -moz-transform: scale(0.3);
| |
− | -ms-transform: scale(0.3);
| |
− | -o-transform: scale(0.3);
| |
− | transform: scale(0.3); | |
| } | | } |
| | | |
− | /* | + | /* Justified text */ |
− | We show :before pseudo-element on :hover
| + | .icannwiki-justified { |
− | and :after pseudo-element on :active
| + | text-align: justify; |
− | */ | |
− | | |
− | .AcronymButton:hover:before, | |
− | .AcronymButton:active:after {
| |
− | opacity: 1; | |
− | -webkit-transform: translate(0,0);
| |
− | -moz-transform: translate(0,0);
| |
− | -ms-transform: translate(0,0);
| |
− | -o-transform: translate(0,0);
| |
− | transform: translate(0,0);
| |
− | -webkit-transition-delay: .4s;
| |
− | -moz-transition-delay: .4s;
| |
− | -o-transition-delay: .4s;
| |
− | transition-delay: .4s;
| |
| } | | } |
| | | |
− | /* | + | /* Font with darker shade of greenish white */ |
− | We hide :before pseudo-element on :active
| + | .icannwiki-text-white { |
− | */ | + | color: #ebfcef; |
− | | |
− | .AcronymButton:active:before { | |
− | -webkit-transform: translate(-150%,0);
| |
− | -moz-transform: translate(-150%,0);
| |
− | -ms-transform: translate(-150%,0);
| |
− | -o-transform: translate(-150%,0); | |
− | transform: translate(-150%,0);
| |
− | -webkit-transition-delay: 0s;
| |
− | -moz-transition-delay: 0s;
| |
− | -o-transition-delay: 0s;
| |
− | transition-delay: 0s;
| |
| } | | } |
| | | |
− | .fadiquote {
| + | /* Larger text */ |
− | height:9vw;
| + | .icannwiki-font-large { |
− | width:6vw;
| + | font-size: 1.25em; |
− | }
| |
− | .fadicaricature { | |
− | height:9vw;
| |
− | width:57.6vw;
| |
| } | | } |