MediaWiki:Common.css: Unterschied zwischen den Versionen
Tt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Tt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| (17 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 1.699: | Zeile 1.699: | ||
display:inline-block; | display:inline-block; | ||
} | |||
/* Streckenverlaufsvisualisierung */ | |||
.streckenverlauf-browser { | |||
display: flex; | |||
justify-content: stretch; | |||
margin-bottom: 4em; | |||
} | |||
.streckenverlauf { | |||
align-self: stretch; | |||
} | |||
/* Perlenschnur */ | |||
.perlenschnur { | |||
border-spacing: 0; | |||
display: flex; | |||
height: 100%; | |||
} | |||
.perlenschnur tbody { | |||
display: flex; | |||
flex-direction: column; | |||
height: 100%; | |||
flex-wrap: nowrap; | |||
justify-content: space-around; | |||
} | |||
.perlenschnur tr { | |||
padding: 0; | |||
margin: 0; | |||
display: flex; | |||
align-self: stretch; | |||
flex-grow: 1; | |||
flex-shrink: 0; | |||
} | |||
.perlenschnur td { | |||
padding:0 | |||
} | |||
.perlenschnur tr td:first-child { | |||
position: relative; | |||
width: 1em; | |||
} | |||
.perlenschnur .line-item { | |||
background: gray; | |||
width: 0.75em; | |||
position: absolute; | |||
left: 0.25em; | |||
top: 0; | |||
height: 100%; | |||
} | |||
table.perlenschnur tr:first-child td:first-child .line-item { | |||
top: 1em; | |||
bottom: 0; | |||
} | |||
table.perlenschnur tr:last-child td:first-child .line-item { | |||
height: 1em; | |||
top: 0em; | |||
bottom: 1em; | |||
} | |||
.perlenschnur .stop-dot { | |||
border-radius: 1em; | |||
width: 1em; | |||
height: 1em; | |||
background: white; | |||
border: 0.1em solid black; | |||
display: block; | |||
z-index: 99; | |||
position: absolute; | |||
top: 0.4em; | |||
left:0.05em; | |||
} | |||
.perlenschnur tr td:last-child { | |||
vertical-align: middle; | |||
padding-left: 1em; | |||
} | |||
.perlenschnur a { | |||
color: black; | |||
} | } | ||
.mw-editfont-monospace { | .mw-editfont-monospace { | ||
font-size: 12pt; | font-size: 12pt !important; | ||
line-height:1.1em; | line-height:1.1em !important; | ||
} | |||
/* DatumJaNein */ | |||
.datum-ja-nein p { | |||
display:inline; | |||
} | |||
/* Zielfilmtabellen */ | |||
table.table-zielfilm tr td:nth-child(2) { | |||
font-weight: bold; | |||
text-align: center; | |||
font-size: 36pt; | |||
font-family: Helvetica, Helvetica Neue, Arial; | |||
} | |||
table.table-zielfilm.table-zielfilm-linie tr td:nth-child(2) { | |||
width: 2.9cm; | |||
height: 3.0cm; | |||
} | |||
table.table-zielfilm.table-zielfilm-linie tr td:nth-child(2) { | |||
height: 3.0cm; | |||
width: 7.9cm; | |||
} | |||
table.table-zielfilm-ziel a { | |||
color:unset; | |||
} | |||
table.table-zielfilm-ziel a:hover { | |||
text-decoration:none; | |||
} | |||
@media only screen and (max-width: 480px) { | |||
.streckenverlauf { | |||
width: 100%; | |||
} | |||
.streckenverlauf-browser { | |||
width: 100%; | |||
overflow-x: scroll; | |||
-webkit-overflow-scrolling: touch; | |||
} | |||
} | |||
.kennzeichen { | |||
--kennzeichen-height: 110px; | |||
--kennzeichen-width: 520px; | |||
--balken-width: 60px; | |||
position: relative; | |||
display: inline-block; | |||
height: var(--kennzeichen-height); | |||
width: var(--kennzeichen-width); | |||
background: white; | |||
border: 2px solid black; | |||
border-radius: 8px; | |||
font-family: Arial, sans-serif; | |||
font-weight: 700; | |||
font-size: 60px; | |||
color: black; | |||
line-height: var(--kennzeichen-height); | |||
padding-left: calc(var(--balken-width) + 12px); | |||
user-select: none; | |||
box-sizing: border-box; | |||
white-space: nowrap; | |||
text-align: center; | |||
} | |||
/* Blauer Balken links mit D */ | |||
.kennzeichen::before { | |||
content: "D"; | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: var(--balken-width); | |||
height: 100%; | |||
background: #003399; | |||
color: white; | |||
font-weight: 700; | |||
font-size: 48px; | |||
line-height: var(--kennzeichen-height); | |||
text-align: center; | |||
border-top-left-radius: 6px; | |||
border-bottom-left-radius: 6px; | |||
user-select: none; | |||
font-family: Arial, sans-serif; | |||
letter-spacing: 1px; | |||
} | } | ||