mirror of
https://github.com/go-gitea/gitea
synced 2024-11-18 16:14:26 +00: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.
43 lines
818 B
CSS
43 lines
818 B
CSS
@import "tributejs/dist/tribute.css";
|
|
|
|
.tribute-container {
|
|
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
|
|
border-radius: 0.25rem;
|
|
}
|
|
|
|
.tribute-container ul {
|
|
margin-top: 0 !important;
|
|
background: var(--color-body) !important;
|
|
}
|
|
|
|
.tribute-container li {
|
|
padding: 3px 0.5rem !important;
|
|
}
|
|
|
|
.tribute-container li span.fullname {
|
|
font-weight: var(--font-weight-normal);
|
|
font-size: 0.8rem;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.tribute-container li.highlight,
|
|
.tribute-container li:hover {
|
|
background: var(--color-primary) !important;
|
|
color: var(--color-primary-contrast) !important;
|
|
}
|
|
|
|
.tribute-item {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.tribute-item .emoji,
|
|
.tribute-item img[src*="/avatar/"] {
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.tribute-container img {
|
|
width: 1.5rem !important;
|
|
height: 1.5rem !important;
|
|
}
|