:root {
--color-primary: oklch(63.793% 0.16795 254.472);
}
*, *::before, *::after {
box-sizing: border-box;
}
html {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a {
text-decoration: none;
color: oklch(from var(--color-primary) calc(l - 0.1) c h);
&:visited {
color: oklch(from var(--color-primary) calc(l - 0.2) c calc(h + 60))
}
}
.button {
border-radius: 0.2rem;
background-color: var(--color-primary);
color: white;
padding: 1rem 2rem;
width: fit-content;
text-decoration: none !important;
&:hover {
background-color: oklch(from var(--color-primary) calc(l - 0.05) c h);
}
&:visited {
color: white;
}
}
.content {
background-color: rgba(0, 0, 0, 0.1);
}
.navbar {
display: flex;
width: 100%;
align-items: center;
justify-content: space-between;
height: 80px;
}
.path {
font-family: 'Courier New', Courier, monospace;
background-color: rgba(0, 0, 0, 0.2);
padding: 0.2rem 0.4rem;
border-radius: 0.2rem;
font-weight: bold;
}
.list {
.item {
text-decoration: none;
padding: 0.5rem 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
width: 100%;
&:hover {
text-decoration: underline;
background-color: rgba(0, 0, 0, 0.1);
}
.title {
overflow: hidden;
text-overflow: ellipsis;
}
.icon {
width: 1rem;
}
.image {
width: 2rem;
height: 2rem;
margin: -0.5rem;
margin-right: 0rem;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
}
}
.grid {
display: flex;
flex-wrap: wrap;
width: 100%;
border-bottom: solid 1px rgba(0, 0, 0, 0.2);
.item {
padding-top: 0.5rem;
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
width: 160px;
aspect-ratio: 1;
position: relative;
border-radius: 0.5rem;
&:hover {
background-color: rgba(0, 0, 0, 0.1);
}
.title {
position: absolute;
padding: 0.4rem;
bottom: 0px;
left: 0px;
width: 100%;
text-align: center;
font-weight: bold;
height: 48px;
word-break: break-word;
overflow: hidden;
text-overflow: ellipsis;
}
}
.icon {
width: 96px;
}
.image {
width: 96px;
height: 96px;
background-position: center;
background-repeat: no-repeat;
background-size: contain;
}
}
.topbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 80px;
display: flex;
justify-content: space-between;
align-items: center;
font-size: 1.2rem;
padding: 0 2rem;
background-color: var(--color-primary);
color: white;
}