frontend/assets/style.css
2025-10-27 18:48:56 +01:00

58 lines
1.2 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);
--tile-color: rgb(255, 255, 255);
background-color: rgb(240, 240, 240);
}
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(247, 247, 247);
}
.resource, .header {
display: contents;
}
.header > * {
padding: 0.75rem;
background-color: rgb(12, 12, 12);
color: white;
font-weight: bold;
position: sticky;
top: 0;
}
.resource > .grid-element {
padding: 0.25rem 0.75rem;
display: flex;
align-items: center;
}
.resource:hover > .grid-element {
background-color: #c2c2c2;
}
.resource p {
font-weight: 600;
font-family: "Source Code Pro", monospace;
}
.even > .grid-element {
background-color: rgb(233, 233, 233);
}