id/styles/dashboard.css

81 lines
1.2 KiB
CSS
Raw Normal View History

2024-07-03 20:28:13 +00:00
ul {
list-style: none;
padding: 0;
}
ul > li + li {
border-top: var(--grey-5) 1px solid;
}
ul > li > a {
display: flex;
padding: 1rem;
gap: 0.25rem;
color: var(--non-color-link-fg);
text-decoration: none;
}
2024-07-27 12:07:27 +00:00
ul > li:has(.selected) {
background: var(--selected-bg);
}
2024-07-03 20:28:13 +00:00
ul > li:hover {
2024-07-27 12:07:27 +00:00
background: var(--hover-bg) !important;
2024-07-03 20:28:13 +00:00
}
2024-07-05 11:04:46 +00:00
.grid {
display: grid;
grid-gap: 1rem;
2024-07-27 12:07:27 +00:00
grid-template-columns: minmax(400px, 1fr) 3fr;
2024-07-05 11:04:46 +00:00
}
2024-07-27 12:07:27 +00:00
2024-07-05 11:04:46 +00:00
.id-card {
align-self: center;
background: var(--hover-bg);
padding: 1rem;
border-radius: 1.5rem;
}
.id-card > img {
border-radius: 0.5rem;
}
2024-07-27 12:07:27 +00:00
.settingsthingy h3 {
margin-bottom: 0;
}
.grid.halfandhalf {
grid-template-columns: 1fr 1fr;
}
.language-selector {
display: grid;
gap: 1rem;
margin-bottom: 1rem;
}
.language-selector label {
padding: 1rem;
border-radius: 1rem;
cursor: pointer;
background: var(--input-bg);
}
.language-selector label:hover {
background: var(--selected-bg);
}
@media screen and (max-width: 880px) {
.grid {
grid-template-columns: 1fr;
}
}
@media screen and (max-width: 700px) {
.grid.halfandhalf {
grid-template-columns: 1fr;
}
}