mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-27 02:36:22 +01:00
e82f3caa6b
Many avatars were rendered in HTML with certain width/height but then resized again in CSS. This was pointless so I removed all these cases and made the HTML size match the previous render size. Also did a few CSS cleanups in the tribute rendering: <img width="648" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/cb2fafb3-5e20-46e9-814f-07df20038beb">
33 lines
652 B
CSS
33 lines
652 B
CSS
@import "tributejs/dist/tribute.css";
|
|
|
|
.tribute-container {
|
|
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
|
|
border-radius: var(--border-radius);
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.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;
|
|
gap: 6px;
|
|
}
|