Vorlage:Timeline styles/styles.css: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| Zeile 1: | Zeile 1: | ||
| ⚫ | |||
box-shadow: none; |
|||
font-size: var( --font-size-small ); |
|||
| ⚫ | |||
table.timeline, table.timeline tbody { |
table.timeline, table.timeline tbody { |
||
display: block; |
display: block; |
||
| Zeile 9: | Zeile 14: | ||
display: flex; |
display: flex; |
||
flex-direction: column; |
flex-direction: column; |
||
border-top-right-radius: var( --border-radius |
border-top-right-radius: var( --border-radius-small ); |
||
border-bottom-right-radius: var( --border-radius |
border-bottom-right-radius: var( --border-radius-small ); |
||
} |
} |
||
| Zeile 18: | Zeile 23: | ||
top: 0; |
top: 0; |
||
bottom: 0; |
bottom: 0; |
||
left: |
left: -1px; |
||
display: block; |
display: block; |
||
width: |
width: 2px; |
||
background-color: var( --border-color-base |
background-color: var( --border-color-base ); |
||
} |
} |
||
table.timeline tr td:first-child { |
table.timeline tr td:first-child { |
||
font-size: |
font-size: var( --font-size-medium ); |
||
font-weight: var( --font-weight- |
font-weight: var( --font-weight-semi-bold ); |
||
color: var( --color |
color: var( --color-emphasized ); |
||
} |
} |
||
| Zeile 35: | Zeile 40: | ||
height: 8px; |
height: 8px; |
||
display: block; |
display: block; |
||
background-color: var( --color |
background-color: var( --color-subtle ); |
||
border-radius: 100%; |
border-radius: 100%; |
||
position: absolute; |
position: absolute; |
||
| Zeile 44: | Zeile 49: | ||
table.timeline tr td { |
table.timeline tr td { |
||
padding: 0; |
padding: 0; |
||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
Aktuelle Version vom 13. Februar 2025, 15:40 Uhr
table.timeline {
box-shadow: none;
font-size: var( --font-size-small );
}
table.timeline, table.timeline tbody {
display: block;
}
table.timeline tr {
position: relative;
margin-left: 8px;
padding: var( --space-xs ) var( --space-xs ) var( --space-xs ) 20px;
display: flex;
flex-direction: column;
border-top-right-radius: var( --border-radius-small );
border-bottom-right-radius: var( --border-radius-small );
}
table.timeline tr:before {
content: "";
position: absolute;
top: 0;
bottom: 0;
left: -1px;
display: block;
width: 2px;
background-color: var( --border-color-base );
}
table.timeline tr td:first-child {
font-size: var( --font-size-medium );
font-weight: var( --font-weight-semi-bold );
color: var( --color-emphasized );
}
table.timeline tr td:first-child:before {
content: "";
width: 8px;
height: 8px;
display: block;
background-color: var( --color-subtle );
border-radius: 100%;
position: absolute;
left: -4px;
margin-top: 8px;
}
table.timeline tr td {
padding: 0;
border: 0 !important;
}