MediaWiki:Common.css: Forskjell mellom sideversjoner
Utseende
mIngen redigeringsforklaring |
mIngen redigeringsforklaring |
||
| Linje 92: | Linje 92: | ||
.mainpage_boxcontents { | .mainpage_boxcontents { | ||
background: #ffffff; | background: #ffffff; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
} | } | ||
| Linje 112: | Linje 107: | ||
.mainpage_middleblock .mainpage_hubbox { | .mainpage_middleblock .mainpage_hubbox { | ||
width: | width: 33%; | ||
} | } | ||
| Linje 120: | Linje 115: | ||
} | } | ||
. | .mainpage_aboutcell .mainpage_boxtitle { | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linje 127: | Linje 122: | ||
} | } | ||
. | .mainpage_downloadcell .mainpage_boxtitle { | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linje 134: | Linje 129: | ||
} | } | ||
. | .mainpage_opportunitiescell .mainpage_boxtitle { | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linje 141: | Linje 136: | ||
} | } | ||
. | .mainpage_featuredpagescell .mainpage_boxtitle { | ||
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png); | background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png); | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| Linje 178: | Linje 173: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
float: left; | float: left; | ||
width: | width: 32%; | ||
} | } | ||
} | } | ||
| Linje 193: | Linje 188: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
float: left; | float: left; | ||
} | } | ||
.mainpage_row3 . | .mainpage_row3 .mainpage_downloadcell { | ||
flex: | flex: 1 2 15em; | ||
min-width: 10em; | min-width: 10em; | ||
max-width: 20em; | max-width: 20em; | ||
} | } | ||
.mainpage_row3 . | .mainpage_row3 .mainpage_aboutcell { | ||
flex: 6 0 20em; | flex: 6 0 20em; | ||
margin-right: 0.7em; | margin-right: 0.7em; | ||
} | } | ||
.mainpage_row3 . | .mainpage_row3 .mainpage_opportunitiescell { | ||
flex: 1 2 15em; | flex: 1 2 15em; | ||
min-width: 10em; | min-width: 10em; | ||
| Linje 225: | Linje 213: | ||
} | } | ||
@media screen and (max-width: 55em) { | @media screen and (max-width: 55em) { | ||
.mainpage_row3 . | .mainpage_row3 .mainpage_aboutcell { | ||
order: -1; | order: -1; | ||
flex: 1 0 100%; | flex: 1 0 100%; | ||
Sideversjonen fra 10. sep. 2018 kl. 01:33
/* @import "https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"; */
/* @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css); */
/* CSS plassert i denne filen vil gjelde for alle utseender. For mobil, se: MediaWiki:Mobile.css */
/* Only for mobile devices */
.onlymobile {
display:none;
}
/* Forside
Skjuler visse elementer fra headeren på hovedsiden */
body.page-Forside #siteSub,
body.page-Forside h1.firstHeading {
display: none !important;
}
/* Forside Infobokser */
.mainpage_layouttable {
border: 0;
margin: 0;
width: 100%;
border-spacing: 10px;
}
.mainpage_layouttable * > tr > td {
vertical-align: top;
}
.mainpage_boxtitle {
font-size: 105%;
padding: 0.4em;
background-color: #eeeeee;
font-weight: bold;
min-height: 2em;
vertical-align: middle;
}
.mainpage_boxtitle1 {
font-size: 120%;
color: #fff;
padding: 0.4em;
background-color: #f26522;
font-weight: bold;
min-height: 1em;
vertical-align: middle;
}
.mainpage_boxtitle2 {
font-size: 120%;
color: #fff;
padding: 0.4em;
background-color: #7cc3d9;
font-weight: bold;
min-height: 1em;
vertical-align: middle;
}
.mainpage_boxtitle3 {
font-size: 120%;
color: #fff;
padding: 0.4em;
background-color: #8dc63f;
font-weight: bold;
min-height: 1em;
vertical-align: middle;
}
.mainpage_boxtitle4 {
font-size: 120%;
color: #fff;
padding: 0.4em;
background-color: #006699;
font-weight: bold;
min-height: 1em;
vertical-align: middle;
}
.mainpage_pagetitle {
color: #cf7606;
font-size: 200%;
padding: 0.2em 0.4em;
}
.mainpage_sitelinks {
padding: 0.2em;
text-align: center;
background-color: white;
font-weight: bold;
}
.mainpage_hubtitle {
text-align: center;
}
.mainpage_boxcontents {
background: #ffffff;
padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
font-size: 95%;
}
.mainpage_boxcontents_title {
display: block;
margin-bottom: 0.5em;
font-weight: bold;
font-size: larger;
}
.mainpage_middleblock .mainpage_hubbox {
width: 33%;
}
.mainpage_hubbox, .mainpage_topbox {
padding: 0;
border: 1px solid #aaaaaa;
}
.mainpage_aboutcell .mainpage_boxtitle {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Exquisite-khelpcenter.png/20px-Exquisite-khelpcenter.png);
background-repeat: no-repeat;
background-position: 99% 0.3em;
padding-right: 25px;
}
.mainpage_downloadcell .mainpage_boxtitle {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Crystal_Clear_action_build.png/18px-Crystal_Clear_action_build.png);
background-repeat: no-repeat;
background-position: 96% 0.33em;
padding-right: 25px;
}
.mainpage_opportunitiescell .mainpage_boxtitle {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/6/63/User-online.svg/20px-User-online.svg.png);
background-repeat: no-repeat;
background-position: 98% 0.15em;
padding-right: 25px;
}
.mainpage_featuredpagescell .mainpage_boxtitle {
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Note_icon.svg/20px-Note_icon.svg.png);
background-repeat: no-repeat;
background-position: 98% 0.15em;
padding-right: 25px;
}
.mainpage_mwtitle {
color: #005288;
}
.mainpage_notice {
background: #f9f9f9;
border: 1px solid #aaaaaa;
margin: 0.2em 10px 10px;
padding:0.2em 0.4em;
text-align: center;
font-size: 125%
}
.mainpage_row2,
.mainpage_row3 {
/*display: -webkit-box;*/
/*display: -moz-box;*/
/*display: -ms-flexbox;*/
/*display: -webkit-flex;*/
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 1em 0;
}
@media screen and (min-width: 45em) {
.mainpage_row2 .mainpage_hubbox {
box-sizing: border-box;
float: left;
width: 32%;
}
}
@media screen and (max-width: 45em) {
.mainpage_row2 .mainpage_hubbox {
box-sizing: border-box;
flex: 1 0 100%;
width: 100%;
margin: 0.5em 0
}
}
@media screen and (min-width: 45em) {
.mainpage_row3 .mainpage_hubbox {
box-sizing: border-box;
float: left;
}
.mainpage_row3 .mainpage_downloadcell {
flex: 1 2 15em;
min-width: 10em;
max-width: 20em;
}
.mainpage_row3 .mainpage_aboutcell {
flex: 6 0 20em;
margin-right: 0.7em;
}
.mainpage_row3 .mainpage_opportunitiescell {
flex: 1 2 15em;
min-width: 10em;
max-width: 20em;
}
}
@media screen and (max-width: 45em) {
.mainpage_row3 .mainpage_hubbox {
box-sizing: border-box;
flex: 1 0 100%;
width: 100%;
margin: 0.5em 0;
}
}
@media screen and (max-width: 55em) {
.mainpage_row3 .mainpage_aboutcell {
order: -1;
flex: 1 0 100%;
width: 100%;
margin-left: 0;
}
}
/* TWO COLUM FLOAT FORSIDE */
.column-row3 {
float: left;
width: 50%;
}
/* Clear floats after the columns */
.row3:after {
content: "";
display: table;
clear: both;
}
.row3 {
display: flex;
}
.column {
flex: 50%;
}
/* Statistikk-tabeller, flytende */
div.statistikk {
float: left;
margin: auto;
padding: 10px;
display: inline-flex;
}