92 lines
1.3 KiB
CSS
92 lines
1.3 KiB
CSS
|
:root {
|
||
|
--bg: #121212;
|
||
|
--light-bg: #262626;
|
||
|
--txt: #eee;
|
||
|
--accent: #00d787;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
background: var(--bg);
|
||
|
color: var(--txt);
|
||
|
font-family: "Consolas", monospace;
|
||
|
max-width: min(800px, 80vw);
|
||
|
margin: 0 auto;
|
||
|
}
|
||
|
|
||
|
nav {
|
||
|
width: calc(100% - 3rem * 1.3);
|
||
|
padding: 1rem 0;
|
||
|
}
|
||
|
|
||
|
header a {
|
||
|
padding: 1rem 0;
|
||
|
text-underline-offset: .5rem;
|
||
|
}
|
||
|
|
||
|
.header-logo {
|
||
|
float: right;
|
||
|
font-weight: bold;
|
||
|
font-size: 130%;
|
||
|
}
|
||
|
|
||
|
.home {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
height: calc(100vh - 5rem);
|
||
|
}
|
||
|
|
||
|
.main-div {
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
.main-logo {
|
||
|
height: 140px;
|
||
|
border: 1px solid var(--accent);
|
||
|
border-radius: 100%;
|
||
|
padding: .4rem;
|
||
|
}
|
||
|
|
||
|
.start {
|
||
|
background: var(--bg);
|
||
|
border: 1px solid var(--accent);
|
||
|
border-radius: 1rem;
|
||
|
color: var(--accent);
|
||
|
padding: 1rem .5rem;
|
||
|
margin-top: 2rem;
|
||
|
display: block;
|
||
|
text-decoration: none !important;
|
||
|
}
|
||
|
|
||
|
.start:hover {
|
||
|
text-decoration: none;
|
||
|
background: var(--light-bg);
|
||
|
}
|
||
|
|
||
|
.author {
|
||
|
float: left;
|
||
|
max-width: 400px;
|
||
|
margin-bottom: 2rem;
|
||
|
}
|
||
|
|
||
|
.date {
|
||
|
overflow: hidden;
|
||
|
text-align: right;
|
||
|
margin-bottom: 2rem;
|
||
|
}
|
||
|
|
||
|
.blog-entry p {
|
||
|
margin: 0;
|
||
|
line-height: 1.25;
|
||
|
}
|
||
|
|
||
|
a {
|
||
|
color: var(--accent);
|
||
|
text-decoration-color: #00000000;
|
||
|
transition: all 0.3s ease;
|
||
|
}
|
||
|
|
||
|
a:hover, a:active {
|
||
|
text-decoration-color: inherit;
|
||
|
}
|