Line 1: |
Line 1: |
− | /* CSS placed here will affect users of the mobile site */ | + | /* Box at the top of the main page layout */ |
− | .AOW { | + | .icannwiki-top-box { |
− | background:#466f81;
| + | display: grid; |
− | color:#FFF;
| + | grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); |
− | padding:.2em 0 .2em .4em;
| + | gap: 4px; |
− | font-style:bold;
| + | background-color: #61a376; |
− | font-size:1.5em;
| + | border-radius: 4px; |
− | }
| + | margin-bottom: 4px; |
− | .WelcomeBox {
| + | padding: 4px; |
− | height:8em;
| |
− | width:100%;
| |
− | background:#d8dfe8;
| |
− | }
| |
− | .MissingLinks {
| |
− | background-color: #f6f6f6;
| |
− | border: 2px solid #466f81;
| |
− | width: 100%;
| |
− | }
| |
− | .PrimerICW {
| |
− | width:100%;
| |
− | background-color:whitesmoke;
| |
− | float:left;
| |
− | padding: 1em 1em 1em 1em;
| |
− | border: 2px solid gray;
| |
− | }
| |
− | .PrimerIM {
| |
− | width:100%;
| |
− | background-color:whitesmoke;
| |
− | float:right;
| |
− | padding: 1em 1em 1em 1em;
| |
− | border: 2px solid gray;
| |
− | }
| |
− | .ICANNBoardMobile {
| |
− | height:1px;
| |
− | width:1px;
| |
− | overflow:hidden;
| |
− | display:none;
| |
| } | | } |
| | | |
− | .MainPage { | + | /* Hides bullet points */ |
− | width:100%; | + | .icannwiki-top-box ul { |
| + | list-style: none; |
| + | list-style-type: none; |
| } | | } |
| | | |
− | #AOWBox {
| + | /* List stylings */ |
− | border:1px solid #bcd7c4;
| + | .icannwiki-top-box ul li { |
− | margin: 0 0 .5em 0;
| + | font-size: 100%; |
| + | margin-bottom: 2px; /* Adjusts the spacing between list items */ |
| } | | } |
| | | |
− | .MainPageHeader { | + | .icannwiki-top-box a { |
− | background:#4c9662;
| + | color: white; |
− | height:20px;
| + | font-weight: bold; |
− | font-family:sans-serif;
| + | text-decoration: none; |
− | font-size:120%;
| |
− | font-weight:bold;
| |
− | border:2px solid #0d8323;
| |
− | text-align:left;
| |
− | color:#FFF;
| |
− | margin:.25em .25em .25em .25em;
| |
− | padding:.25em .25em.25em .25em;
| |
| } | | } |
| | | |
− | #FeaturedVideo {
| + | .icannwiki-top-box a:hover { |
− | height:280px;
| + | color: #68d62c; |
− | width:62%;
| + | text-decoration: none; |
− | border:1px solid #bcd7c4;
| |
− | margin:0 .15em .5em 0;
| |
− | float:left;
| |
− | background:white;
| |
− | clear:both;
| |
| } | | } |
| | | |
− | #News { | + | /* Header for featured article, news, about us, and so on */ |
− | height:225px;
| + | .icannwiki-section-header { |
− | width:100%;
| + | background: #62a376; |
− | border:1px solid #bcd7c4;
| + | font-family: sans-serif; |
− | margin-bottom:.5em;
| + | font-weight: bold; |
− | background:white;
| + | text-align: left; |
− | float:left;
| + | color: #ebfcef; |
| + | height: 1.5em; |
| + | padding: .5em; |
| + | border-radius: 5px; |
| } | | } |
| | | |
− | #Welcome {
| + | /* Colored bounding box */ |
− | float:left;
| + | .icannwiki-colored-box { |
− | width:100%;
| + | background: #f1f6f3; |
− | text-align: center;
| + | padding-left: 1%; |
− | }
| + | padding-right: 1%; |
− | #topbar {
| + | text-align: left; |
− | 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 */
| |
− | width:100%;
| |
− | 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;
| |
− | }
| |
− | .button {
| |
− | border-right:.2vw solid #587560; | |
− | color:white;
| |
− | font-weight:bold;
| |
− | font-size:1.8vw;
| |
− | padding:0 .5vw; | |
− | display:flex;
| |
− | flex-direction:column;
| |
− | width:11.5vw;
| |
− | height:3vw;
| |
− | text-align:center;
| |
− | float:left;
| |
− | text-shadow:1px 1px black;
| |
− | }
| |
− | .button2 {
| |
− | color:white;
| |
− | font-weight:bold;
| |
− | font-size:1.8vw;
| |
− | padding:0 .5vw;
| |
− | display:flex;
| |
− | flex-direction:column;
| |
− | width:11vw;
| |
− | height:3vw;
| |
− | text-align:center;
| |
− | float:left;
| |
− | text-shadow:1px 1px black;
| |
− | }
| |
− | #navbar {
| |
− | background:#E95F26;
| |
− | border:.2vw solid #587560;
| |
− | height:6vw;
| |
− | display:flex;
| |
− | flex-direction:column;
| |
− |
| |
− | }
| |
− | .sectionheader{
| |
− | background:#098280;
| |
− | width:100%;
| |
− | color:white;
| |
− | font-size:4vw;
| |
− | text-align:center;
| |
− | text-shadow:1px 1px black;
| |
− | font-weight:bold;
| |
− | min-height:30px;
| |
− | border-radius:0px;
| |
− | display:flex;
| |
− | align-items:left;
| |
− | padding:10px 0 0 10px;
| |
− | }
| |
− | .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:1px 1px black;
| |
− | font-weight:bold;
| |
− | min-height:30px;
| |
− | border-radius:0px;
| |
− | display:flex;
| |
− | align-items:left;
| |
− | padding:10px 0 0 10px;
| |
− | }
| |
− | .primertextbox{
| |
− | background-color:gray;
| |
− | color:white;
| |
− | padding:25px 15px 15px 15px;
| |
− | position:relative;
| |
− | bottom:.4vw;
| |
− | font-size:30px;
| |
− | }
| |
− | #topbar {
| |
− | 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 */
| |
− | background: -webkit-gradient(#098280, #E95F26); /* Old Webkit */
| |
− | width:100%;
| |
− | 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:1vw;
| |
− | }
| |
− | .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.7vw;
| |
− | height:3vw;
| |
− | text-align:center;
| |
− | float:left;
| |
− | text-shadow:.1vw .1vw black;
| |
| | | |
− | }
| + | /* Separator */ |
− | .navbutton2 {
| + | .icannwiki-clearfix { |
− | color:white;
| + | clear: both; |
− | font-weight:bold;
| |
− | font-size:1.6vw;
| |
− | padding:0 .5vw;
| |
− | display:flex;
| |
− | flex-direction:column;
| |
− | width:12.6vw;
| |
− | 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: left;
| |
− | -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: left;
| |
− | }
| |
− | /* @noflip */ | |
− | .mw-content-rtl .mw-collapsible-toggle, | |
− | .mw-content-ltr .mw-content-rtl .mw-collapsible-toggle {
| |
− | float: left;
| |
| } | | } |
| | | |
− | .mw-customtoggle, | + | /* Main page content box: left */ |
− | .mw-collapsible-toggle {
| + | .icannwiki-half-width-left { |
− | cursor: pointer;
| + | display: inline; |
| } | | } |
| | | |
− | /* collapse links in captions should be inline */ | + | /* Mobile-only rule for sponsors display */ |
− | caption .mw-collapsible-toggle,
| + | .icannwiki-mobile-sponsors{ |
− | .mw-content-ltr caption .mw-collapsible-toggle,
| + | width:25%; |
− | .mw-content-rtl caption .mw-collapsible-toggle,
| + | height: auto; |
− | .mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle,
| |
− | .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle {
| |
− | float: left;
| |
| } | | } |
| | | |
− | /* list-items go as wide as their parent element, don't float them inside list items */ | + | /* Main page content box: right */ |
− | li .mw-collapsible-toggle,
| + | .icannwiki-half-width-right { |
− | .mw-content-ltr li .mw-collapsible-toggle,
| + | display: inline; |
− | .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: left;
| |
| } | | } |
| | | |
− | /* the added list item should have no list-style */ | + | /* Justified text */ |
− | .mw-collapsible-toggle-li { | + | .icannwiki-justified { |
− | list-style: left;
| + | text-align: justify; |
| } | | } |
| | | |
− | #AcronymList{
| + | /* Highlighted text */ |
− | background: -moz-linear-gradient(#098280, #E95F26);/* For Firefox 3.6 to 15 */
| + | .icannwiki-highlight { |
− | background: #098280; /* For browsers that do not support gradients */
| + | color: #61a376; |
− | background: -webkit-linear-gradient(#098280, #E95F26); /* For Safari 5.1 to 6.0 */
| + | font-weight: bold; |
− | background: -o-linear-gradient(#098280, #E95F26); /* For Opera 11.1 to 12.0 */
| |
− | background: linear-gradient(#098280, #E95F26); /* Standard syntax */
| |
− | background: -webkit-gradient(#098280, #E95F26); /* Old Webkit */
| |
− | 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 */
| |
− | background: -webkit-gradient(#098280, #E95F26); /* Old Webkit */
| |
− | max-width:85vw;
| |
− | font-size:1vw; | |
− | color:white;
| |
− | min-height:130px;
| |
− | padding:.5vw;
| |
− | }
| |
− | #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{
| + | /* Font with darker shade of greenish white */ |
− | background-color:transparent;
| + | .icannwiki-text-white { |
− | font-size:2.4vw;
| + | color: #ebfcef; |
− | 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,
| + | /* Larger text */ |
− | .AcronymButton:after {
| + | .icannwiki-font-large { |
− | content: '';
| + | font-size: 125%; |
− | position: absolute;
| |
− | top: 0.67em;
| |
− | left: 0;
| |
− | width: 100%;
| |
− | text-align: center;
| |
− | opacity: 0;
| |
− | -webkit-transition: .4s,opacity .6s;
| |
− | -moz-transition: .4s,opacity .6s;
| |
− | -o-transition: .4s,opacity .6s;
| |
− | transition: .4s,opacity .6s;
| |
− | }
| |
− | .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,
| |
− | .AcronymButton:active span {
| |
− | font-size:1vw; | |
− | 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);
| |
− | }
| |
− | | |
− | /*
| |
− | We show :before pseudo-element on :hover
| |
− | and :after pseudo-element on :active
| |
− | */
| |
− | | |
− | .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;
| |
− | }
| |
− | | |
− | /*
| |
− | We hide :before pseudo-element on :active
| |
− | */
| |
− | | |
− | .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 {
| |
− | height:8vw;
| |
− | width:56.63vw;
| |
− | }
| |
− | .primerbreak{
| |
− | width:100%;
| |
− | height:0;
| |
− | background-color:transparent;
| |
− | }
| |
− | .mobilefont{
| |
− | size:1em;
| |
| } | | } |