Modul:Documentation/styles.css: Unterschied zwischen den Versionen
Aus DragonballWiki
Weitere Optionen
Inhalt gelöscht Inhalt hinzugefügt
| Zeile 1: | Zeile 1: | ||
.documentation { |
.documentation { |
||
margin-top: var( --space-md ); |
|||
padding-top: var( --space-md ); |
|||
| ⚫ | |||
| ⚫ | |||
padding-top: 1.6rem; |
|||
border-top: 1px solid; |
border-top: 1px solid; |
||
border-color: var( --border-color-base ); |
border-color: var( --border-color-base ); |
||
font-size: var( --font-size-small ); |
|||
font-size: 0.875rem; |
|||
} |
} |
||
.documentation-header { |
.documentation-header { |
||
margin-top: 0; |
|||
margin-bottom: 0.8rem; |
|||
| ⚫ | |||
font-size: 1.25rem; |
|||
font-weight: 600; |
|||
line-height: 1.2; |
|||
} |
|||
| ⚫ | |||
margin: -0.6rem 0 1.6rem 0; |
|||
| ⚫ | |||
font-size: 0.825rem; |
|||
} |
|||
| ⚫ | |||
margin: 0.3rem 0; |
|||
float: right; |
|||
| ⚫ | |||
font-size: 0.875rem; |
|||
font-weight: 400; |
|||
} |
|||
| ⚫ | |||
display: flex; |
display: flex; |
||
align-items: center; |
align-items: center; |
||
justify-content: space-between; |
justify-content: space-between; |
||
| ⚫ | |||
} |
} |
||
.documentation- |
.documentation-title { |
||
| ⚫ | |||
margin: 0; |
|||
font-size: var( --font-size-x-large ); |
|||
font-weight: var( --font-weight-semi-bold ); |
|||
line-height: var( --line-height-xxx-small ); |
|||
} |
} |
||
| ⚫ | |||
/** |
|||
| ⚫ | |||
* Tooltip styles used by DependencyList, |
|||
* shouldn't be here but it is only used here anyways |
|||
*/ |
|||
.hatnote-container { |
|||
position: relative; |
|||
} |
} |
||
| ⚫ | |||
.tooltip-trigger { |
|||
color: var( --color-subtle ); |
|||
font-size: var( --font-size-x-small ); |
|||
margin-right: 2px; |
|||
line-height: var( --line-height-xx-small ); |
|||
| ⚫ | |||
color: #fff; |
|||
} |
} |
||
.documentation-content { |
|||
.tooltip-trigger:hover { |
|||
margin-top: var( --space-xl ); |
|||
} |
} |
||
| ⚫ | |||
| ⚫ | |||
padding: var( --space-xxs ); |
|||
| ⚫ | |||
z-index: 1; |
|||
| ⚫ | |||
right: 0; |
|||
display: flex; |
|||
align-items: center; |
|||
background-color: var( --color-surface-1 ); |
|||
justify-content: space-between; |
|||
border-radius: var( --border-radius--medium ); |
|||
box-shadow: 0 14px 28px rgba( 0, 0, 0, 0.06 ), 0 10px 10px rgba( 0, 0, 0, 0.06 ); |
|||
visibility: hidden; |
|||
} |
|||
.tooltip-content > ol { |
|||
margin-top: 0; |
|||
margin-left: 1.2rem; |
|||
} |
} |
||
.documentation-modulestats > * { |
|||
.tooltip-content:hover, |
|||
| ⚫ | |||
.tooltip-trigger:hover + .tooltip-content { |
|||
visibility: visible; |
|||
} |
} |
||
Aktuelle Version vom 12. Februar 2025, 23:38 Uhr
.documentation {
margin-top: var( --space-md );
padding-top: var( --space-md );
border-top: 1px solid;
border-color: var( --border-color-base );
font-size: var( --font-size-small );
}
.documentation-header {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
}
.documentation-title {
color: var( --color-emphasized );
font-size: var( --font-size-x-large );
font-weight: var( --font-weight-semi-bold );
line-height: var( --line-height-xxx-small );
}
.documentation-links {
font-family: var( --font-family-monospace );
}
.documentation-subheader {
color: var( --color-subtle );
font-size: var( --font-size-x-small );
line-height: var( --line-height-xx-small );
}
.documentation-content {
margin-top: var( --space-xl );
}
.documentation-modulestats {
padding: var( --space-xxs );
background: var( --color-surface-2 );
border-radius: var( --border-radius-medium );
display: flex;
align-items: center;
justify-content: space-between;
}
.documentation-modulestats > * {
margin: 0 !important;
}