Jump to content

MediaWiki:Common.css: Difference between revisions

From ICANNWiki
No edit summary
Fixed top box overflow for all resolutions
Line 9: Line 9:
     gap: 10px;
     gap: 10px;
     background-color: #61a376;
     background-color: #61a376;
     border-radius: 5px;
     border-radius: 20px;
     margin-bottom: 20px;
     margin-bottom: 10px;
     padding: 10px;
     padding: 10px;
     color: #F2EFEA;
     color: #F2EFEA;
Line 16: Line 16:


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


.icannwiki-top-box ul li {
.icannwiki-top-box ul li {
     font-size: 1.2em;
     font-size: 1.2em;
     margin-bottom: 10px; /* Adjust the spacing between list items */
     margin-bottom: 10px; /* Adjusts the spacing between list items */
}
}



Revision as of 01:29, 6 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: 10px;
    background-color: #61a376;
    border-radius: 20px;
    margin-bottom: 10px;
    padding: 10px;
    color: #F2EFEA;
}

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

.icannwiki-top-box ul li {
    font-size: 1.2em;
    margin-bottom: 10px; /* Adjusts the spacing between list items */
}

.icannwiki-top-box a {
    color: #F2EFEA;
    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: #dff4e4;
    height: 1.5em;
    margin: .2em 0 .2em 0;
    padding: 1em;
    border-radius: 5px;
}

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

/* Main page content box: left */
.icannwiki-half-width-left {
    width: 49.5%;
    float: left;
}

/* Main page content box: right */
.icannwiki-half-width-right {
    width: 49.5%;
    float: right;
}

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

/* Larger font */
.icannwiki-font-large {
    font-size: 150%;
}