MediaWiki:Common.css: Forskjell mellom sideversjoner
Ingen redigeringsforklaring |
mIngen redigeringsforklaring |
||
| Linje 12: | Linje 12: | ||
body.page-Forside h1.firstHeading { | body.page-Forside h1.firstHeading { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Forside Infobokser */ | |||
.mainpage_boxtitle { | |||
font-size: 105%; | |||
padding: 0.4em; | |||
background-color: #eeeeee; | |||
font-weight: bold; | |||
min-height: 2em; | |||
vertical-align: middle; | |||
} | |||
.mainpage_middleblock .mainpage_hubbox { | |||
width: 33%; | |||
} | |||
.mainpage_hubbox, .mainpage_topbox { | |||
padding: 0; | |||
border: 1px solid #aaaaaa; | |||
} | |||
.mainpage_newscell .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_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 | |||
} | |||
} | } | ||