Difference between revisions of "MediaWiki:Common.css"

From ICANNWiki
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
     gap: 4px;
 
     gap: 4px;
 
     background-color: #61a376;
 
     background-color: #61a376;
 +
    background-image: url('images/b/bd/ICANNWiki-Background-2024-A.svg');
 +
    background-size: cover;
 
     border-radius: 4px;
 
     border-radius: 4px;
 
     margin-bottom: 4px;
 
     margin-bottom: 4px;
Line 16: Line 18:
 
/* Hides bullet points */
 
/* Hides bullet points */
 
.icannwiki-top-box ul {
 
.icannwiki-top-box ul {
list-style: none;
+
    list-style: none;
 
     list-style-type: none;
 
     list-style-type: none;
 
}
 
}
Line 22: Line 24:
 
/* Changes bullet points to a Unicode character */
 
/* Changes bullet points to a Unicode character */
 
.icannwiki-top-box ul li:before {
 
.icannwiki-top-box ul li:before {
background-image: url('https://icannwiki.org/images/b/be/1F4CC.png');
+
    background-image: url('/images/8/82/1F4CE.png');
 
     background-size: 32px 32px;
 
     background-size: 32px 32px;
 
     display: inline-block;
 
     display: inline-block;
Line 33: Line 35:
 
/* List stylings */
 
/* List stylings */
 
.icannwiki-top-box ul li {
 
.icannwiki-top-box ul li {
     font-size: 110%;
+
     font-size: 105%;
 
     margin-bottom: 4px; /* Adjusts the spacing between list items */
 
     margin-bottom: 4px; /* Adjusts the spacing between list items */
 
}
 
}
Line 60: Line 62:
 
}
 
}
  
/* Colored bounding box */
+
/* Colored bounding box with bigger text */
 
.icannwiki-colored-box {
 
.icannwiki-colored-box {
background: #f1f6f3;
+
    background: #f1f6f3;
padding-left: 1%;
+
    padding-left: 1%;
padding-right: 1%
+
    padding-right: 1%;
 +
    font-size: 1.1em;
 +
 
 
}
 
}
  
Line 82: Line 86:
 
     width: 49%;
 
     width: 49%;
 
     float: right;
 
     float: right;
 +
}
 +
 +
/* Warning templates */
 +
.icannwiki-warning {
 +
    margin: auto;
 +
    width: 75vw;
 +
    text-align: justify;
 +
    background-color: #fcba03;
 +
    border: 0px;
 
}
 
}
  
 
/* Justified text */
 
/* Justified text */
 
.icannwiki-justified {
 
.icannwiki-justified {
text-align: justify;
+
    text-align: justify;
}
 
 
 
/* Highlighted text */
 
.icannwiki-highlight {
 
color: #61a376;
 
    font-weight: bold;
 
 
}
 
}
  
Line 98: Line 105:
 
.icannwiki-text-white {
 
.icannwiki-text-white {
 
     color: #ebfcef;
 
     color: #ebfcef;
 +
   
 
}
 
}
  
 
/* Larger text */
 
/* Larger text */
 
.icannwiki-font-large {
 
.icannwiki-font-large {
     font-size: 125%;
+
     font-size: 1.25em;
 
}
 
}

Latest revision as of 21:18, 30 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('images/b/bd/ICANNWiki-Background-2024-A.svg');
    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: 105%;
    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 with bigger text */
.icannwiki-colored-box {
    background: #f1f6f3;
    padding-left: 1%;
    padding-right: 1%;
    font-size: 1.1em;

}

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

/* Warning templates */
.icannwiki-warning {
    margin: auto;
    width: 75vw;
    text-align: justify;
    background-color: #fcba03;
    border: 0px;
}

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

/* Font with darker shade of greenish white */
.icannwiki-text-white {
    color: #ebfcef;
    
}

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