mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 10:18:30 +00:00
d6f7c49b8b
Backport #27872 by @silverwind Small CSS tweak, reduces margin/padding from 14px to 10px, which I think looks better
40 lines
696 B
CSS
40 lines
696 B
CSS
.divider {
|
|
margin: 10px 0;
|
|
height: 0;
|
|
font-weight: var(--font-weight-medium);
|
|
text-transform: uppercase;
|
|
color: var(--color-text);
|
|
font-size: 1rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.divider:not(.divider-text) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.divider.divider-text {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.divider.divider-text::before,
|
|
.divider.divider-text::after {
|
|
content: "";
|
|
flex: 1;
|
|
border-top: 1px solid var(--color-secondary);
|
|
}
|
|
|
|
.divider.divider-text::before {
|
|
margin-right: .75em;
|
|
}
|
|
|
|
.divider.divider-text::after {
|
|
margin-left: .75em;
|
|
}
|
|
|
|
.ui.dropdown .menu > .divider {
|
|
border-top: 1px solid var(--color-secondary);
|
|
margin: 4px 0;
|
|
}
|