Mal:Infoboks/styles.css: Forskjell mellom sideversjoner
Hopp til navigering
Hopp til søk
Ingen redigeringsforklaring |
m 4 sideversjoner ble importert |
||
| (4 mellomliggende versjoner av 3 brukere er ikke vist) | |||
| Linje 10: | Linje 10: | ||
.wd-editable-hide .wb-edithandle { | .wd-editable-hide .wb-edithandle { | ||
display:none; | display:none; | ||
} | |||
/* Midlertidig fiks for Vector-2022. Se [[Wikipedia:Torget#Tekst_i_infobokser?]] */ | |||
/* | |||
==Infoboks-elementer (ny)== | |||
*/ | |||
table.infoboks { | |||
float:right; | |||
border:1px solid #aaa; | |||
padding:3px; | |||
margin:0.5em 0em 1em 1em; | |||
background-color:#f9f9f9; | |||
color:black; | |||
vertical-align:top; | |||
text-align: left; | |||
font-size: 88%; | |||
} | |||
table.infoboks tr.overskrift th { | |||
text-align:center; | |||
font-weight:bold; | |||
font-size:larger; | |||
border:none; | |||
} | |||
table.infoboks tr.bilde td { | |||
background-color:#fff; | |||
color:black; | |||
text-align:center; | |||
vertical-align:middle; | |||
border:none; | |||
} | |||
table.infoboks th { | |||
border-bottom:1px solid #ccc; | |||
text-align:center; | |||
padding-left:3px; | |||
padding-right:3px; | |||
padding-top:0.3em; | |||
} | |||
table.infoboks td { | |||
background-color:#efefef; | |||
color:black; | |||
border-bottom:1px solid #ccc; | |||
margin:0; | |||
padding:3px; | |||
} | |||
table.infoboks tr.custom td { | |||
background:none; | |||
border:none; | |||
} | |||
table.infoboks tr.rad th { | |||
text-align:left; | |||
font-weight:bold; | |||
border:none; | |||
padding-left:3px; | |||
padding-right:3px; | |||
padding-top:0.2em; | |||
padding-bottom:0.1em; | |||
} | |||
table.infoboks tr.rad td { | |||
text-align:left; | |||
font-weight:normal; | |||
border:none; | |||
padding-left:3px; | |||
padding-right:3px; | |||
padding-top:0.2em; | |||
padding-bottom:0.1em; | |||
background-color:#f9f9f9; | |||
} | |||
table.infoboks tr.rad td.center { | |||
text-align:center; | |||
} | |||
table.infoboks tr.rad td.headercenter { | |||
text-align:center; | |||
font-weight:bold; | |||
border:none; | |||
padding-left:0px; | |||
padding-right:0px; | |||
padding-top:0.2em; | |||
padding-bottom:0.1em; | |||
background-color:#f9f9f9; | |||
} | |||
table.infoboks tr.hode th { | |||
padding-left:0px; | |||
padding-right:0px; | |||
padding-top:0.2em; | |||
padding-bottom:0.1em; | |||
} | |||
table.infoboks tr.bilde td { | |||
text-align:center; | |||
font-weight:normal; | |||
border:none; | |||
padding-left:3px; | |||
padding-right:3px; | |||
padding-top:0; | |||
padding-bottom:0; | |||
background-color:#f9f9f9; | |||
} | |||
table.infoboks tr.overskrift td { | |||
text-align:center; | |||
font-weight:bold; | |||
background-color:#eee; | |||
border:none; | |||
padding-left:0px; | |||
padding-right:0px; | |||
padding-top:0.2em; | |||
padding-bottom:0.1em; | |||
} | |||
/* ekstra klasser for mulig differensiering */ | |||
.infoboks.geografi tr.overskrift th{ | |||
background-color:#f9f9f9; | |||
color:black; | |||
} | |||
.infoboks.biografi tr.overskrift th{ | |||
background-color:#f9f9f9; | |||
color:black; | |||
} | |||
.infoboks.transport tr.overskrift th{ | |||
background-color:#f9f9f9; | |||
color:black; | |||
} | |||
.infoboks.bygning tr.overskrift th{ | |||
background-color:#f9f9f9; | |||
color:black; | |||
} | |||
.infoboks.infrastruktur tr.overskrift th{ | |||
background-color:#f9f9f9; | |||
color:black; | |||
} | |||
.infoboks.bred tr.overskrift td { | |||
font-size:larger; | |||
} | |||
.infoboks.ekstrabred tr.overskrift td { | |||
font-size:larger; | |||
} | |||
/* ekstra klasser for kantlinjer */ | |||
.infoboks.bordered tr.rad th{ | |||
border-bottom:1px solid #ccc; | |||
} | |||
.infoboks.bordered tr.rad td { | |||
border-bottom:1px solid #ccc; | |||
} | } | ||
Siste sideversjon per 22. apr. 2026 kl. 01:08
.wb-edithandle {
display:none;
padding-left: 0.5em;
}
.wd-editable-show .wb-edithandle {
display:inline;
}
.wd-editable-hide .wb-edithandle {
display:none;
}
/* Midlertidig fiks for Vector-2022. Se [[Wikipedia:Torget#Tekst_i_infobokser?]] */
/*
==Infoboks-elementer (ny)==
*/
table.infoboks {
float:right;
border:1px solid #aaa;
padding:3px;
margin:0.5em 0em 1em 1em;
background-color:#f9f9f9;
color:black;
vertical-align:top;
text-align: left;
font-size: 88%;
}
table.infoboks tr.overskrift th {
text-align:center;
font-weight:bold;
font-size:larger;
border:none;
}
table.infoboks tr.bilde td {
background-color:#fff;
color:black;
text-align:center;
vertical-align:middle;
border:none;
}
table.infoboks th {
border-bottom:1px solid #ccc;
text-align:center;
padding-left:3px;
padding-right:3px;
padding-top:0.3em;
}
table.infoboks td {
background-color:#efefef;
color:black;
border-bottom:1px solid #ccc;
margin:0;
padding:3px;
}
table.infoboks tr.custom td {
background:none;
border:none;
}
table.infoboks tr.rad th {
text-align:left;
font-weight:bold;
border:none;
padding-left:3px;
padding-right:3px;
padding-top:0.2em;
padding-bottom:0.1em;
}
table.infoboks tr.rad td {
text-align:left;
font-weight:normal;
border:none;
padding-left:3px;
padding-right:3px;
padding-top:0.2em;
padding-bottom:0.1em;
background-color:#f9f9f9;
}
table.infoboks tr.rad td.center {
text-align:center;
}
table.infoboks tr.rad td.headercenter {
text-align:center;
font-weight:bold;
border:none;
padding-left:0px;
padding-right:0px;
padding-top:0.2em;
padding-bottom:0.1em;
background-color:#f9f9f9;
}
table.infoboks tr.hode th {
padding-left:0px;
padding-right:0px;
padding-top:0.2em;
padding-bottom:0.1em;
}
table.infoboks tr.bilde td {
text-align:center;
font-weight:normal;
border:none;
padding-left:3px;
padding-right:3px;
padding-top:0;
padding-bottom:0;
background-color:#f9f9f9;
}
table.infoboks tr.overskrift td {
text-align:center;
font-weight:bold;
background-color:#eee;
border:none;
padding-left:0px;
padding-right:0px;
padding-top:0.2em;
padding-bottom:0.1em;
}
/* ekstra klasser for mulig differensiering */
.infoboks.geografi tr.overskrift th{
background-color:#f9f9f9;
color:black;
}
.infoboks.biografi tr.overskrift th{
background-color:#f9f9f9;
color:black;
}
.infoboks.transport tr.overskrift th{
background-color:#f9f9f9;
color:black;
}
.infoboks.bygning tr.overskrift th{
background-color:#f9f9f9;
color:black;
}
.infoboks.infrastruktur tr.overskrift th{
background-color:#f9f9f9;
color:black;
}
.infoboks.bred tr.overskrift td {
font-size:larger;
}
.infoboks.ekstrabred tr.overskrift td {
font-size:larger;
}
/* ekstra klasser for kantlinjer */
.infoboks.bordered tr.rad th{
border-bottom:1px solid #ccc;
}
.infoboks.bordered tr.rad td {
border-bottom:1px solid #ccc;
}