mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-15 22:01:08 +00:00
e7938c9c44
- Split up avatar rendering helpers for performance - Fix showing repo SVG icon when no avatar is set - Make repo SVG and avatar same size at 32px - Fix fork line by adding vertical flexbox on repo title Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
94 lines
1.5 KiB
Text
94 lines
1.5 KiB
Text
.explore {
|
|
.navbar {
|
|
justify-content: center;
|
|
margin-bottom: 15px !important;
|
|
background-color: var(--color-navbar) !important;
|
|
border-width: 1px !important;
|
|
|
|
.svg {
|
|
width: 16px;
|
|
text-align: center;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui.repository.list {
|
|
.item {
|
|
padding-bottom: 25px;
|
|
|
|
&:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding-top: 25px;
|
|
}
|
|
|
|
.ui.header {
|
|
font-size: 1.5rem;
|
|
padding-bottom: 10px;
|
|
|
|
.name {
|
|
word-break: break-all;
|
|
}
|
|
|
|
.metas {
|
|
color: #888888;
|
|
font-size: 14px;
|
|
font-weight: normal;
|
|
|
|
span:not(:last-child) {
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.time {
|
|
font-size: 12px;
|
|
color: #808080;
|
|
}
|
|
|
|
.ui.tags {
|
|
margin-bottom: 1em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui.repository.branches {
|
|
.info {
|
|
font-size: 12px;
|
|
color: #808080;
|
|
display: flex;
|
|
white-space: pre;
|
|
.commit-message {
|
|
max-width: 72em;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}
|
|
.overflow-visible {
|
|
overflow: visible;
|
|
}
|
|
}
|
|
|
|
.ui.user.list {
|
|
.item {
|
|
padding-bottom: 25px;
|
|
|
|
&:not(:first-child) {
|
|
border-top: 1px solid var(--color-secondary);
|
|
padding-top: 25px;
|
|
}
|
|
|
|
.ui.avatar.image {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.description {
|
|
margin-top: 5px;
|
|
|
|
.svg:not(:first-child) {
|
|
margin-left: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|