frontend/assets/style.css
2025-11-08 10:41:33 +01:00

73 lines
1.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-weight: 600;
font-family: "Source Code Pro", monospace;
text-decoration: none;
}
html {
--primary-color: rgb(87, 75, 255);
--primary-color-dark: rgb(69, 57, 241);
--tile-color: #ebf1ff;
background-color: rgb(255, 255, 255);
--shade-light: #f3f3f3;
--shade-dark: rgb(233, 233, 233);
}
html * {
color: black;
}
html, body, #__nuxt {
width: 100vw;
height: 100vh;
}
.resource-container {
display: grid;
grid-template-columns: auto auto auto 1fr auto auto;
align-content: start;
background-color: rgb(255, 255, 255);
}
.resource, .header {
display: contents;
}
.header > * {
padding: 0.75rem;
background-color: var(--tile-color);
color: rgb(0, 0, 0);
font-weight: bold;
position: sticky;
top: 0;
margin-bottom: 1rem;
}
.header *:first-of-type {
border-top-left-radius: 0rem;
border-bottom-left-radius: 0rem;
}
.header *:last-of-type {
border-top-right-radius: 0rem;
border-bottom-right-radius: 0rem;
}
.resource > .grid-element {
padding: 0.25rem 0.75rem;
display: flex;
align-items: center;
background-color: #f3f3f3;
font-size: 0.95rem;
height: 2rem;
}
.resource:hover > .grid-element {
background-color: #dbdbdb;
}
.resource p {
font-weight: 600;
font-family: "Source Code Pro", monospace;
}
.even > .grid-element {
background-color: rgb(233, 233, 233);
}