Jump to content

MediaWiki:Common.css: Difference between revisions

From ICANNWiki
Dustin Loup (talk | contribs)
No edit summary
No edit summary
 
(475 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;
}


.IW_BigGreenIconBox {
:root {
     border-spacing: 0px;
    /* General colors */
     border: 1px solid #28903b;
    --lingo-underline-color: #cccccc;
     display: inline-block !important;
    --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;
}
 
/* Header FX */
.icannwiki-section-header-highlighted {
    background: #58846a; /* Cohesive base color */
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    color: var(--section-header-text-color);
    height: 1.5em;
    padding: 0.5em;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
 
.icannwiki-section-header-highlighted::before {
    /* Concentrated gradient with Seafoam Green accents */
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%, rgba(88, 132, 106, 0.3), rgba(47, 79, 47, 0.25), rgba(173, 226, 195, 0.2), rgba(43, 92, 89, 0.1));
    animation: cohesiveFlowingEffect 16s ease-in-out infinite;
    z-index: 0;
    filter: blur(8px); /* Focused glow */
}
 
.icannwiki-section-header-highlighted .header-text {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 2px var(--header-fx-drop-shadow),
                4px 4px 4px var(--header-fx-shadow-blur);
}
 
/* Keyframes for a smooth, flowing effect */
@keyframes cohesiveFlowingEffect {
    0% { transform: translate(0%, 0%) scale(1); }
    25% { transform: translate(8%, -8%) scale(1.05); }
    50% { transform: translate(-8%, 8%) scale(1); }
    75% { transform: translate(8%, 8%) scale(1.05); }
    100% { transform: translate(0%, 0%) scale(1); }
}
 
/* Body FX */
/* Enhanced highlighted box for low brightness displays */
.icannwiki-colored-box-highlighted {
    padding: 0.5em; /* Reduced padding */
    font-size: 1.05em;
    position: relative;
    background-color: #1c1c1f; /* Dark grey with slight blue undertone for contrast */
    border-radius: 8px;
    box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.07), /* Enhanced inner glow */
                0px 4px 12px rgba(0, 0, 0, 0.6); /* Outer shadow for depth */
    color: #e8e8f0; /* Light grey text with a cool undertone */
    overflow: hidden;
    margin-bottom: 1em;
    z-index: 1;
}
 
/* Subtle, slightly metallic gloss overlay */
.icannwiki-colored-box-highlighted::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), rgba(88, 88, 95, 0.07), rgba(0, 0, 0, 0.15));
    animation: highlightedBoxFlowingEffect 16s ease-in-out infinite;
    z-index: 0;
    filter: blur(5px); /* Adjusted blur to make the glow slightly more pronounced */
    opacity: 0.6;
    border-radius: 12px;
}
 
/* Slightly enhanced sheen animation for better visibility */
.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;
}
 
/* Smooth, flowing animation effect */
@keyframes highlightedBoxFlowingEffect {
    0% { transform: translate(0%, 0%) scale(1); }
    25% { transform: translate(5%, -5%) scale(1.05); }
    50% { transform: translate(-5%, 5%) scale(1); }
    75% { transform: translate(5%, 5%) scale(1.05); }
    100% { transform: translate(0%, 0%) scale(1); }
}
 
/* Keyframes for sheen animation */
@keyframes subtleSheen {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
}


.IW_BigGreenIconBox td {
/* Content style */
     text-align: center;
.icannwiki-colored-box-highlighted .content-text {
     width: 85px;
     position: relative;
    z-index: 2;
}
 
/* Main campaign box with a left-aligned image box */
.icannwiki-campaign-box {
    display: flex;
    align-items: center;
    padding: 0.5em; /* Reduced padding */
    background-color: #1c1c1f; /* Dark grey background */
    border-radius: 8px;
    color: #e8e8f0; /* Light grey text for readability */
    margin-bottom: 0.5em; /* Reduced margin */
}
 
/* Left rectangular box for the "ccTLDs" image */
.icannwiki-campaign-image-box {
    min-width: 60px; /* Slightly narrower */
    height: auto;
    background-color: #333333; /* Dark grey background for the image box */
    border-radius: 6px;
    display: flex;
    align-items: center;
     justify-content: center;
    padding: 0.25em; /* Minimal padding */
    margin-right: 0.5em; /* Reduced spacing */
}
 
/* 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;
}
}


.IW_BigGreenIconBox td img {
/* Navigation panel on the left side of the main interface */
     margin: -2px;
#mw-panel a {
     font-size: 1.10em;
}
}


.IW_MissionAndSponsorsBox {
#mw-panel a:hover {
float: right;
    color: var(--panel-link-hover-color);
border: 1px solid #c0c0c0;
    text-decoration: none;
border-bottom: 1px solid #c0c0c0;
width: 375px;
margin-left: 20px;
background-color: #FFF;
}
}


.IW_MissionAndSponsorsBox .MissionStatement {
/* ------------------------------------------------------------------------- */
color: #000;
 
background-color: #f6f6f6;
/* MAIN PAGE STYLES */
padding: 5px 10px;
 
border: 1px solid #0d8323;
/* Remove main page header */
text-align:center;
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;
}
}


.IW_MissionAndSponsorsBox .Sponsors {
/* Hide bullet points */
margin: 0;
.icannwiki-top-box ul {
font-family: sans-serif;
    list-style: none;
font-size: 12px;
    list-style-type: none;
text-align: left;
padding: 20px 0px 20px 15px;
}
}


.IW_MissionAndSponsorsBox .Sponsors .Title {
/* Changes bullet points to a Unicode character */
font-size: 20px;
.icannwiki-top-box ul li:before {
font-weight: bold;
    background-image: url('/images/8/82/1F4CE.png');
    background-size: 32px 32px;
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
    content:"";
}
}


.IW_MissionAndSponsorsBox .Sponsors .AskButton {
/* Top box's elements styling */
width: 300px;
.icannwiki-top-box ul li {
margin: 25px auto;
    font-size: 1.0em;
padding-bottom: 0px;
    margin-bottom: 4px; /* Adjusts the spacing between list items */
}
}


.gTLD_InfoBox {
.icannwiki-top-box a {
background-color: #f6f6f6;
    color: var(--top-box-link-color);
border: 2px solid #466f81;  
    font-weight: bold;
padding: 10px;
    text-decoration: none;
margin-bottom: 15px;
width: 100%;
height: 150px;
}
}


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


.MainPage {
.icannwiki-warning a {
width:70%;
    font-weight: bold;
float:left;
    color: var(--warning-text-color-day);
display:inline-block;
}
}


#AOWBox {
/* Signaling template */
display:flex;
.icannwiki-signal {
flex-direction:column;
    display: flex;
width:99.7%;
    justify-content: center;
border:1px solid #bcd7c4;
    align-items: center;
margin-bottom:.5em;  
    text-align: center;
float:left;
    height: auto;
background:white;
    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);
}
}


.MainPageHeader {
.icannwiki-signal a {
background:#4c9662;
    font-weight: bold;
font-family:sans-serif;
    color: var(--signal-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 {
/* Danger template */
height:280px;
.icannwiki-danger {
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(--danger-bg-color-day);
    border: 2px solid var(--danger-border-color-day);
    border-left: 16px solid var(--danger-border-color-day);
}
}


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


#AcronymArchive {
/* .icannwiki-warning, .icannwiki-signal, .icannwiki-danger AUTOMATIC */
height:280px;
@media screen and (prefers-color-scheme: dark) {
border:1px solid #bcd7c4;
    html.skin-theme-clientpref-os .icannwiki-warning {
margin:0 0 .5em 0;
        background-color: var(--warning-bg-color-night);
float:left;
        border: 2px solid var(--warning-border-color-night);
background:white;
        border-left: 16px solid var(--warning-border-color-night);
padding:0 0em 0 0;
    }
    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
}
/* ------------------------------------------------------------------------- */


#News {
/* INTERNET GOVERNANCE ATHENEUM */
height:225px;
 
width:100%;
.atheneum-box {
border:1px solid #bcd7c4;
    border-collapse: collapse;
margin-bottom:.5em;
    border: 1px solid var(--atheneum-border-color-day);
background:white;
}
}


#Welcome {
.atheneum-box th, .atheneum-box td {
float:left;
    border: 1px solid var(--atheneum-border-color-day);
width:35%;
text-align: center;
}
}


#topbar {
.atheneum-box th {
     background: -moz-linear-gradient(#098280, #E95F26);
     background-color: var(--atheneum-header-bg-day);
     width:100%;
    color: var(--atheneum-text-color-day);
     color:white;
     text-transform: uppercase;
     font-size:5vw;
     padding: 8px;
     text-align:center;
}
     text-shadow:2px 2px black;
 
     font-weight:bold;
.atheneum-box td {
     min-height:130px;
     background-color: var(--atheneum-cell-bg-day);
     display:flex;
     color: var(--atheneum-text-color-day);
    align-items:center;
    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);
  }
}
}
#body {
 
     width:100%;
/* ------------------------------------------------------------------------- */
    margin:0 auto;
 
/* GENERIC STYLES */
 
/* Separator (blank) */
.icannwiki-clearfix {
     clear: both;
}
}
.fixed {
 
     margin:0 auto;
/* Hide bullets on lists */
     vertical-align:baseline;
.no-bullets {
     list-style: none;
    list-style-type: none;
     padding-left: 0;
}
}
.flexbox{
 
     display:flex;
/* Hide second level bullets on lists */
     flex-direction:column;
.no-second-level-bullets ul ul {
    margin: 15px 15px;
     list-style: none;
     font-size:1.3vw;
     list-style-type: none;
     padding-left: 0; /* Adjust padding to align with the parent list */
}
}
.button {
 
border-right:.2vw solid #587560;
.no-second-level-bullets ul ul li {
color:white;
    padding-left: 0px; /* Adjust padding to maintain alignment if needed */
font-weight:bold;
font-size:1.9vw;
padding:0 .5vw;
display:flex;
flex-direction:column;
width:12vw;
height:3vw;
text-align:center;
float:left;
text-shadow:1px 1px black;
}
}
.button2 {
 
color:white;
/* Centered text */
font-weight:bold;
.icannwiki-centered {
font-size:1.9vw;
    text-align: center;
padding:0 .5vw;
display:flex;
flex-direction:column;
width:12vw;
height:3vw;
text-align:center;
float:left;
}
}
#navbar {
 
background:#E95F26;
/* Justified text */
border:.2vw solid #587560;
.icannwiki-justified {
height:3vw;
    text-align: justify;
display:flex;
flex-direction:column;
}
}
.sectionheader{
 
    background:#098280;
/* Upper case text */
    width:100%;
.icannwiki-uppercase {
    color:white;
     text-transform: uppercase;
    font-size:2vw;
    text-align:center;
     text-shadow:1px 1px black;
    font-weight:bold;
    min-height:40px;
    border-radius:25px;
    display:flex;
    align-items:left;
    padding:0 0px 0 0px;
}
}
.primerlogo {
 
width:auto;
/* Larger text */
max-width:13vw;
.icannwiki-font-large {
height:auto;
    font-size: 1.25em;
max-height:13vw;
margin:0 0 2vw 3vw;
}
}

Latest revision as of 14:18, 11 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;
}

/* Header FX */
.icannwiki-section-header-highlighted {
    background: #58846a; /* Cohesive base color */
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    color: var(--section-header-text-color);
    height: 1.5em;
    padding: 0.5em;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.icannwiki-section-header-highlighted::before {
    /* Concentrated gradient with Seafoam Green accents */
    content: "";
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%, rgba(88, 132, 106, 0.3), rgba(47, 79, 47, 0.25), rgba(173, 226, 195, 0.2), rgba(43, 92, 89, 0.1));
    animation: cohesiveFlowingEffect 16s ease-in-out infinite;
    z-index: 0;
    filter: blur(8px); /* Focused glow */
}

.icannwiki-section-header-highlighted .header-text {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 2px var(--header-fx-drop-shadow), 
                 4px 4px 4px var(--header-fx-shadow-blur);
}

/* Keyframes for a smooth, flowing effect */
@keyframes cohesiveFlowingEffect {
    0% { transform: translate(0%, 0%) scale(1); }
    25% { transform: translate(8%, -8%) scale(1.05); }
    50% { transform: translate(-8%, 8%) scale(1); }
    75% { transform: translate(8%, 8%) scale(1.05); }
    100% { transform: translate(0%, 0%) scale(1); }
}

/* Body FX */
/* Enhanced highlighted box for low brightness displays */
.icannwiki-colored-box-highlighted {
    padding: 0.5em; /* Reduced padding */
    font-size: 1.05em;
    position: relative;
    background-color: #1c1c1f; /* Dark grey with slight blue undertone for contrast */
    border-radius: 8px;
    box-shadow: inset 0px 0px 10px rgba(255, 255, 255, 0.07), /* Enhanced inner glow */
                0px 4px 12px rgba(0, 0, 0, 0.6); /* Outer shadow for depth */
    color: #e8e8f0; /* Light grey text with a cool undertone */
    overflow: hidden;
    margin-bottom: 1em;
    z-index: 1;
}

/* Subtle, slightly metallic gloss overlay */
.icannwiki-colored-box-highlighted::before {
    content: "";
    position: absolute;
    top: -15%;
    left: -15%;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), rgba(88, 88, 95, 0.07), rgba(0, 0, 0, 0.15));
    animation: highlightedBoxFlowingEffect 16s ease-in-out infinite;
    z-index: 0;
    filter: blur(5px); /* Adjusted blur to make the glow slightly more pronounced */
    opacity: 0.6;
    border-radius: 12px;
}

/* Slightly enhanced sheen animation for better visibility */
.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;
}

/* Smooth, flowing animation effect */
@keyframes highlightedBoxFlowingEffect {
    0% { transform: translate(0%, 0%) scale(1); }
    25% { transform: translate(5%, -5%) scale(1.05); }
    50% { transform: translate(-5%, 5%) scale(1); }
    75% { transform: translate(5%, 5%) scale(1.05); }
    100% { transform: translate(0%, 0%) scale(1); }
}

/* Keyframes for sheen animation */
@keyframes subtleSheen {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Content style */
.icannwiki-colored-box-highlighted .content-text {
    position: relative;
    z-index: 2;
}

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

/* Left rectangular box for the "ccTLDs" image */
.icannwiki-campaign-image-box {
    min-width: 60px; /* Slightly narrower */
    height: auto;
    background-color: #333333; /* Dark grey background for the image box */
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em; /* Minimal padding */
    margin-right: 0.5em; /* Reduced spacing */
}

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

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