Difference between revisions of "MediaWiki:Common.css"

From ICANNWiki
Jump to navigation Jump to search
 
(115 intermediate revisions by 3 users not shown)
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;
 
}
 
  
body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }
+
/* Box at the top of the main page layout */
 
+
.icannwiki-top-box {
.IW_BigGreenIconBox {
+
     display: grid;
    border-spacing: 0;
+
     grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    border: 1px solid #28903b;
+
    gap: 4px;
    display: inline-block !important;
+
    background-color: #61a376;
}
+
    background-image: url('');
 
+
    background-size: cover;
.IW_BigGreenIconBox td {
+
    border-radius: 4px;
     text-align: center;
+
    margin-bottom: 4px;
     width: 85px;
+
    padding: 4px;
}
 
 
 
.IW_BigGreenIconBox td img {
 
    margin: -2px;
 
}
 
 
 
.IW_MissionAndSponsorsBox {
 
float: right;
 
border: 1px solid #c0c0c0;
 
border-bottom: 1px solid #c0c0c0;
 
width: 375px;
 
margin-left: 20px;
 
background-color: #FFF;
 
}
 
 
 
.IW_MissionAndSponsorsBox .MissionStatement {
 
color: #000;
 
background-color: #f6f6f6;
 
padding: 5px 10px;
 
border: 1px solid #0d8323;
 
text-align:center;
 
}
 
 
 
.IW_MissionAndSponsorsBox .Sponsors {
 
margin: 0;
 
font-family: sans-serif;
 
font-size: 12px;
 
text-align: left;
 
padding: 20px 0px 20px 15px;
 
}
 
 
 
.IW_MissionAndSponsorsBox .Sponsors .Title {
 
font-size: 20px;
 
font-weight: bold;
 
}
 
 
 
.IW_MissionAndSponsorsBox .Sponsors .AskButton {
 
width: 300px;
 
margin: 25px auto;
 
padding-bottom: 0px;
 
}
 
 
 
.gTLD_InfoBox {
 
background-color: #f6f6f6;
 
border: 2px solid #466f81;
 
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;
 
}
 
.NoDesktop {
 
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 {
+
/* Hides bullet points */
width:70%;
+
.icannwiki-top-box ul {
float:left;
+
list-style: none;
display:inline-block;
+
    list-style-type: none;
 
}
 
}
  
#AOWBox {
+
/* Changes bullet points to a Unicode character */
display:flex;
+
.icannwiki-top-box ul li:before {
flex-direction:column;
+
background-image: url('/images/8/82/1F4CE.png');
width:99.7%;
+
    background-size: 32px 32px;
border:1px solid #bcd7c4;
+
    display: inline-block;
margin-bottom:.5em;  
+
    vertical-align: middle;
float:left;
+
    width: 32px;  
background:white;
+
    height: 32px;
 +
    content:"";
 
}
 
}
  
.MainPageHeader {
+
/* List stylings */
background:#4c9662;
+
.icannwiki-top-box ul li {
font-family:sans-serif;
+
    font-size: 110%;
font-size:120%;
+
    margin-bottom: 4px; /* Adjusts the spacing between list items */
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 {
+
.icannwiki-top-box a {
height:280px;
+
    color: white;
width:62%;
+
    font-weight: bold;
border:1px solid #bcd7c4;
+
    text-decoration: none;
margin:0 0em 0em 0;
 
display:inline-block;
 
background:white;
 
 
}
 
}
  
#Acronym {
+
.icannwiki-top-box a:hover {
height:280px;
+
    color: #68d62c;
width:36.5%;
+
    text-decoration: none;
border:1px solid #bcd7c4;
 
margin:0 0 .5em 0;
 
float:right;
 
background:white;
 
padding:0 0em 0 0;
 
 
}
 
}
  
#AcronymArchive {
+
/* Header for featured article, news, about us, and so on */
height:280px;
+
.icannwiki-section-header {
border:1px solid #bcd7c4;
+
    background: #62a376;
margin:0 0 .5em 0;
+
    font-family: sans-serif;
float:left;
+
    font-weight: bold;
background:white;
+
    text-align: left;
padding:0 0em 0 0;
+
    color: #ebfcef;
 +
    height: 1.5em;
 +
    padding: .5em;
 +
    border-radius: 5px;
 
}
 
}
  
#News {
+
/* Colored bounding box */
height:225px;
+
.icannwiki-colored-box {
width:100%;
+
background: #f1f6f3;
border:1px solid #bcd7c4;
+
padding-left: 1%;
margin-bottom:.5em;
+
padding-right: 1%
background:white;
 
 
}
 
}
  
#Welcome {
+
/* Separator */
float:left;
+
.icannwiki-clearfix {
width:35%;
+
    clear: both;
text-align: center;
 
 
}
 
}
  
#topbar {
+
/* Main page content box: left */
    background: -moz-linear-gradient(#098280, #E95F26);/* For Firefox 3.6 to 15 */
+
.icannwiki-half-width-left {
    background: #098280; /* For browsers that do not support gradients */
+
     width: 49%;
    background: -webkit-linear-gradient(#098280, #E95F26); /* For Safari 5.1 to 6.0 */
+
     float: left;
    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;
 
 
 
}
 
.navbutton2 {
 
color:white;
 
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: right */
.mw-collapsible-toggle {
+
.icannwiki-half-width-right {
  cursor: pointer;
+
    width: 49%;
 +
    float: right;
 
}
 
}
  
/* collapse links in captions should be inline */
+
/* Justified text */
caption .mw-collapsible-toggle,
+
.icannwiki-justified {
.mw-content-ltr caption .mw-collapsible-toggle,
+
text-align: justify;
.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: left;
 
 
}
 
}
  
/* list-items go as wide as their parent element, don't float them inside list items */
+
/* Highlighted text */
li .mw-collapsible-toggle,
+
.icannwiki-highlight {
.mw-content-ltr li .mw-collapsible-toggle,
+
color: #61a376;
.mw-content-rtl li .mw-collapsible-toggle,
+
    font-weight: bold;
.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 */
+
/* Font with darker shade of greenish white */
.mw-collapsible-toggle-li {
+
.icannwiki-text-white {
  list-style: left;
+
    color: #ebfcef;
 
}
 
}
  
.EditIcann57 {
+
/* Larger text */
max-width:100%;
+
.icannwiki-font-large {
 +
    font-size: 125%;
 
}
 
}

Latest revision as of 22:51, 17 April 2024

/* CSS placed here will be applied to all skins */

/* Legacy code moved to MediaWiki:Common.css/Legacy */

/* Box at the top of the main page layout */
.icannwiki-top-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 4px;
    background-color: #61a376;
    background-image: url('');
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 4px;
    padding: 4px;
}

/* Hides bullet points */
.icannwiki-top-box ul {
	list-style: none;
    list-style-type: none;
}

/* Changes bullet points to a Unicode character */
.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%;
}