Aus skandinavien-wiki.net
/*
* Styles for all infobox templates (Quickbar*)
* Version: 2022-08-29
*/
.voy-qb { /* is table */
width: 308px;
margin: 0 0 0.5em;
border: 1px solid #6cc8f3;
border-radius: 5px;
}
body.skin-minerva table.voy-qb {
display: table; /* In der mobilen Ansicht werden Tabellen als block dargestellt! */
width: 308px !important;
margin: 0;
}
body.skin-minerva div.voy-qb {
width: 308px !important;
margin: 0;
}
.voy-qb-right {
clear: right;
float: right;
margin-left: 1em;
}
.voy-qb-left {
clear: left;
float: left;
margin-right: 1em;
}
.voy-qb-div, .voy-qb-rightdiv {
box-sizing: border-box;
overflow: hidden;
border: 1px solid #6cc8f3;
border-radius: 5px;
margin: 0;
}
.voy-qb-rightdiv {
clear: right;
float: right;
margin: 0 0 0.5em 1em;
}
.voy-qb-div .voy-qb, .voy-qb-rightdiv .voy-qb {
border: none;
margin: 0;
}
.voy-qb td {
padding: 2px 4px;
vertical-align: baseline;
}
.voy-qb th {
padding: 2px 4px;
vertical-align: baseline;
text-align: left;
font-weight: bold;
}
.voy-qb .voy-qb-header {
text-align: center;
color: #004f80;
padding: 0.3em 0.35em;
font-size: 1.2em;
background: #f0f0f0;
border-top: 1px solid #c0c0c0;
}
.voy-qb tr:first-child .voy-qb-header {
border-top: none;
border-radius: 5px 5px 0 0;
}
.voy-qb-image, .voy-qb-item-image {
text-align: center;
padding: 5px 3px;
margin-left: auto;
margin-right: auto;
}
.voy-qb-image div.thumb, .voy-qb-item-image div.thumb {
border-style: none;
margin-bottom: 0;
margin-top: 0;
}
.voy-qb-image div.thumbinner, .voy-qb-item-image div.thumbinner {
border-style: none;
padding: 0 !important;
background: transparent;
margin: 0 auto;
}
.voy-qb-image div.tright, .voy-qb-image .thumb.tright,
.voy-qb-item-image div.tright, .voy-qb-item-image .thumb.tright{
float: none;
margin: 0;
padding: 0;
}
.voy-qb .voy-qb-imagecell {
padding: 0;
}
.voy-qb .voy-qb-item-image {
padding: 3px 1px;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.voy-qb-imagecell .voy-qb-header {
border-bottom: none;
}
.voy-qb-empty {
display: none;
}
.voy-qb-twoimages {
width: 100%;
}
.voy-qb-flag img, #qb_flag img /* <- veraltet */ {
box-shadow: 2px 2px 6px #a4a4a4;
}
.voy-qb-line td {
padding: 0 4px;
height: 1px;
vertical-align: middle;
}
.voy-qb-line td hr {
height: 0px;
border-bottom: 1px solid gray;
}
.voy-qb-altimage {
clear: right;
float: right;
display: none;
}
@media print {
#content .voy-qb { border-width: 0.25mm; }
#content .voy-qb .voy-qb-header {
font-size: 1em;
background: #f0f0f0;
border-top: 0.25mm solid #c0c0c0;
border-bottom: 0.25mm solid #c0c0c0;
}
}
/* Mobile devices */
@media screen and (max-width: 600px) {
.voy-qb-rightdiv, .voy-qb-right, .voy-qb-left {
clear: both;
float: none;
margin-left: 0;
margin-right: 0;
}
.voy-qb-rightdiv {
width: auto !important;
margin: 0.7em 0;
}
body.skin-minerva table.voy-qb, body.skin-minerva div.voy-qb,
body.skin-minerva .voy-qb-div .voy-qb, body.skin-minerva .voy-qb-rightdiv .voy-qb {
width: 100% !important;
}
}