Gitea-Theme/test/css/repo-home.css
2024-11-09 00:02:45 +05:30

86 lines
1.3 KiB
CSS

* {
all: unset;
margin: 0;
padding: 0;
box-sizing: border-box;
}
title {
display: none;
}
header {
background-color: #1a1a1a;
padding: 1px 1em;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #444;
}
.header-left,
.header-right {
display: flex;
align-items: center;
gap: 1em;
font-family: "Noto Sans", "Liberation Sans";
}
.logo {
display: flex;
align-items: center;
margin-right: 1em;
}
.logo img {
height: 32px;
width: auto;
}
.header-left a {
color: #f0f0f0;
text-decoration: none;
font-weight: bold;
font-size: 0.95rem;
}
.header-left a:hover {
color: #bfbfbf;
background-color: #444;
}
.header-right a {
color: #f0f0f0;
display: flex;
align-items: center;
text-decoration: none;
padding: 0.5em;
}
.header-right a img {
width: 24px;
height: 24px;
border-radius: 50%;
object-fit: cover;
}
.header-right a.profile-icon {
width: 30px;
height: 30px;
border-radius: 50%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
/*.header-left {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}*/
}
.header-right a:hover {
background-color: #333;
border-radius: 50%;
}
body {
background-color: #232323;
}