Mal:Infoboks/styles.css

Fra Wikipedia, den frie encyklopedi
.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?]] */
table.infoboks {
   float:right;
   border:1px solid #aaa;
   padding:3px;
   margin:0.5em 0em 1em 1em;
   background-color:#f9f9f9;
   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;
   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;
   border-bottom:1px solid #ccc;
   margin:4px;
   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;
}
.infoboks.biografi tr.overskrift th{
   background-color:#f9f9f9;
}
.infoboks.transport tr.overskrift th{
   background-color:#f9f9f9;
}
.infoboks.bygning tr.overskrift th{
   background-color:#f9f9f9;
}
.infoboks.infrastruktur tr.overskrift th{
   background-color:#f9f9f9;
}
.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;
}