MediaWiki:Monobook.css
Merk: Etter publisering vil det kanskje være nødvendig å slette mellomlageret i nettleseren din for å se endringene.
- Firefox / Safari: Hold Shift mens du klikker på Oppdater, eller trykk enten Ctrl+F5 eller Ctrl+R (⌘+R på Mac)
- Google Chrome: Trykk Ctrl+Shift+R (⌘+Shift+R på Mac)
- Internet Explorer / Edge: Hold Ctrl mens du trykker på Oppdater eller trykk Ctrl+F5
- Opera: Ttrykk Ctrl+F5.
/* rediger denne filen for å tilpasse Monobook-skinnet for hele siden */
/*'''MediaWiki:Monobook.css''' er det lokale stilarket for stilen Monobook, som er standard for alle ny og uregistrerte brukere.
==Lyseblå bakgrunn==
Gir alle sider utenfor hovednavnrommet lyseblå bakgrunn.
Dette oppnås ved å sette alle bakgrunner til blått, og deretter hovednavnrommet, forfatternavnerommet og Wikikilden-navnerommet til hvit.
Det samme gjøres for fanene.
<pre> */
#content { background: #F8FCFF; }
#mytabs li { background: #F8FCFF; }
#mytabs li a { background-color: #F8FCFF; }
#p-cactions li { background: #F8FCFF; }
#p-cactions li a { background-color: #F8FCFF; }
div.thumb { border-color: #F8FCFF; }
.ns-0 * #content { background: white; }
.ns-0 * #mytabs li { background: white; }
.ns-0 * #mytabs li a { background-color: white; }
.ns-0 * #p-cactions li { background: white; }
.ns-0 * #p-cactions li a { background-color: white; }
.ns-0 * div.thumb { border-color: white; }
.ns-4 * #content { background: white; }
.ns-4 * #mytabs li { background: white; }
.ns-4 * #mytabs li a { background-color: white; }
.ns-4 * #p-cactions li { background: white; }
.ns-4 * #p-cactions li a { background-color: white; }
.ns-4 * div.thumb { border-color: white; }
.ns-102 * #content { background: white; }
.ns-102 * #mytabs li { background: white; }
.ns-102 * #mytabs li a { background-color: white; }
.ns-102 * #p-cactions li { background: white; }
.ns-102 * #p-cactions li a { background-color: white; }
.ns-102 * div.thumb { border-color: white; }
/*</pre>
==Notices==
<pre>*/
.notice
{
text-align: justify;
margin: 1em 0.5em;
padding: 0.5em;
}
#disambig
{
border-top: 3px double #cccccc;
border-bottom: 3px double #cccccc;
}
#spoiler
{
border-top: 2px solid #ddd;
border-bottom: 2px solid #ddd;
}
/*</pre>
==Koordinater==
<pre>*/
#coordinates
{
position: absolute;
z-index: 1;
border: none;
background: none;
right: 12px;
top: 3.2em;
width: 45.0em;
float: right;
margin: 0.0em;
padding: 0.0em;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: normal;
}
#coordinates a[href ^="http://"]
{
background: url(//upload.wikimedia.org/wikipedia/de/d/d4/Gnome-globe.png) center right no-repeat;
padding-right: 18px !important;
}
/*</pre>
==Infoboks-elementer (ny)==
<pre>*/
table.infoboks {
float:right;
border:1px solid #aaa;
padding:3px;
margin:0.5em 0.5em 1em 1em;
background-color:#f5f5f5;
vertical-align:top;
width:23%;
}
table.infoboks tr.overskrift td {
text-align:center;
font-weight:bold;
font-size:140%;
background-color:#ccf;
border:none;
}
table.infoboks tr.bilde td {
background-color:#fff;
text-align:center;
border-bottom:1px solid #eee;
}
table.infoboks th {
border-bottom:1px solid #ccc;
text-align:center;
font-size:115%;
padding-top:0.3em;
}
table.infoboks td {
background-color:#efefef;
border-bottom:1px solid #ccc;
margin:4px;
padding:3px;
}
table.infoboks tr.custom td {
background:none;
border:none;
}
/*</pre>
==Infoboks-elementer (gammel)==
<pre>*/
.infoboks-start1
{
border: 1px solid #aaa;
background-color: #f9f9f9;
padding: 5px;
width: 220px;
margin-left: 1em;
float: right;
font-size: 90%;
}
.infoboks-start2
{
text-align: center;
background-color: #ccf;
}
.infoboks-start3
{
border-top: 3px solid #ccf;
border-bottom: 3px solid #ccf;
font-size: 130%;
font-weight: bold;
margin-bottom: 0.8ex;
}
.infoboks-overskrift-tr { background-color: lightgrey; }
.infoboks-overskrift-td
{
text-align: center;
font-size: 105%;
font-weight: bold;
}
.infoboks-bilde
{
text-align: center;
background-color: #fff;
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
padding: 3px;
}
.infoboks-bildetekst
{
text-align: center;
background-color: #fff;
border-bottom: 1px solid lightgrey;
}
.infoboks-selle1 { background-color: #efefef; }
.infoboks-selle1-td
{
font-weight: bold;
border-bottom: 1px solid lightgrey;
}
.infoboks-selle2 { border-bottom: 1px solid lightgrey; }
/*</pre>
==Interne lenker==
For interne lenker som er definert med full url. I Internet Explorer må man spesifisere .intern.
<pre>*/
#bodyContent a[href ^="http://no.wikipedia.org"].external
{
color: #002bb8;
background: none;
padding: 0;
}
#bodyContent a[href ^="http://no.wikipedia.org"].external:active { color: #faa700; }
#bodyContent a[href ^="http://no.wikipedia.org"].external:hover { text-decoration: underline; }
#bodyContent a[href ^="http://no.wikipedia.org"].external:visited { color: #5a3696; }
#bodyContent .intern a.external
{
color: #002bb8;
background: none;
padding: 0;
}
#bodyContent .intern a.external:active { color: #faa700; }
#bodyContent .intern a.external:hover { text-decoration: underline; }
#bodyContent .intern a.external:visited { color: #5a3696; }
/*</pre>
==[[Hovedside/ny]]==
Vil ikke ha noen effekt på andre sider
<pre>*/
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/en/8/8e/MP-open-book2.png); }
#EnWpMpSearch2 { background: url(//upload.wikimedia.org/wikipedia/en/3/3a/MP-magnifying-glass2.png) no-repeat top right; }
#EnWpMainPage { width: 100%; margin-top: 1em; }
#EnWpMainPage h2 { font-size: 130%; font-weight: bold; margin: 0; padding: 0; border: 0; }
#EnWpMpMargin { margin-right: 13.8em; }
#EnWpMpCol1 { float: left; clear: left; width: 50%; }
#EnWpMpCol2 { width: 49.9%; float: left; }
#EnWpMpBrowse { background: #f8fcff url(//upload.wikimedia.org/wikipedia/en/9/9f/MP-three-books.png) no-repeat 180% 9%; border: 1px solid #c7c7c7; }
#EnWpMpBrowseCats li { font-size: 85%; margin-left: 1em; line-height: 1.5; }
#EnWpMpBrowseCats h3 { font-size: 120%; margin: .2em 0 .1em -.8em; padding: 0; font-weight: normal; }
#EnWpMpBrowseCats h3 a { font-weight: bold; }
#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#EnWpMpFeaturedPic { text-align: center; margin: 0 0 .5em; font-size: 85%; font-weight: bold; }
#EnWpMpFeaturedPic h2 { font-size: 145%; text-align: left; }
.EnWpMpBrowseRight { float: right; width: 12.7em; }
.EnWpMpBrowseBottom { margin: 1em 0; }
.EnWpMpBrowseBottom #EnWpMpBrowseCats li, .EnWpMpBrowseBottom #EnWpMpUsefulLinks, .EnWpMpBrowseBottom #EnWpMpFeaturedPic { float: left; width: 24%; margin: 0; line-height: normal; }
.EnWpMpBrowseBottom #EnWpMpBrowseCats h3 { margin-left: 0; }
#EnWpMpUsefulLinks { clear: left; }
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; }
#EnWpMpSearch input { vertical-align: middle; }
#EnWpMpSearchInner { float: right; width: 20em; text-align: center; }
#bodySearchMP { margin: 0; padding: 0; }
#bodySearchMP .bodySearchWrap { float: right; width: 17.5em; text-align: left; padding: .8em 0; }
#bodySearchMP label { display: block; font-size: 95%; font-weight: bold; margin-bottom: -.2em; }
#bodySearchMP .bodySearchBtnGo { font-weight: bold; padding-left: .3em; padding-right: .3em; margin-left: .5em; }
.EnWpMpContentBox { border: 1px solid; margin-bottom: .9em; }
#EnWpMpCol2 .EnWpMpContentBox { margin-left: .9em; }
.EnWpMpImage { float: right; margin: 0 0 .2em .2em; }
.EnWpMpImage img { position: relative; z-index: 3; }
#EnWpMpSisterProjects { float: left; width: 49%; }
.EnWpMpSisterProject { float: left; width: 17em; margin: 0; height: 5.5em; margin: 0; }
.EnWpMpSisterImg { float: left; width: 40px; height: 100%; }
#EnWpMpOtherLangs { margin-left: 50%; }
#EnWpMainPageNoCSS { display: none; }
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/en/8/8e/MP-open-book2.png); }
#EnWpMpSearch2 { background: url(//upload.wikimedia.org/wikipedia/en/3/3a/MP-magnifying-glass2.png) no-repeat top right; }
/*</pre>
==Ymse==
<pre>*/
/* Donations link to be uncommented during fundraising drives */
#siteNotice
{
margin-top: 5px;
padding-left: 4px;
font-style: italic;
text-align: center;
}
/* patch to prevent vertical stacking of tabs at top of page in IE6 at resolutions of 800x600; this patch prevents stacking in main namespace pages but not in certain special pages, which have tabs that are of greater width */
#p-cactions { width: 80%; }
/* Ikke vis «Fra Wikipedia, den frie encyklopedi» */
#siteSub
{
display: inline;
font-size: 120%;
font-weight: normal;
}
#bodyContent #siteSub a
{
color: #000;
text-decoration: none;
background-color: transparent;
background-image: none;
padding-right: 0;
}
/*Skjuler «Fra Wikipedia, den frie encyklopedi» på skjerm*/
@media screen
{
#siteSub { display: none; }
}
/* Bold edit this page link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }
/* Display ([[MediaWiki:Alreadyloggedin]]) in red and bold */
div.alreadyloggedin
{
color: red;
font-weight: bold;
}
@media print
{
/* Det er ikke alt som skal ut på papir */
.editlink, .noprint, .metadata, .dablink { display: none; }
}
div.interbox
{
clear: both;
margin: 0px;
border: 1px solid #c0c0c0;
}
div.interbox + div.interbox { border-top-style: hidden; }
/* Opplastingssiden */
#upload
{
border: 1px solid #aaa;
border-top: none;
background: #f9f9f9;
margin: 0 5em;
padding: .5em 2em;
}
/* </pre> [[Kategori:Wikikilden|{{PAGENAME}}]] */