MediaWiki:Common.css: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
Zeile 285: | Zeile 285: | ||
.link-leiste .mw-prefixindex-body { columns: unset; } | .link-leiste .mw-prefixindex-body { columns: unset; } | ||
.hpaddedtable td { padding: 0 5px; } | .hpaddedtable td, th { padding: 0 5px; } | ||
.paddedtable td { padding: 4px 5px; } | .paddedtable td, th { padding: 4px 5px; } | ||
.fancytable { border-spacing: 0; } | .fancytable { border-spacing: 0; } |
Version vom 12. Juli 2019, 16:12 Uhr
/* CSS auf dieser Seite wirkt sich auf alle Skins aus. */
/* remove Main page title */
body.page-VorlesungsWiki #siteSub,
body.page-VorlesungsWiki #contentSub,
body.page-VorlesungsWiki h1.firstHeading {
display: none !important;
}
.startseite {
width: 1000px;
max-width: 100%;
}
.tagline {
font-size: 1.3em;
font-weight: bold;
font-family: 'Freight Sans Bold', Helvetica, Arial;
color: #333;
}
.universität-spalten > div {
box-sizing: border-box;
padding-right: 3vw;
}
body.page-VorlesungsWiki .two-columns { max-width: 800px; }
.studienfächer-navigation { margin: 1em 0; }
.studienfächer-navigation td { padding: 0; }
.studienfächer-navigation a { display: block; padding: 3px 10px; }
.studienfächer-navigation a:hover,
.studienfächer-navigation a:active { background-color: #f8eec6; text-decoration: none; }
.grau { color: #555; }
.solution {
border: 1px solid blue;
border-radius: 10px;
padding: 5px;
}
table .solution, .checkbox .solution {
border: 0;
padding: 0;
color: blue;
display:inline-block;
}
.checkbox { border: 1px solid black; display:inline-block; min-width:1.5em; min-height: 1.5em}
.buch .titel { font-style: italic; }
.verweise { color: #555; }
.verweise .isbn, .verweise .autor { display: none; }
.verweise .titel { font-style: normal; }
.capitals { font-variant-caps: small-caps; font-family:serif; }
.subtle-pre pre {
border: 0;
padding: 0;
margin: 0;
background-color: inherit;
}
@media print {
.template-lücke, .fake-checkbox { color: transparent; }
.template-lücke img { opacity: 0; }
.option-feedback { display: none; }
}
.question { margin: .5em 0; }
.question table { margin-left: .5em }
.quiz {
border: 1px solid #ccc;
}
.template-lücke {
border-bottom: 1px solid black;
text-decoration: none;
}
.fake-checkbox {
border: 1px solid black;
width: 15px;
height: 15px;
line-height: 15px;
text-align: center;
margin-right: 6px;
}
.template-singlechoice .fake-checkbox {
border-radius: 50%;
}
.template-umlbox {
display: inline-block;
vertical-align: middle;
border-spacing: 0;
border-collapse: collapse;
}
.template-umlbox.state {
border-collapse: separate;
}
.template-umlbox.state tr:first-of-type td {
border-bottom: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
.template-umlbox.state tr:last-of-type td {
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
.template-umlbox td {
border: 1px solid;
}
.showcase > * {
display: inline-block;
vertical-align: middle;
}
.showcase img {
margin: 0 30px;
}
/* Zeige external-link icon für interwiki links */
.mw-body-content a.extiw {
background: url(skins/Vector/images/external-link-ltr-icon.png) center right no-repeat;
padding-right: 13px;
}
.verweise { margin-top: 15px; font-size: small; }
.vorlage-katalogliste .link-id, .srf-tree .link-id {
font-size: small;
}
.template-box {
border: 1px solid #b6c0d2;
display: inline-block;
padding: 2px 6px;
border-radius: 3px;
background-color: #f1f9ff;
}
.nobold { font-weight: normal }
img.responsive { max-width: 100%; height: auto; }
.banner {
margin: 0.5em 0;
padding: 5px;
border: 1px solid #ccc;
border-radius: 5px;
display: inline-block;
background-color: #f5f5f5;
}
.banner.banner-tipp {
background-color: #ebfeee;
border-color: #bed8be;
}
.banner.banner-notiz {
background-color: #d7ebf2;
border-color: #94c3eb;
}
.page-TU_Wien_Nav_Mathematik_für_Informatik_Buch .lösungsvorschläge ul a { font-weight: bold; }
.page-TU_Wien_Nav_Mathematik_für_Informatik_Buch .lösungsvorschläge ul ul a:before { content: '('; }
.page-TU_Wien_Nav_Mathematik_für_Informatik_Buch .lösungsvorschläge ul ul a:after { content: ')'; }
.page-TU_Wien_Nav_Mathematik_für_Informatik_Buch .lösungsvorschläge ul { columns: 4 160px; }
.page-TU_Wien_Nav_Mathematik_für_Informatik_Buch .lösungsvorschläge ul ul { display: inline; list-style: none; margin-left: 5px; }
.page-TU_Wien_Nav_Mathematik_für_Informatik_Buch .lösungsvorschläge ul ul li { display: inline; }
.katalog-spalten { columns: 3 360px; }
.katalog-spalten ul { page-break-inside: avoid; }
/* Startseite neu */
.mascot-says {
position: relative;
}
.mascot-says span {
position: absolute;
width: 160px;
margin: 0;
top: 30px;
left: 20px;
height: 60px;
font-family: serif;
font-size: 15px;
}
@media only screen and (max-width: 800px) {
.two-columns > div {
display:block !important;
width:100% !important;
margin: 0 !important;
}
}
#startseite #tagline {
font-family: serif;
font-size: 1.1em;
padding: 0 30px;
display: inline-block;
vertical-align:middle;
white-space:pre;
text-align:center;
}
#startseite #beschreibung {
padding:8px;
}
.two-columns > div {
width: calc(100% / 2 - 2em);
margin: 0 1em;
display:inline-block;
vertical-align:top;
}
/* Startseite */
.hauptseite-spalten {
-webkit-columns: 2 280px;
-moz-columns: 2 280px;
columns: 2 280px;
margin-left: 1.5em;
position: relative;
}
.hauptseite-spalten > div {
break-inside: avoid;
page-break-inside: avoid;
}
.hauptseite-spalten dd {
margin-left: 0 !important;
}
#startseite #stats {
position: absolute;
bottom: 0;
}
#startseite #stats td:first-of-type {
text-align: right;
font-size: 20px;
font-weight: bold;
color: #aaa;
}
#action-button a {
display: inline-block;
padding: 7px 12px;
background-color: #d9edf6;
color: #2f437b;
border: 1px solid #a3b9cc;
border-bottom-width: 3px;
border-radius: 5px;
}
#action-button:hover a {
background-color: #c1deec;
}
.mattermost-banner {
border-top: 1px solid #a2a9b1;
margin-top: 15px;
padding: 10px;
overflow: auto;
}
.mattermost-banner img { margin-right: 0.8em; margin-top: 0.8em; opacity: 0.5; }
.mattermost-banner img:hover { opacity: 0.7; }
/* Sonstiges */
.link-leiste a { font-weight: bold; }
.link-leiste ul { list-style: none; margin: 0; }
.link-leiste li { display: inline-block; }
.link-leiste li:not(:last-of-type):after {
content: '|';
margin-left: 10px;
margin-right: 10px;
color: #a2a9b1;
}
.link-leiste .mw-prefixindex-body { columns: unset; }
.hpaddedtable td, th { padding: 0 5px; }
.paddedtable td, th { padding: 4px 5px; }
.fancytable { border-spacing: 0; }
.fancytable th { text-align: right; color: #555; }
.fancytable td:not(:first-child) { padding-left: 15px; }
.fancytable tr:not(:last-of-type) td, .fancytable tr:not(:last-of-type) th {
border-bottom: 1px solid #ccc;
}
.fancytable caption { font-weight: bold; }
.bluelink { color: #0645ad; }
.redlink { color: #ba0000; }
.angabe { margin-left: 0; margin-right: 0; }
.inlinetable {
display: inline-block;
vertical-align: top;
padding: 10px;
}
.beispiel-table, .bsp-table {
text-align: center;
display: inline-block;
vertical-align: top;
padding: 5px;
}
.beispiel-wikicode { background-color: #d1f5d1; }
.beispiel-extern { background-color: #f8f8c9; }
.beispiel-datei { background-color: #f8e5df; }
.beispiel-teils.beispiel-wikicode { background: linear-gradient(90deg, #d1f5d1 50%, transparent 50%); }
.beispiel-teils.beispiel-extern { background: linear-gradient(90deg, #f8f8c9 50%, transparent 50%); }
.beispiel-teils.beispiel-datei { background: linear-gradient(90deg, #f8e5df 50%, transparent 50%); }
/* CSS-Klassen für Vorlage:Interner Link */
.querylink-new .external {
color: #ba0000 !important;
}
.querylink-exists .external {
background-image: none;
padding: 0;
color: #002bb8;
}
/* Messagebox templates */
.messagebox {
border: 1px solid #aaa;
background-color: #f9f9f9;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.vorlage-beispiel #toc li:first-of-type ul {
display: none; /* verstecke TOC Einträge unter Hilfreiches */
}
.vorlage-baustein {
margin-top: 0.3em;
padding-top: 0.5em;
}
/* Trick für Hilfe:Bausteine/eingebunden/b */
#toc a[href^="#HIDDEN"] { display:none; }
/* Trick für Vorlage:Leerer Abschnitt */
.toctext span { color: black; }
/*
* Allow limiting of which header levels are shown in a TOC;
* <div class="toclimit-3">, for instance, will limit to
* showing ==headings== and ===headings=== but no further.
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* Klassen für Tabellen */
table.col-1-center td:nth-child(1) { text-align: center; }
table.col-2-center td:nth-child(2) { text-align: center; }
table.col-3-center td:nth-child(3) { text-align: center; }
table.col-4-center td:nth-child(4) { text-align: center; }
table.col-5-center td:nth-child(5) { text-align: center; }
table.col-6-center td:nth-child(6) { text-align: center; }
table.col-7-center td:nth-child(7) { text-align: center; }
table.col-8-center td:nth-child(8) { text-align: center; }
table.col-9-center td:nth-child(9) { text-align: center; }
table.col-1-right td:nth-child(1) { text-align: right; }
table.col-2-right td:nth-child(2) { text-align: right; }
table.col-3-right td:nth-child(3) { text-align: right; }
table.col-4-right td:nth-child(4) { text-align: right; }
table.col-5-right td:nth-child(5) { text-align: right; }
table.col-6-right td:nth-child(6) { text-align: right; }
table.col-7-right td:nth-child(7) { text-align: right; }
table.col-8-right td:nth-child(8) { text-align: right; }
table.col-9-right td:nth-child(9) { text-align: right; }
.spinner {
animation: spin 60s linear infinite;
animation-delay: 60s;
display:inline-block;
}
@keyframes spin {
0% { transform: rotate(0deg); }
1.5% { transform: rotate(360deg); }
100% { transform: rotate(360deg); }
}
/** LEGACY (will be removed) */
.bsp-ungelöst, .vorlage-bsp-ohne { background-color: #eee; }
.bsp-gelöst, .vorlage-bsp-mit { background-color: #cf9; }
.vorlage-bsp-neu { background-color: #0f0; }
.bsp-unvollständig, .vorlage-bsp-teils { background-color: #ff5; }
.vorlage-definition {
background-color: #ffffdf;
border: 1px dotted;
margin: 1em;
padding: 1em;
}
.vorlage-angabe {
background-color: #f8f9fa;
border: 1px solid #eaecf0;
margin: 1em;
padding: 1em;
}
/** Mobile **/
.mw-collapsible {
max-width: 100%;
}