101 lines
1.6 KiB
CSS
101 lines
1.6 KiB
CSS
@import url(https://fonts.bunny.net/css?family=chivo-mono:500);
|
|
|
|
:root {
|
|
--background: #2e3440;
|
|
--background-text: #3b4252;
|
|
--border: #5e81ac;
|
|
--border2: #b48ead;
|
|
--text: #eceff4;
|
|
--link: #88c0d0;
|
|
--link-visited: #81a1c1;
|
|
|
|
--padding: 10px 20px;
|
|
--margin: 4px;
|
|
--gap: 10px;
|
|
|
|
--radius: 4px;
|
|
}
|
|
|
|
code {
|
|
background: var(--background-text);
|
|
color: var(--text);
|
|
padding: 2px 4px;
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
html {
|
|
color: var(--text);
|
|
background-color: var(--background);
|
|
font-family: 'Chivo Mono', monospace;
|
|
}
|
|
|
|
body {
|
|
background-color: initial !important;
|
|
}
|
|
|
|
a {
|
|
color: var(--link);
|
|
}
|
|
|
|
a:visited {
|
|
color: var(--link-visited);
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
min-width: 100vw;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
line-height: 1.5;
|
|
}
|
|
|
|
#content {
|
|
display: grid;
|
|
grid-template-areas:
|
|
"header1 header1 header1"
|
|
"content1 content2 content2"
|
|
"footer1 footer2 footer3"
|
|
;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
grid-gap: var(--gap);
|
|
padding: var(--padding);
|
|
}
|
|
|
|
#content>div {
|
|
background: var(--background);
|
|
border: 4px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: var(--padding);
|
|
align-content: center;
|
|
}
|
|
|
|
#content>div:nth-child(3n+1) {
|
|
border: 4px solid var(--border2);
|
|
}
|
|
|
|
#background {
|
|
position: fixed;
|
|
z-index: -3;
|
|
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
|
|
color: var(--background-text);
|
|
opacity: 0.3;
|
|
|
|
aspect-ratio: 1/1;
|
|
|
|
transform-origin: top;
|
|
transform: scale(150%) rotate(-20deg) translateY(-25%);
|
|
|
|
align-content: center;
|
|
text-align: center;
|
|
}
|