MediaWiki:Common.css: Skillnad mellan sidversioner
Hoppa till navigering
Höken (diskussion | bidrag) Ingen redigeringssammanfattning |
Höken (diskussion | bidrag) (fr netwiki. Uppdaterar för ny css) |
||
Rad 3: | Rad 3: | ||
/* Ändrar storleken på fönstret mm*/ | /* Ändrar storleken på fönstret mm*/ | ||
.mw-body a { | |||
color: #804000; | |||
font-weight: bold; | |||
# | |||
} | } | ||
.mw-body a.external { | |||
color: #804000 !important; | |||
} | } | ||
# | #document-wrapper { | ||
max-width: 1160px; | |||
} | |||
.tribal-button { | |||
width: 190px !important; | |||
. | } | ||
.with-button .tbbox-headline { | |||
width: 100% !important; | |||
} | } | ||
#toc{ | |||
display:inline-block; | |||
width: auto; | |||
} | } | ||
table | table { | ||
width: auto; | |||
} | } | ||
table. | table.transparent, table.transparent > tbody > tr > td { | ||
border:none; | |||
background:none !important; | |||
} | } | ||
table.transparent { width:100%;} | |||
table. | div.tbbox-logo {z-index:100;} | ||
display: | @media screen and (max-width: 990px) { | ||
table.transparent > tbody > tr > td { | |||
display:block; | |||
} | |||
} | } | ||
/* Slut | /* Slut storleksreglering */ | ||
/* Tooltip on mouse-over; Quests */ | /* Tooltip on mouse-over; Quests */ |
Versionen från 12 februari 2018 kl. 16.40
/* CSS som skrivs här påverkar alla skal */ /* Ändrar storleken på fönstret mm*/ .mw-body a { color: #804000; font-weight: bold; } .mw-body a.external { color: #804000 !important; } #document-wrapper { max-width: 1160px; } .tribal-button { width: 190px !important; } .with-button .tbbox-headline { width: 100% !important; } #toc{ display:inline-block; width: auto; } table { width: auto; } table.transparent, table.transparent > tbody > tr > td { border:none; background:none !important; } table.transparent { width:100%;} div.tbbox-logo {z-index:100;} @media screen and (max-width: 990px) { table.transparent > tbody > tr > td { display:block; } } /* Slut storleksreglering */ /* Tooltip on mouse-over; Quests */ .tooltipanchor { position: relative; display: inline-block; border-bottom: 1px dotted black; background-color: none; cursor: help; } .tooltipanchor .tooltipbox { visibility: hidden; opacity: 0; transition: opacity 1s; max-width: 400px; background: url(https://wiki.the-west.se/images/5/53/Bakgrund.png) repeat; color: #242424; text-align: left; font-size: 14px; padding: 20px 20px; border-radius: 6px; border-style: solid; border-width: 2px; box-shadow: 0px 0px 4px #000; position: absolute; z-index: 1; top:-5px; left: 105%; } .tooltipanchor:hover .tooltipbox { visibility: visible; opacity: .95; } .tooltipanchor:hover { background-color: #fef0d3; } /* Tooltip, inte quest */ .tooltipanchor_alt { position: relative; cursor: help; } .tooltipanchor_alt .tooltipbox_alt { visibility: hidden; opacity: 0; transition: opacity 1s; background: url(https://wiki.the-west.se/images/5/53/Bakgrund.png) repeat; color: #242424; text-align: left; font-size:10px; padding: 5px 5px; border-radius: 6px; border-style: solid; border-width: 1px; box-shadow: 0px 0px 4px #000; position: absolute; z-index: 1; top:-5px; left: 105%; } .tooltipanchor_alt:hover .tooltipbox_alt { visibility: visible; opacity: .95; }