MediaWiki:Common.css: Forskjell mellom sideversjoner
Fra InfoMarina Dokumentasjon
(Created page with "→CSS placed here will be applied to all skins: #ca-nstab-main { display: none !important; } #ca-talk { display: none !important; } #ca-history { display: none !important;} #ca-viewsource { display: none !important; }") |
Ingen redigeringsforklaring |
||
| (2 mellomliggende sideversjoner av samme bruker vises ikke) | |||
| Linje 1: | Linje 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
#ca-nstab-main { display: none !important; } | #ca-nstab-main { display: none !important; } | ||
#ca-nstab-user { display: none !important; } | |||
#ca-talk { display: none !important; } | #ca-talk { display: none !important; } | ||
#ca-history { display: none !important;} | #ca-history { display: none !important;} | ||
#ca-viewsource { display: none !important; } | #ca-viewsource { display: none !important; } | ||
/* ============================ | |||
📄 Standard typografi og layout | |||
============================ */ | |||
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; | |||
} | |||
#content { | |||
max-width: 960px; | |||
margin: 0 auto; | |||
padding: 1em; | |||
} | |||
p { | |||
margin-bottom: 1em; | |||
} | |||
ul, ol { | |||
margin-bottom: 1em; | |||
padding-left: 2em; | |||
} | |||
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; | |||
} | |||
pre, code { | |||
font-family: Consolas, "Courier New", monospace; | |||
background-color: #f8f8f8; | |||
padding: 0.2em 0.4em; | |||
border-radius: 3px; | |||
} | |||
img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.toc { | |||
background-color: #f9f9f9; | |||
border: 1px solid #ddd; | |||
padding: 0.5em 1em; | |||
margin-bottom: 1.5em; | |||
border-radius: 4px; | |||
} | |||
/* Overskrifter – samme font som brødtekst + justert luft */ | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: inherit; /* <-- arver fra body */ | |||
margin-top: 1.4em; | |||
margin-bottom: 0.6em; | |||
font-weight: 600; | |||
} | |||
Siste sideversjon per 21. mar. 2025 kl. 13:33
/* 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
============================ */
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;
}
#content {
max-width: 960px;
margin: 0 auto;
padding: 1em;
}
p {
margin-bottom: 1em;
}
ul, ol {
margin-bottom: 1em;
padding-left: 2em;
}
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;
}
pre, code {
font-family: Consolas, "Courier New", monospace;
background-color: #f8f8f8;
padding: 0.2em 0.4em;
border-radius: 3px;
}
img {
max-width: 100%;
height: auto;
}
.toc {
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 0.5em 1em;
margin-bottom: 1.5em;
border-radius: 4px;
}
/* Overskrifter – samme font som brødtekst + justert luft */
h1, h2, h3, h4, h5, h6 {
font-family: inherit; /* <-- arver fra body */
margin-top: 1.4em;
margin-bottom: 0.6em;
font-weight: 600;
}
