website/root/css/base.css

104 lines
1.5 KiB
CSS
Raw Normal View History

2024-03-30 16:22:08 +01:00
:root {
--foreground: #aa998fff; /*cinereous*/
--background: hsl(20, 12%, 75%);
--text: #454545ff; /*onyx*/
--tea-green: #e0fbb1ff;
--celestial-blue: #20a4f3ff;
--rust: #bc3908ff;
}
2023-08-13 15:41:33 +02:00
body {
padding: 0;
margin: 0;
font-family: Roboto;
2024-03-30 16:22:08 +01:00
color: var(--text);
background: var(--background);
2023-08-13 15:41:33 +02:00
}
@font-face {
font-family: Roboto;
2024-03-07 11:32:36 +01:00
src: url(/ipfs/QmfR5nD3dZwZF9ZmSs9XJiLhzVA4p1FtuvPYJCQyjPCTqD);
2023-08-13 15:41:33 +02:00
}
.darkerbar {
2024-03-30 16:22:08 +01:00
background: var(--foreground);
2023-08-13 15:41:33 +02:00
width: 100%;
}
2024-03-30 16:22:08 +01:00
header {
2023-08-13 15:41:33 +02:00
display: inline-block;
height: 5em;
border-bottom: grey 1px solid;
}
2024-03-30 16:22:08 +01:00
main {
2023-08-13 15:41:33 +02:00
padding: 1em;
}
2024-03-30 16:22:08 +01:00
main > p {
text-align: justify;
}
#links-container {
justify-content: center;
display: flex;
2024-04-23 18:15:52 +02:00
flex-flow: row wrap;
2024-03-30 16:22:08 +01:00
width: 100%;
2023-08-13 15:41:33 +02:00
}
div.item {
2024-03-30 16:22:08 +01:00
margin: 0 0.4em;
2023-08-13 15:41:33 +02:00
display: flex;
2024-03-30 16:22:08 +01:00
position: relative;
width: min-content;
background: var(--foreground);
border: solid grey 2px;
border-radius: 15pt;
}
div.item > a {
border-radius: inherit;
position: absolute;
height: 100%;
width: 100%;
2023-08-13 15:41:33 +02:00
}
div.item:hover {
2024-03-30 16:22:08 +01:00
animation:hover 0.2s forwards;
2023-08-13 15:41:33 +02:00
}
2024-03-30 16:22:08 +01:00
@keyframes hover {
0% {background: var(--foreground)}
100% {background: var(--tea-green)}
2023-08-13 15:41:33 +02:00
}
2024-03-30 16:22:08 +01:00
img.item {
height: inherit;
2023-08-13 15:41:33 +02:00
}
2024-03-30 16:22:08 +01:00
div.image {
border-radius: 15pt;
height: 58pt;
width: auto;
display: inline-block;
padding: 5pt;
margin: 12pt 10pt 12pt 12pt;
background: white;
}
div.desc {
margin: auto 6pt auto 0;
text-align: center;
2024-04-23 18:15:52 +02:00
font-weight: 800;
font-size:14pt;
2023-08-13 15:41:33 +02:00
}
footer {
2024-04-23 18:15:52 +02:00
position: relative;
2024-03-30 16:22:08 +01:00
display: flex;
left: 0;
2023-08-13 15:41:33 +02:00
bottom: 0;
height: 10em;
border-top: grey 1px solid;
}