Content added Content deleted
mNo edit summary |
(adding mainpage stuff, tagline, collapsible elements, refs, banner stuff etc.) |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ |
/* CSS placed here will be applied to all skins */ |
||
/****************************** |
|||
* Hide items on main page |
|||
******************************/ |
|||
.action-view.page-Main_Page #siteSub, |
|||
.action-view.page-Main_Page #contentSub, |
|||
.action-view.page-Main_Page .firstHeading { |
|||
display: none !important; |
|||
} |
|||
/****************************** |
|||
* Changing the tagline |
|||
******************************/ |
|||
#siteSub { |
|||
display:block; |
|||
font-weight:500; |
|||
font-size:90%; |
|||
padding-bottom: 1em; |
|||
} |
|||
/****************************** |
/****************************** |
||
* To make images responsive |
* To make images responsive |
||
Line 11: | Line 30: | ||
* Columns on the main page |
* Columns on the main page |
||
******************************/ |
******************************/ |
||
@media all and (min-width: 1200px) { |
@media all and (min-width: 1200px) { |
||
.column { |
.column { |
||
Line 26: | Line 44: | ||
text-align: center; |
text-align: center; |
||
} |
} |
||
} |
|||
/****************************** |
|||
* Collapsible elements |
|||
******************************/ |
|||
.mw-collapsible-toggle-default::before { |
|||
content: '('; |
|||
} |
|||
.mw-collapsible-toggle-default::after { |
|||
content: ')'; |
|||
} |
|||
.mw-collapsible-toggle { |
|||
float: right; |
|||
padding: 2px 5px; |
|||
} |
|||
/****************************** |
|||
* Font-size in text editor |
|||
******************************/ |
|||
#wpTextbox1 { |
|||
font-size:0.9em; |
|||
} |
|||
/****************************** |
|||
* Make references smaller |
|||
******************************/ |
|||
ol.references, |
|||
div.reflist, |
|||
div.refbegin { |
|||
font-size: 90%; /* Default font-size */ |
|||
margin-bottom: 0.5em; |
|||
} |
|||
div.refbegin-100 { |
|||
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */ |
|||
} |
|||
div.reflist ol.references { |
|||
font-size: 100%; /* Reset font-size when nested in div.reflist */ |
|||
list-style-type: inherit; /* Enable custom list style types */ |
|||
} |
|||
/*************************************** |
|||
* Banner and photo slider on main page |
|||
***************************************/ |
|||
.banner-image { |
|||
position: relative; |
|||
overflow: hidden; |
|||
max-width: 1125px; |
|||
height: auto; |
|||
margin-bottom: .6em; |
|||
} |
|||
.banner-image img { |
|||
max-width: 100%; |
|||
height: auto; |
|||
width: auto\9; |
|||
} |
|||
.banner-box-wide { |
|||
width: 80% |
|||
} |
|||
.banner-box-left, |
|||
.banner-box-right { |
|||
padding: 8px 7px; |
|||
background: rgb(16,16,16); |
|||
background: rgba(0,0,0,0.3); |
|||
border-radius: 4px; |
|||
width: 40%; |
|||
} |
|||
.banner-box-left { |
|||
left: 3%; |
|||
text-align: left; |
|||
} |
|||
.banner-box-right { |
|||
right: 3%; |
|||
text-align: right; |
|||
} |
|||
.mainpage-shadowbox { |
|||
color: white; |
|||
background: rgb(16,16,16); |
|||
background: rgba(0,0,0,0.3); |
|||
border-radius: 4px; |
|||
} |
|||
.mainpage-shadowbox h2, .mainpage-shadowbox h3 { |
|||
color: white; |
|||
border:none; |
|||
font-family: sans-serif; |
|||
line-height: 1.2em; |
|||
margin:0; |
|||
} |
|||
.mainpage-shadowbox h2 { |
|||
font-size: 190%; |
|||
} |
|||
.mainpage-shadowbox h3 { |
|||
font-size: 150%; |
|||
padding: 0; |
|||
} |
|||
#mainpage-maplinks a, .mainpage-shadowbox a { |
|||
color: white; |
|||
font-weight: bold; |
|||
} |
|||
.banner-box-2 { |
|||
position: absolute; |
|||
z-index: 2; |
|||
margin-top: 2em; |
|||
min-width: 20em; |
|||
} |
|||
.banner-box-2 .quote { |
|||
font-size: 90%; |
|||
line-height: 1.2em; |
|||
} |
} |
Revision as of 00:18, 15 January 2023
/* CSS placed here will be applied to all skins */
/******************************
* Hide items on main page
******************************/
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
display: none !important;
}
/******************************
* Changing the tagline
******************************/
#siteSub {
display:block;
font-weight:500;
font-size:90%;
padding-bottom: 1em;
}
/******************************
* To make images responsive
******************************/
.res-img img {
max-width:100%;
height:auto;
}
/******************************
* Columns on the main page
******************************/
@media all and (min-width: 1200px) {
.column {
float: left;
width: 50%;
}
.column-first {
padding-right: 10px;
}
.column-second {
padding-left: 10px;
}
.sister-projects {
text-align: center;
}
}
/******************************
* Collapsible elements
******************************/
.mw-collapsible-toggle-default::before {
content: '(';
}
.mw-collapsible-toggle-default::after {
content: ')';
}
.mw-collapsible-toggle {
float: right;
padding: 2px 5px;
}
/******************************
* Font-size in text editor
******************************/
#wpTextbox1 {
font-size:0.9em;
}
/******************************
* Make references smaller
******************************/
ol.references,
div.reflist,
div.refbegin {
font-size: 90%; /* Default font-size */
margin-bottom: 0.5em;
}
div.refbegin-100 {
font-size: 100%; /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
font-size: 100%; /* Reset font-size when nested in div.reflist */
list-style-type: inherit; /* Enable custom list style types */
}
/***************************************
* Banner and photo slider on main page
***************************************/
.banner-image {
position: relative;
overflow: hidden;
max-width: 1125px;
height: auto;
margin-bottom: .6em;
}
.banner-image img {
max-width: 100%;
height: auto;
width: auto\9;
}
.banner-box-wide {
width: 80%
}
.banner-box-left,
.banner-box-right {
padding: 8px 7px;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
width: 40%;
}
.banner-box-left {
left: 3%;
text-align: left;
}
.banner-box-right {
right: 3%;
text-align: right;
}
.mainpage-shadowbox {
color: white;
background: rgb(16,16,16);
background: rgba(0,0,0,0.3);
border-radius: 4px;
}
.mainpage-shadowbox h2, .mainpage-shadowbox h3 {
color: white;
border:none;
font-family: sans-serif;
line-height: 1.2em;
margin:0;
}
.mainpage-shadowbox h2 {
font-size: 190%;
}
.mainpage-shadowbox h3 {
font-size: 150%;
padding: 0;
}
#mainpage-maplinks a, .mainpage-shadowbox a {
color: white;
font-weight: bold;
}
.banner-box-2 {
position: absolute;
z-index: 2;
margin-top: 2em;
min-width: 20em;
}
.banner-box-2 .quote {
font-size: 90%;
line-height: 1.2em;
}