Jump to content

MediaWiki:Common.css: Difference between revisions

From ICANNWiki
Dustin Loup (talk | contribs)
No edit summary
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
(374 intermediate revisions by 4 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) */
/* TABLE OF COLOR VALUES FOR ALL ELEMENTS */
body.page-Main_Page h1.firstHeading {
display: none;
}


body.page-Form_Person_Page_Creator h1.firstHeading { display:none; }
:root {
    /* General colors */
    --lingo-underline-color: #cccccc;
    --panel-link-hover-color: #62a376;
    --flowing-numbers-color: rgba(255, 255, 255, 0.3);
    --top-box-bg-color: #58846a;
    --top-box-link-color: #F8F9FA;
    --top-box-link-hover-color: #68d62c;
    --top-box-shadow-color: rgba(0, 64, 0, 0.5);
    --section-header-bg-color: #58846a;
    --section-header-text-color: #f5fcf7;
    --header-fx-drop-shadow: #003a13;
    --header-fx-shadow-blur: rgba(0, 40, 0, 0.4);


.IW_BigGreenIconBox {
    /* Day mode colors */
     border-spacing: 0;
 
     border: 1px solid #28903b;
    --colored-box-bg-day: #f1f6f3;
     display: inline-block !important;
    --colored-box-text-color-day: #202122;
   
    --warning-bg-color-day: #FFFDF4;
    --warning-border-color-day: #d48900;
    --warning-text-color-day: #d48900;
 
    --signal-bg-color-day: #f4fcff;
    --signal-border-color-day: #0092D4;
    --signal-text-color-day: #0092D4;
 
    --danger-bg-color-day: #fff4f4;
    --danger-border-color-day: #D40000;
    --danger-text-color-day: #D40000;
 
    --atheneum-border-color-day: #61a376;
    --atheneum-header-bg-day: #f1f6f3;
    --atheneum-cell-bg-day: #f9f9f9;
    --atheneum-text-color-day: #101418;
 
    /* Night mode colors */
 
    --colored-box-bg-night: #1a1f21;
    --colored-box-text-color-night: #eaecf0;
 
    --warning-bg-color-night: #4d4b47;
    --warning-border-color-night: #b47900;
    --warning-text-color-night: #ffd700;
 
    --signal-bg-color-night: #1e3a48;
    --signal-border-color-night: #0077b6;
     --signal-text-color-night: #66c2ff;
 
    --danger-bg-color-night: #4b2828;
    --danger-border-color-night: #b30000;
     --danger-text-color-night: #ff6666;
 
    --atheneum-border-color-night: #4a6655;
    --atheneum-header-bg-night: #2d3e36;
     --atheneum-cell-bg-night: #3c4946;
    --atheneum-text-color-night: #F8F9FA;
}
}


.IW_BigGreenIconBox td {
/* WORK IN PROGRESS AND HACKS */
     text-align: center;
 
     width: 85px;
/* Hack for "Confirm account requests" boxes */
.mw-confirmaccount-body-0, ul.mw-confirmaccount-body-0, li.mw-confirmaccount-body-0, table.mw-confirmaccount-body-0, li.mw-confirmaccount-type-0, .mw-confirmaccount-msg, .mw-confirmaccount-bar {
    background: black !important;
    color: white !important;
}
 
#wpNewBio {
    background-color: black !important;
    color: white !important;
}
 
/* Hack to hide textual form of the logo */
.mw-logo-wordmark {
    display: none;
}
 
/* Hack to expand the image form of the logo */
.mw-logo-icon {
    transform: scale(2); /* Scales to 2x the original size */
    padding-top: 14px;
    padding-left: 16px;
}
 
/* Highlighted main page boxes for campaigns */
.icannwiki-colored-box-highlighted {
    padding: 0.5em;
    font-size: 1.05em;
    position: relative;
    border-radius: 8px;
    box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.07),
                0px 4px 12px rgba(0, 0, 0, 0.6);
    color: var(--colored-box-text-color-day); /* Default to day */
    background-color: var(--colored-box-bg-day); /* Default to day */
    overflow: hidden;
    margin-bottom: 1em;
    z-index: 1;
}
 
/* Sheen effect */
.icannwiki-colored-box-highlighted::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 220%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 80%);
    animation: subtleSheen 20s ease-in-out infinite;
    opacity: 0.1;
    z-index: 1;
    border-radius: 8px;
}
 
/* Automatic adjustments for prefers-color-scheme */
@media screen and (prefers-color-scheme: dark) {
     .icannwiki-colored-box-highlighted {
        background-color: var(--colored-box-bg-night);
        color: var(--colored-box-text-color-night);
    }
}
 
/* Adjustments for explicit client preferences */
html.skin-theme-clientpref-day .icannwiki-colored-box-highlighted {
    background-color: var(--colored-box-bg-day);
    color: var(--colored-box-text-color-day);
}
 
html.skin-theme-clientpref-night .icannwiki-colored-box-highlighted {
    background-color: var(--colored-box-bg-night);
    color: var(--colored-box-text-color-night);
}
 
/* Main campaign box with a left-aligned image box */
.icannwiki-campaign-box {
    display: flex;
    align-items: center;
     padding: 0.5em;
    background-color: #1c1c1f;
    border-radius: 8px;
    color: #e8e8f0;
    margin-bottom: 0.5em;
}
}


.IW_BigGreenIconBox td img {
/* Left rectangular box for images */
     margin: -2px;
.icannwiki-campaign-image-box {
    min-width: 60px;
    height: auto;
    background-color: #333333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em;
     margin-right: 0.5em;
}
}


.IW_MissionAndSponsorsBox {
/* Placeholder styling for image inside the image-box */
float: right;
.icannwiki-campaign-image-box img {
border: 1px solid #c0c0c0;
    max-width: 100%;
border-bottom: 1px solid #c0c0c0;
    height: auto;
width: 375px;
    border-radius: 4px;
margin-left: 20px;
background-color: #FFF;
}
}


.IW_MissionAndSponsorsBox .MissionStatement {
/* Main content area */
color: #000;
.icannwiki-campaign-box .content-text {
background-color: #f6f6f6;
    flex-grow: 1; /* Ensures content takes up remaining space */
padding: 5px 10px;
border: 1px solid #0d8323;
text-align:center;
}
}


.sidebar-section {
/* UI STYLES */
background-color: #F6F6F6;
 
/* Links affected by the Lingo extension */
.mw-lingo-term {
    text-decoration: underline solid var(--lingo-underline-color);
    text-decoration-thickness: 2px;
}
}


.sidebar {
/* Popup generated when user hovers over a link affected by Lingo */
background-color: #F6F6F6;
.qtip-content {
padding: 8px;
line-height: 125%;
font-size: 1.25em;
}
}


.IW_MissionAndSponsorsBox .Sponsors {
/* Navigation panel on the left side of the main interface */
margin: 0;
#mw-panel a {
font-family: sans-serif;
    font-size: 1.10em;
font-size: 12px;
text-align: left;
padding: 20px 0px 20px 15px;
}
}


.IW_MissionAndSponsorsBox .Sponsors .Title {
#mw-panel a:hover {
font-size: 20px;
    color: var(--panel-link-hover-color);
font-weight: bold;
    text-decoration: none;
}
}


.IW_MissionAndSponsorsBox .Sponsors .AskButton {
/* ------------------------------------------------------------------------- */
width: 300px;
 
margin: 25px auto;
/* MAIN PAGE STYLES */
padding-bottom: 0px;
 
/* Remove main page header */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading
{ display: none; }
 
/* Top box of the main page */
.icannwiki-top-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 4px;
    background-color: var(--top-box-bg-color);
    background-image: url('images/b/bd/ICANNWiki-Background-2024-A.svg');
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 4px;
    padding: 4px;
    font-size:0.9em}
 
/* Hide bullet points */
.icannwiki-top-box ul {
    list-style: none;
    list-style-type: none;
}
}


.gTLD_InfoBox {
/* Changes bullet points to a Unicode character */
background-color: #f6f6f6;
.icannwiki-top-box ul li:before {
border: 2px solid #466f81;  
    background-image: url('/images/8/82/1F4CE.png');
padding: 10px;
    background-size: 32px 32px;
margin-bottom: 15px;
    display: inline-block;
width: 100%;
    vertical-align: middle;
height: 150px;
    width: 32px;  
    height: 32px;
    content:"";
}
}


.gTLD_InfoBox .Dimensions {
/* Top box's elements styling */
width: 200px;
.icannwiki-top-box ul li {
height: 125px;
    font-size: 1.0em;
float: left;
    margin-bottom: 4px; /* Adjusts the spacing between list items */
margin: 0px 20px 0 0;
border-right: 1px solid #bdbdbd;
}
}
.gTLD_Info {
 
background-color: #f6f6f6;
.icannwiki-top-box a {
border: 2px solid #466f81;  
    color: var(--top-box-link-color);
padding: 10px;
    font-weight: bold;
margin: 2em 0 2em 0;
    text-decoration: none;
width: 100%;
height: 150px;
}
}
.AOW {
 
background:#466f81;
.icannwiki-top-box a:hover {
font-family:sans-serif;
    color: var(--top-box-link-hover-color);
font-size:120%;
    text-decoration: none;
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;
/* Top box's special effects */
height:8em;
.top-box-fx {
width:50%;
    text-shadow: 2px 2px 4px var(--top-box-shadow-color); /* Shadow blur */
background:#d8dfe8;
padding:0 -1em 0 0;
margin:0 0 1em 0;
display:inline-block;
}
}
.WelcomeBox .Message {
 
background:#d8dfe8;
/* Header for other boxes in the main page */
align:center;
.icannwiki-section-header {
    background: var(--section-header-bg-color);
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    text-align: left;
    color: var(--section-header-text-color);
    height: 1.5em;
    padding: .5em;
    border-radius: 5px;
}
}
.MissingLinks {
 
display:none;
/* Colored bounding box for text */
.icannwiki-colored-box {
    padding-left: 1%;
    padding-right: 1%;
    font-size: 1.05em;
}
}
.CommunityPortalHeader {
 
width:100%;
/* .icannwiki-colored-box AUTOMATIC */
height:50px;
@media screen and (prefers-color-scheme: dark) {
background:#d8dfe8;
    html.skin-theme-clientpref-os .icannwiki-colored-box {
margin:1.2em 0 6px 0;
        background-color: var(--colored-box-bg-night);
border:1px solid #ddd;
        color: var(--colored-box-text-color-night);
text-align: center;
    }
font-size: 1.7em;
}
}
.WritingCommunityBox {
/* .icannwiki-colored-box DAY */
width:50%;
@media screen {
float:left;
    html.skin-theme-clientpref-day .icannwiki-colored-box {
padding:0 .5em 0 0;
        background-color: var(--colored-box-bg-day);
        color: var(--colored-box-text-color-day);
    }
}
}
.WritingCommunityBox .RowStyle {
/* .icannwiki-colored-box NIGHT */
width: 100%;
@media screen {
padding:0em .1em 0em .1em;
    html.skin-theme-clientpref-night .icannwiki-colored-box {
border-bottom:1px solid #0d8323;
        background-color: var(--colored-box-bg-night);
background: whitesmoke;
        color: var(--colored-box-text-color-night);
    }
}
}
.WritingCommunityBox .ColumnStyle {
 
background:#0d8323;
/* Main page content box: left */
font-family:sans-serif;
.icannwiki-half-width-left {
font-size:120%;
    width: 49%;
font-weight:bold;
    float: left;
border:2px solid #466f81;
text-align:left;
color:#FFF;
padding: 0 0 0 .65em;
}
}
.PrimerICW {
 
width:46%;
/* Main page content box: right */
background-color:whitesmoke;
.icannwiki-half-width-right {
float:left;
    width: 49%;
display:inline-block;
    float: right;
height:180px;
padding: 1em 1em 1em 1em;
border: 2px solid gray;
}
}
.PrimerIM {
 
width:46%;
/* Sponsors template */
background-color:whitesmoke;
.icannwiki-sponsors {
float:right;
    display: grid;
display:inline-block;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
height:180px;
    gap: 4px;
padding: 1em 1em 1em 1em;
    border-radius: 4px;
border: 2px solid gray;
    margin-bottom: 4px;
    padding: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
    justify-content: center;
    background: white;
    margin-bottom: 16px;
}
}
.NoDesktop {
 
display: none;
.icannwiki-sponsors li {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    border-radius: 4px;
    padding: 8px;
    height: 140px; /* Adjust as needed */
    box-sizing: border-box;
}
}
.ICANNBoardMembers {
 
height:230px;
.icannwiki-sponsors li:nth-last-child(-n+3) {
width:50%;
    justify-self: center;
display:inline-block;
padding:1em 1em 1em 1em;
float:left;
overflow:auto;
}
}
.Editathon {
 
background:#339933;
.icannwiki-sponsors img {
font-family:sans-serif;
    max-width: 100%;
font-size:120%;
    max-height: 100%;
font-weight:bold;
    object-fit: contain;
border:2px solid #ffa500;
text-align:left;
color:#FFF;
padding-left:0.4em;
padding-top:0.2em;
padding-bottom:0.2em;
}
}


.MainPage {
.icannwiki-sponsors ul {
width:70%;
    list-style: none;
float:left;
    list-style-type: none;
display:inline-block;
}
}


#AOWBox {
/* ------------------------------------------------------------------------- */
display:flex;
 
flex-direction:column;
/* TEMPLATE STYLES */
width:99.7%;
 
border:1px solid #bcd7c4;
/* Warning template */
margin-bottom:.5em;  
.icannwiki-warning {
float:left;
    display: flex;
background:white;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--warning-bg-color-day);
    border: 2px solid var(--warning-border-color-day);
    border-left: 16px solid var(--warning-border-color-day);
}
}


.MainPageHeader {
.icannwiki-warning a {
background:#4c9662;
    font-weight: bold;
font-family:sans-serif;
    color: var(--warning-text-color-day);
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 {
/* Signaling template */
height:280px;
.icannwiki-signal {
width:62%;
    display: flex;
border:1px solid #bcd7c4;
    justify-content: center;
margin:0 0em 0em 0;
    align-items: center;
display:inline-block;
    text-align: center;
background:white;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--signal-bg-color-day);
    border: 2px solid var(--signal-border-color-day);
    border-left: 16px solid var(--signal-border-color-day);
}
}


#Acronym {
.icannwiki-signal a {
height:280px;
    font-weight: bold;
width:36.5%;
    color: var(--signal-text-color-day);
border:1px solid #bcd7c4;
margin:0 0 .5em 0;
float:right;
background:white;
padding:0 0em 0 0;
}
}


#AcronymArchive {
/* Danger template */
height:280px;
.icannwiki-danger {
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: var(--danger-bg-color-day);
    border: 2px solid var(--danger-border-color-day);
    border-left: 16px solid var(--danger-border-color-day);
}
}


#News {
.icannwiki-danger a {
height:225px;
    font-weight: bold;
width:100%;
    color: var(--danger-text-color-day);
border:1px solid #bcd7c4;
margin-bottom:.5em;
background:white;
}
}


#Welcome {
/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger AUTOMATIC */
float:left;
@media screen and (prefers-color-scheme: dark) {
width:35%;
    html.skin-theme-clientpref-os .icannwiki-warning {
text-align: center;
        background-color: var(--warning-bg-color-night);
        border: 2px solid var(--warning-border-color-night);
        border-left: 16px solid var(--warning-border-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-warning a {
        color: var(--warning-text-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-signal {
        background-color: var(--signal-bg-color-night);
        border: 2px solid var(--signal-border-color-night);
        border-left: 16px solid var(--signal-border-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-signal a {
        color: var(--signal-text-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-danger {
        background-color: var(--danger-bg-color-night);
        border: 2px solid var(--danger-border-color-night);
        border-left: 16px solid var(--danger-border-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-danger a {
        color: var(--danger-text-color-night);
    }
}
/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger DAY */
@media screen {
  html.skin-theme-clientpref-day .icannwiki-warning {
      background-color: var(--warning-bg-color-day);
      border: 2px solid var(--warning-border-color-day);
      border-left: 16px solid var(--warning-border-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-warning a {
      color: var(--warning-text-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-signal {
      background-color: var(--signal-bg-color-day);
      border: 2px solid var(--signal-border-color-day);
      border-left: 16px solid var(--signal-border-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-signal a {
      color: var(--signal-text-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-danger {
      background-color: var(--danger-bg-color-day);
      border: 2px solid var(--danger-border-color-day);
      border-left: 16px solid var(--danger-border-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-danger a {
      color: var(--danger-text-color-day);
  }
}
/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger NIGHT */
@media screen {
  html.skin-theme-clientpref-night .icannwiki-warning {
      background-color: var(--warning-bg-color-night);
      border: 2px solid var(--warning-border-color-night);
      border-left: 16px solid var(--warning-border-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-warning a {
      color: var(--warning-text-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-signal {
      background-color: var(--signal-bg-color-night);
      border: 2px solid var(--signal-border-color-night);
      border-left: 16px solid var(--signal-border-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-signal a {
      color: var(--signal-text-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-danger {
      background-color: var(--danger-bg-color-night);
      border: 2px solid var(--danger-border-color-night);
      border-left: 16px solid var(--danger-border-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-danger a {
      color: var(--danger-text-color-night);
  }
}
}


#body {
/* Template:People */
     width:100%;
.template-people {
     margin:0 auto;
     float: right;
    border: 1px solid darkgray;
    max-width: 160px;
    padding: 5px;
    padding-bottom: 10px;
     margin-left: 10px
}
}
.fixed {
 
     margin:0 auto;
/* ------------------------------------------------------------------------- */
     vertical-align:baseline;
 
/* INTERNET GOVERNANCE ATHENEUM */
 
.atheneum-box {
     border-collapse: collapse;
     border: 1px solid var(--atheneum-border-color-day);
}
}
.flexbox{
 
     display:flex;
.atheneum-box th, .atheneum-box td {
    flex-direction:column;
     border: 1px solid var(--atheneum-border-color-day);
    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;


.atheneum-box th {
    background-color: var(--atheneum-header-bg-day);
    color: var(--atheneum-text-color-day);
    text-transform: uppercase;
    padding: 8px;
}
}
.navbutton2 {
 
color:white;
.atheneum-box td {
font-weight:bold;
    background-color: var(--atheneum-cell-bg-day);
font-size:1.6vw;
    color: var(--atheneum-text-color-day);
padding:0 .5vw;
    padding: 4px 10px;
display:flex;
flex-direction:column;
width:12.6vw;
height:3vw;
text-align:center;
float:left;
text-shadow:.1vw .1vw black;
}
}


.sectionheader{
/* .atheneum-box AUTOMATIC */
     background:#098280;
@media screen and (prefers-color-scheme: dark) {
    width:100%;
     html.skin-theme-clientpref-os .atheneum-box {
     color:white;
        border: 1px solid var(--atheneum-border-color-night);
     font-size:4vw;
     }
    text-align:center;
     html.skin-theme-clientpref-os .atheneum-box th {
    text-shadow:.075vw .075vw black;
        background-color: var(--atheneum-header-bg-night);
     font-weight:bold;
        color: var(--atheneum-text-color-night);
     min-height:3.5vw;
     }
    border-radius:25px;
     html.skin-theme-clientpref-os .atheneum-box td {
    display:flex;
        background-color: var(--atheneum-cell-bg-night);
     align-items:left;
        color: var(--atheneum-text-color-night);
     }
}
}
.primerlogo {
/* .atheneum-box DAY */
width:auto;
@media screen {
max-width:13vw;
  html.skin-theme-clientpref-day .atheneum-box {
height:auto;
      border: 1px solid var(--atheneum-border-color-day);
max-height:13vw;
  }
margin:0 0 2vw 3vw;
  html.skin-theme-clientpref-day .atheneum-box th {
      background-color: var(--atheneum-header-bg-day);
      color: var(--atheneum-text-color-day);
  }
  html.skin-theme-clientpref-day .atheneum-box td {
      background-color: var(--atheneum-cell-bg-day);
      color: var(--atheneum-text-color-day);
  }
}
}
.camel {
/* .atheneum-box NIGHT */
width: auto;
@media screen {
max-width: 16vw;
  html.skin-theme-clientpref-night .atheneum-box {
height: auto;
      border: 1px solid var(--atheneum-border-color-night);
max-height: 11vw;
  }
width: auto;
  html.skin-theme-clientpref-night .atheneum-box th {
position:relative;
      background-color: var(--atheneum-header-bg-night);
top:1vw;
      color: var(--atheneum-text-color-night);
  }
  html.skin-theme-clientpref-night .atheneum-box td {
      background-color: var(--atheneum-cell-bg-night);
      color: var(--atheneum-text-color-night);
  }
}
}
.editathonTall {
 
width:auto;
/* ------------------------------------------------------------------------- */
max-width:13vw;
 
height:auto;
/* GENERIC STYLES */
max-height:30vw;
 
padding:0 0 0 0;
/* Separator (blank) */
.icannwiki-clearfix {
    clear: both;
}
}
#editathonsection {
 
     font-size:1.3vw;
/* Hide bullets on lists */
     text-align:left;
.no-bullets {
     display:flex;
     list-style: none;
     align-items:center;
     list-style-type: none;
    padding-left: 0;
}
 
/* Hide second level bullets on lists */
.no-second-level-bullets ul ul {
     list-style: none;
     list-style-type: none;
    padding-left: 0; /* Adjust padding to align with the parent list */
}
}
.sectionheader2{
 
    background:#52A7A6;
.no-second-level-bullets ul ul li {
    width:100%;
     padding-left: 0px; /* Adjust padding to maintain alignment if needed */
    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;
/* Centered text */
color:white;
.icannwiki-centered {
padding:25px 15px 15px 15px;
    text-align: center;
position:relative;
bottom:.4vw;
font-size:1.3vw;
}
}
.venuemap{
 
max-width:100%;
/* Justified text */
.icannwiki-justified {
    text-align: justify;
}
}
.faditribute{
 
height:10vw;
/* Upper case text */
.icannwiki-uppercase {
    text-transform: uppercase;
}
}


.EditIcann57 {
/* Larger text */
max-width:100%;
.icannwiki-font-large {
    font-size: 1.25em;
}
}

Latest revision as of 17:04, 24 November 2024

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

/* TABLE OF COLOR VALUES FOR ALL ELEMENTS */

:root {
    /* General colors */
    --lingo-underline-color: #cccccc;
    --panel-link-hover-color: #62a376;
    --flowing-numbers-color: rgba(255, 255, 255, 0.3);
    --top-box-bg-color: #58846a;
    --top-box-link-color: #F8F9FA;
    --top-box-link-hover-color: #68d62c;
    --top-box-shadow-color: rgba(0, 64, 0, 0.5);
    --section-header-bg-color: #58846a;
    --section-header-text-color: #f5fcf7;
    --header-fx-drop-shadow: #003a13;
    --header-fx-shadow-blur: rgba(0, 40, 0, 0.4);

    /* Day mode colors */

    --colored-box-bg-day: #f1f6f3;
    --colored-box-text-color-day: #202122;
    
    --warning-bg-color-day: #FFFDF4;
    --warning-border-color-day: #d48900;
    --warning-text-color-day: #d48900;

    --signal-bg-color-day: #f4fcff;
    --signal-border-color-day: #0092D4;
    --signal-text-color-day: #0092D4;

    --danger-bg-color-day: #fff4f4;
    --danger-border-color-day: #D40000;
    --danger-text-color-day: #D40000;

    --atheneum-border-color-day: #61a376;
    --atheneum-header-bg-day: #f1f6f3;
    --atheneum-cell-bg-day: #f9f9f9;
    --atheneum-text-color-day: #101418;

    /* Night mode colors */

    --colored-box-bg-night: #1a1f21;
    --colored-box-text-color-night: #eaecf0;

    --warning-bg-color-night: #4d4b47;
    --warning-border-color-night: #b47900;
    --warning-text-color-night: #ffd700;

    --signal-bg-color-night: #1e3a48;
    --signal-border-color-night: #0077b6;
    --signal-text-color-night: #66c2ff;

    --danger-bg-color-night: #4b2828;
    --danger-border-color-night: #b30000;
    --danger-text-color-night: #ff6666;

    --atheneum-border-color-night: #4a6655;
    --atheneum-header-bg-night: #2d3e36;
    --atheneum-cell-bg-night: #3c4946;
    --atheneum-text-color-night: #F8F9FA;
}

/* WORK IN PROGRESS AND HACKS */

/* Hack for "Confirm account requests" boxes */
.mw-confirmaccount-body-0, ul.mw-confirmaccount-body-0, li.mw-confirmaccount-body-0, table.mw-confirmaccount-body-0, li.mw-confirmaccount-type-0, .mw-confirmaccount-msg, .mw-confirmaccount-bar {
    background: black !important;
    color: white !important;
}

#wpNewBio {
    background-color: black !important;
    color: white !important;
}

/* Hack to hide textual form of the logo */
.mw-logo-wordmark {
    display: none;
}

/* Hack to expand the image form of the logo */
.mw-logo-icon {
    transform: scale(2); /* Scales to 2x the original size */
    padding-top: 14px;
    padding-left: 16px;
}

/* Highlighted main page boxes for campaigns */
.icannwiki-colored-box-highlighted {
    padding: 0.5em;
    font-size: 1.05em;
    position: relative;
    border-radius: 8px;
    box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.07),
                0px 4px 12px rgba(0, 0, 0, 0.6);
    color: var(--colored-box-text-color-day); /* Default to day */
    background-color: var(--colored-box-bg-day); /* Default to day */
    overflow: hidden;
    margin-bottom: 1em;
    z-index: 1;
}

/* Sheen effect */
.icannwiki-colored-box-highlighted::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 220%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 80%);
    animation: subtleSheen 20s ease-in-out infinite;
    opacity: 0.1;
    z-index: 1;
    border-radius: 8px;
}

/* Automatic adjustments for prefers-color-scheme */
@media screen and (prefers-color-scheme: dark) {
    .icannwiki-colored-box-highlighted {
        background-color: var(--colored-box-bg-night);
        color: var(--colored-box-text-color-night);
    }
}

/* Adjustments for explicit client preferences */
html.skin-theme-clientpref-day .icannwiki-colored-box-highlighted {
    background-color: var(--colored-box-bg-day);
    color: var(--colored-box-text-color-day);
}

html.skin-theme-clientpref-night .icannwiki-colored-box-highlighted {
    background-color: var(--colored-box-bg-night);
    color: var(--colored-box-text-color-night);
}

/* Main campaign box with a left-aligned image box */
.icannwiki-campaign-box {
    display: flex;
    align-items: center;
    padding: 0.5em;
    background-color: #1c1c1f;
    border-radius: 8px;
    color: #e8e8f0;
    margin-bottom: 0.5em;
}

/* Left rectangular box for images */
.icannwiki-campaign-image-box {
    min-width: 60px;
    height: auto;
    background-color: #333333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em;
    margin-right: 0.5em;
}

/* Placeholder styling for image inside the image-box */
.icannwiki-campaign-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Main content area */
.icannwiki-campaign-box .content-text {
    flex-grow: 1; /* Ensures content takes up remaining space */
}

/* UI STYLES */

/* Links affected by the Lingo extension */
.mw-lingo-term {
    text-decoration: underline solid var(--lingo-underline-color);
    text-decoration-thickness: 2px;
}

/* Popup generated when user hovers over a link affected by Lingo */
.qtip-content {
	padding: 8px;
	line-height: 125%;
	font-size: 1.25em;
}

/* Navigation panel on the left side of the main interface */
#mw-panel a {
    font-size: 1.10em;
}

#mw-panel a:hover {
    color: var(--panel-link-hover-color);
    text-decoration: none;
}

/* ------------------------------------------------------------------------- */

/* MAIN PAGE STYLES */

/* Remove main page header */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading
{ display: none; }

/* Top box of the main page */
.icannwiki-top-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 4px;
    background-color: var(--top-box-bg-color);
    background-image: url('images/b/bd/ICANNWiki-Background-2024-A.svg');
    background-size: cover;
    border-radius: 4px;
    margin-bottom: 4px;
    padding: 4px;
    font-size:0.9em}

/* Hide 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:"";
}

/* Top box's elements styling */
.icannwiki-top-box ul li {
    font-size: 1.0em;
    margin-bottom: 4px; /* Adjusts the spacing between list items */
}

.icannwiki-top-box a {
    color: var(--top-box-link-color);
    font-weight: bold;
    text-decoration: none;
}

.icannwiki-top-box a:hover {
    color: var(--top-box-link-hover-color);
    text-decoration: none;
}

/* Top box's special effects */
.top-box-fx {
    text-shadow: 2px 2px 4px var(--top-box-shadow-color); /* Shadow blur */
}

/* Header for other boxes in the main page */
.icannwiki-section-header {
    background: var(--section-header-bg-color);
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    text-align: left;
    color: var(--section-header-text-color);
    height: 1.5em;
    padding: .5em;
    border-radius: 5px;
}

/* Colored bounding box for text */
.icannwiki-colored-box {
    padding-left: 1%;
    padding-right: 1%;
    font-size: 1.05em;
}

/* .icannwiki-colored-box AUTOMATIC */
@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .icannwiki-colored-box {
        background-color: var(--colored-box-bg-night);
        color: var(--colored-box-text-color-night);
    }
}
/* .icannwiki-colored-box DAY */
@media screen {
    html.skin-theme-clientpref-day .icannwiki-colored-box {
        background-color: var(--colored-box-bg-day);
        color: var(--colored-box-text-color-day);
    }
}
/* .icannwiki-colored-box NIGHT */
@media screen {
    html.skin-theme-clientpref-night .icannwiki-colored-box {
        background-color: var(--colored-box-bg-night);
        color: var(--colored-box-text-color-night);
    }
}

/* 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;
}

/* Sponsors template */
.icannwiki-sponsors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 4px;
    border-radius: 4px;
    margin-bottom: 4px;
    padding: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    clear: both;
    justify-content: center;
    background: white;
    margin-bottom: 16px;
}

.icannwiki-sponsors li {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px;
    border-radius: 4px;
    padding: 8px;
    height: 140px; /* Adjust as needed */
    box-sizing: border-box;
}

.icannwiki-sponsors li:nth-last-child(-n+3) {
    justify-self: center;
}

.icannwiki-sponsors img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.icannwiki-sponsors ul {
    list-style: none;
    list-style-type: none;
}

/* ------------------------------------------------------------------------- */

/* TEMPLATE STYLES */

/* Warning template */
.icannwiki-warning {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--warning-bg-color-day);
    border: 2px solid var(--warning-border-color-day);
    border-left: 16px solid var(--warning-border-color-day);
}

.icannwiki-warning a {
    font-weight: bold;
    color: var(--warning-text-color-day);
}

/* Signaling template */
.icannwiki-signal {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--signal-bg-color-day);
    border: 2px solid var(--signal-border-color-day);
    border-left: 16px solid var(--signal-border-color-day);
}

.icannwiki-signal a {
    font-weight: bold;
    color: var(--signal-text-color-day);
}

/* Danger template */
.icannwiki-danger {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    width: 60%;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--danger-bg-color-day);
    border: 2px solid var(--danger-border-color-day);
    border-left: 16px solid var(--danger-border-color-day);
}

.icannwiki-danger a {
    font-weight: bold;
    color: var(--danger-text-color-day);
}

/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger AUTOMATIC */
@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .icannwiki-warning {
        background-color: var(--warning-bg-color-night);
        border: 2px solid var(--warning-border-color-night);
        border-left: 16px solid var(--warning-border-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-warning a {
        color: var(--warning-text-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-signal {
        background-color: var(--signal-bg-color-night);
        border: 2px solid var(--signal-border-color-night);
        border-left: 16px solid var(--signal-border-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-signal a {
        color: var(--signal-text-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-danger {
        background-color: var(--danger-bg-color-night);
        border: 2px solid var(--danger-border-color-night);
        border-left: 16px solid var(--danger-border-color-night);
    }
    html.skin-theme-clientpref-os .icannwiki-danger a {
        color: var(--danger-text-color-night);
    }
}
/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger DAY */
@media screen {
  html.skin-theme-clientpref-day .icannwiki-warning {
      background-color: var(--warning-bg-color-day);
      border: 2px solid var(--warning-border-color-day);
      border-left: 16px solid var(--warning-border-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-warning a {
      color: var(--warning-text-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-signal {
      background-color: var(--signal-bg-color-day);
      border: 2px solid var(--signal-border-color-day);
      border-left: 16px solid var(--signal-border-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-signal a {
      color: var(--signal-text-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-danger {
      background-color: var(--danger-bg-color-day);
      border: 2px solid var(--danger-border-color-day);
      border-left: 16px solid var(--danger-border-color-day);
  }
  html.skin-theme-clientpref-day .icannwiki-danger a {
      color: var(--danger-text-color-day);
  }
}
/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger NIGHT */
@media screen {
  html.skin-theme-clientpref-night .icannwiki-warning {
      background-color: var(--warning-bg-color-night);
      border: 2px solid var(--warning-border-color-night);
      border-left: 16px solid var(--warning-border-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-warning a {
      color: var(--warning-text-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-signal {
      background-color: var(--signal-bg-color-night);
      border: 2px solid var(--signal-border-color-night);
      border-left: 16px solid var(--signal-border-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-signal a {
      color: var(--signal-text-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-danger {
      background-color: var(--danger-bg-color-night);
      border: 2px solid var(--danger-border-color-night);
      border-left: 16px solid var(--danger-border-color-night);
  }
  html.skin-theme-clientpref-night .icannwiki-danger a {
      color: var(--danger-text-color-night);
  }
}

/* Template:People */
.template-people {
    float: right;
    border: 1px solid darkgray;
    max-width: 160px;
    padding: 5px;
    padding-bottom: 10px;
    margin-left: 10px
}

/* ------------------------------------------------------------------------- */

/* INTERNET GOVERNANCE ATHENEUM */

.atheneum-box {
    border-collapse: collapse;
    border: 1px solid var(--atheneum-border-color-day);
}

.atheneum-box th, .atheneum-box td {
    border: 1px solid var(--atheneum-border-color-day);
}

.atheneum-box th {
    background-color: var(--atheneum-header-bg-day);
    color: var(--atheneum-text-color-day);
    text-transform: uppercase;
    padding: 8px;
}

.atheneum-box td {
    background-color: var(--atheneum-cell-bg-day);
    color: var(--atheneum-text-color-day);
    padding: 4px 10px;
}

/* .atheneum-box AUTOMATIC */
@media screen and (prefers-color-scheme: dark) {
    html.skin-theme-clientpref-os .atheneum-box {
        border: 1px solid var(--atheneum-border-color-night);
    }
    html.skin-theme-clientpref-os .atheneum-box th {
        background-color: var(--atheneum-header-bg-night);
        color: var(--atheneum-text-color-night);
    }
    html.skin-theme-clientpref-os .atheneum-box td {
        background-color: var(--atheneum-cell-bg-night);
        color: var(--atheneum-text-color-night);
    }
}
/* .atheneum-box DAY */
@media screen {
  html.skin-theme-clientpref-day .atheneum-box {
      border: 1px solid var(--atheneum-border-color-day);
  }
  html.skin-theme-clientpref-day .atheneum-box th {
      background-color: var(--atheneum-header-bg-day);
      color: var(--atheneum-text-color-day);
  }
  html.skin-theme-clientpref-day .atheneum-box td {
      background-color: var(--atheneum-cell-bg-day);
      color: var(--atheneum-text-color-day);
  }
}
/* .atheneum-box NIGHT */
@media screen {
  html.skin-theme-clientpref-night .atheneum-box {
      border: 1px solid var(--atheneum-border-color-night);
  }
  html.skin-theme-clientpref-night .atheneum-box th {
      background-color: var(--atheneum-header-bg-night);
      color: var(--atheneum-text-color-night);
  }
  html.skin-theme-clientpref-night .atheneum-box td {
      background-color: var(--atheneum-cell-bg-night);
      color: var(--atheneum-text-color-night);
  }
}

/* ------------------------------------------------------------------------- */

/* GENERIC STYLES */

/* Separator (blank) */
.icannwiki-clearfix {
    clear: both;
}

/* Hide bullets on lists */
.no-bullets {
    list-style: none;
    list-style-type: none;
    padding-left: 0;
}

/* Hide second level bullets on lists */
.no-second-level-bullets ul ul {
    list-style: none;
    list-style-type: none;
    padding-left: 0; /* Adjust padding to align with the parent list */
}

.no-second-level-bullets ul ul li {
    padding-left: 0px; /* Adjust padding to maintain alignment if needed */
}

/* Centered text */
.icannwiki-centered {
    text-align: center;
}

/* Justified text */
.icannwiki-justified {
    text-align: justify;
}

/* Upper case text */
.icannwiki-uppercase {
    text-transform: uppercase;
}

/* Larger text */
.icannwiki-font-large {
    font-size: 1.25em;
}