MediaWiki:Common.css: Forskjell mellom sideversjoner
mIngen redigeringsforklaring |
mIngen redigeringsforklaring |
||
| (116 mellomliggende sideversjoner av samme bruker vises ikke) | |||
| Linje 1: | Linje 1: | ||
/* This is the CSS for all skins (for all users) on Rettspraksis.no. */ | /* This is the CSS for all skins (for all users) on Rettspraksis.no. */ | ||
/* CSS | /* @import url( 'https://fonts.googleapis.com/css2?family=Roboto '); */ | ||
/* CSS placed in this file will apply to all pages. For mobile view, see: MediaWiki:Mobile.css */ | |||
/* SECTIONS: | /* SECTIONS: | ||
1. Main page styling | 1. General | ||
2. Main page styling | |||
2. Court decisions styling | 2. Court decisions styling | ||
3. Various | 3. Various | ||
| Linje 12: | Linje 15: | ||
/** | /** | ||
* 1. MAIN PAGE / Forside | * 1. General | ||
* ------------------------------------------------- | |||
*/ | |||
/* body {font-family: "Roboto", sans-serif;} */ | |||
/* .firstHeading {font-size: 1.4375em;font-weight: 700;} */ | |||
/* #content h1, | |||
#content h2, | |||
#content h3, | |||
#content h4, | |||
#content h5, | |||
#content h6 { | |||
font-family: "Roboto", sans-serif; | |||
font-weight: 700; | |||
-webkit-font-smoothing: antialiased; | |||
color: #800020; | |||
} */ | |||
.mw-body, .parsoid-body { | |||
color: #333; | |||
} | |||
.mw-body-content { | |||
font-size: 0.9375em; | |||
line-height: 1.375; | |||
} | |||
/** | |||
* 2. MAIN PAGE / Forside | |||
* ------------------------------------------------- | * ------------------------------------------------- | ||
*/ | */ | ||
/* Hide elements on the main page */ | /* Hide elements on the main page */ | ||
.page-Forside #ca-nstab-main, | |||
.page-Forside #ca-talk, | |||
.page-Forside #ca-view, | |||
.page-Forside #ca-ve-edit, | |||
.page-Forside #ca-formedit, | |||
.page-Forside #ca-history, | |||
.page-Forside #lastmod, | .page-Forside #lastmod, | ||
.page-Forside #siteSub, | .page-Forside #siteSub, | ||
| Linje 23: | Linje 61: | ||
.page-Forside #jump-to-nav, | .page-Forside #jump-to-nav, | ||
.page-Forside .firstHeading { | .page-Forside .firstHeading { | ||
display: none !important; | |||
} | |||
/* Skjuler categori-lenker på forsiden */ | |||
body.page-Forside #catlinks { | |||
display: none; | display: none; | ||
} | } | ||
| Linje 40: | Linje 83: | ||
.mainpage_boxtitle { | .mainpage_boxtitle { | ||
font-size: 120%; | font-size: 120%; | ||
color: # | color: #911313; | ||
padding: 0.4em; | padding: 0.4em; | ||
background-color: #eeeeee; | background-color: #eeeeee; | ||
| Linje 82: | Linje 125: | ||
color: #fff; | color: #fff; | ||
padding: 0.4em; | padding: 0.4em; | ||
background-color: # | background-color: #dd3333; | ||
font-weight: bold; | font-weight: bold; | ||
min-height: 1em; | min-height: 1em; | ||
| Linje 201: | Linje 244: | ||
/** | /** | ||
* | * 3. COURT DECISIONS | ||
* ------------------------------------------------- | * ------------------------------------------------- | ||
*/ | */ | ||
| Linje 208: | Linje 251: | ||
font-size: 1.313em; | font-size: 1.313em; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #800020; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
display: block; | display: block; | ||
| Linje 219: | Linje 262: | ||
font-size: 1.125em; | font-size: 1.125em; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #800020; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
display: block; | display: block; | ||
| Linje 230: | Linje 273: | ||
font-size: 1em; | font-size: 1em; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #800020; | ||
letter-spacing: 0; | letter-spacing: 0; | ||
display: block; | display: block; | ||
| Linje 261: | Linje 304: | ||
/** | /** | ||
* | * 4. VARIOUS | ||
* ------------------------------------------------- | * ------------------------------------------------- | ||
*/ | */ | ||
| Linje 274: | Linje 317: | ||
/** | /** | ||
* | * 5. MOBILE DEVICES | ||
* ------------------------------------------------- | * ------------------------------------------------- | ||
*/ | */ | ||
| Linje 284: | Linje 327: | ||
/** | /** | ||
* | * 6. TESTING | ||
* ------------------------------------------------- | * ------------------------------------------------- | ||
*/ | */ | ||
/* Testing for code review */ | /* Testing for code review */ | ||
/* New flexboxes on main page 2end row */ | |||
.mainpage_row { | |||
display: flex; | |||
flex-direction: row; | |||
flex-flow: row wrap; | |||
justify-content: space-between; | |||
padding: 0; | |||
margin: 0 -5px 0 -5px; | |||
} | |||
.mainpage_box { | |||
flex: 1; | |||
margin: 5px; | |||
min-width: 210px; | |||
border: 1px solid #CCC; | |||
padding: 0 10px 10px 10px; | |||
box-shadow: 0 2px 2px rgba(0,0,0,0.1); | |||
} | |||
.mainpage_box h2, h3 { | |||
padding-top: 0; | |||
padding-right: 0; | |||
padding-bottom: 0; | |||
padding-left: 0; | |||
letter-spacing: 0.02em; | |||
margin: 0.5em 0; | |||
border-bottom: none; | |||
} | |||
.mainpage_box .items { | |||
border-top: 1px solid #CCC; | |||
padding-top: 0.5em; | |||
} | |||
.mainpage_box .item1 { | |||
border-top: 3px solid #ffbe00; | |||
} | |||
.mainpage_box .item2 { | |||
border-top: 3px solid #7cc3d9; | |||
padding-top: 0.5em; | |||
} | |||
.mainpage_box .item3 { | |||
border-top: 3px solid #8dc63f; | |||
padding-top: 0.5em; | |||
} | |||
.mainpage_box p:last-child { | |||
margin-bottom: 0; | |||
} | |||