mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 19:38:24 +01:00
19993d8814
There was some recent discussion about this in Discord `ui-design` channel and the conclusion was that https://github.com/go-gitea/gitea/issues/24305 should have fixed their OS font installation to have semibold weights. I have now tested this 601 weight on a Windows 10 machine on Firefox myself, and I immediately noticed that bold was excessivly bold and rendering as 700 because browsers are biased towards bolder fonts. So revert this back to the previous value.
57 lines
1.1 KiB
CSS
57 lines
1.1 KiB
CSS
.admin.hooks .list > .item:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding: 0.25rem 1rem;
|
|
margin: 12px -1rem -1rem;
|
|
}
|
|
|
|
.admin.user table.table .email {
|
|
max-width: 200px;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal {
|
|
padding: 1em;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal dd {
|
|
margin-left: auto;
|
|
width: calc(100% - 245px);
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin dl.admin-dl-horizontal dd {
|
|
width: calc(100% - 185px);
|
|
}
|
|
}
|
|
|
|
/* divider needs explicit width to become visible here */
|
|
.admin dl.admin-dl-horizontal .ui.divider {
|
|
width: 100%;
|
|
}
|
|
|
|
.admin dl.admin-dl-horizontal dt {
|
|
font-weight: var(--font-weight-semibold);
|
|
width: 220px;
|
|
margin-right: 5px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.admin dl.admin-dl-horizontal dt {
|
|
width: 160px;
|
|
}
|
|
}
|
|
|
|
.admin code,
|
|
.admin pre {
|
|
white-space: pre-wrap;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.admin .ui.table.segment {
|
|
overflow-x: auto; /* if the screen width is small, many wide tables (eg: user list) need scroll bars */
|
|
}
|