MediaWiki:Common.css: Forskjell mellom sideversjoner
Fra InfoMarina Dokumentasjon
Ingen redigeringsforklaring |
Ingen redigeringsforklaring |
||
| Linje 5: | Linje 5: | ||
#ca-history { display: none !important;} | #ca-history { display: none !important;} | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
/* ============================ | |||
📄 Standard typografi og layout | |||
============================ */ | |||
/* Universell font – moderne, lesbar og støttet på tvers av plattformer */ | |||
body { | |||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; | |||
font-size: 16px; | |||
line-height: 1.6; | |||
color: #1a1a1a; | |||
background-color: #ffffff; | |||
} | |||
/* Juster hovedinnhold */ | |||
#content { | |||
max-width: 960px; | |||
margin: 0 auto; | |||
padding: 1em; | |||
} | |||
/* Avsnitt – bedre luft og lesbarhet */ | |||
p { | |||
margin-bottom: 1em; | |||
} | |||
/* Lister – litt ekstra luft */ | |||
ul, ol { | |||
margin-bottom: 1em; | |||
padding-left: 2em; | |||
} | |||
/* Tabeller – legg til mellomrom og linjer */ | |||
table.wikitable { | |||
border-collapse: collapse; | |||
width: 100%; | |||
margin-bottom: 1em; | |||
} | |||
table.wikitable th, | |||
table.wikitable td { | |||
padding: 0.5em; | |||
border: 1px solid #ccc; | |||
text-align: left; | |||
} | |||
/* Kodeblokker – bedre font og bakgrunn */ | |||
pre, code { | |||
font-family: Consolas, "Courier New", monospace; | |||
background-color: #f8f8f8; | |||
padding: 0.2em 0.4em; | |||
border-radius: 3px; | |||
} | |||
/* Hindre at bilder flyter for mye over tekst */ | |||
img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
/* Innholdsfortegnelse – mer moderne */ | |||
.toc { | |||
background-color: #f9f9f9; | |||
border: 1px solid #ddd; | |||
padding: 0.5em 1em; | |||
margin-bottom: 1.5em; | |||
border-radius: 4px; | |||
} | |||
/* Overskrifter – litt mer luft */ | |||
h1, h2, h3, h4, h5, h6 { | |||
margin-top: 1.4em; | |||
margin-bottom: 0.6em; | |||
} | |||
Sideversjonen fra 21. mar. 2025 kl. 12:48
/* CSS placed here will be applied to all skins */
#ca-nstab-main { display: none !important; }
#ca-nstab-user { display: none !important; }
#ca-talk { display: none !important; }
#ca-history { display: none !important;}
#ca-viewsource { display: none !important; }
/* ============================
📄 Standard typografi og layout
============================ */
/* Universell font – moderne, lesbar og støttet på tvers av plattformer */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 16px;
line-height: 1.6;
color: #1a1a1a;
background-color: #ffffff;
}
/* Juster hovedinnhold */
#content {
max-width: 960px;
margin: 0 auto;
padding: 1em;
}
/* Avsnitt – bedre luft og lesbarhet */
p {
margin-bottom: 1em;
}
/* Lister – litt ekstra luft */
ul, ol {
margin-bottom: 1em;
padding-left: 2em;
}
/* Tabeller – legg til mellomrom og linjer */
table.wikitable {
border-collapse: collapse;
width: 100%;
margin-bottom: 1em;
}
table.wikitable th,
table.wikitable td {
padding: 0.5em;
border: 1px solid #ccc;
text-align: left;
}
/* Kodeblokker – bedre font og bakgrunn */
pre, code {
font-family: Consolas, "Courier New", monospace;
background-color: #f8f8f8;
padding: 0.2em 0.4em;
border-radius: 3px;
}
/* Hindre at bilder flyter for mye over tekst */
img {
max-width: 100%;
height: auto;
}
/* Innholdsfortegnelse – mer moderne */
.toc {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 0.5em 1em;
margin-bottom: 1.5em;
border-radius: 4px;
}
/* Overskrifter – litt mer luft */
h1, h2, h3, h4, h5, h6 {
margin-top: 1.4em;
margin-bottom: 0.6em;
}
