website/style.css
2025-02-05 16:38:42 +00:00

195 lines
No EOL
2.9 KiB
CSS

:root {
--bg-color: #262626;
--dark-color: #151517;
--fg-color: #ece5ea;
--confirm-color: #78b9c4;
--deny-color: #f06969;
--hilite-color: #a292e8;
}
html, body {
background-color: var(--dark-color);
color: var(--fg-color);
margin: 0;
font-family: "Cantarell", serif;
font-weight: 400;
font-style: normal;
}
body {
max-width: 100vh;
overflow-x: hidden;
}
.split {
height: calc(100vh - 4rem);
width: 50%;
position: fixed;
z-index: 1;
top: 0;
overflow-x: hidden;
padding-top: 20px;
}
.left {
left: 0;
width: 40%;
background-color: var(--bg-color);
}
.right {
right: 0;
width: 60%;
background-color: var(--dark-color);
overflow-y: auto;
}
@media (max-width: 768px) {
.split {
all: inherit;
}
.left {
all: inherit;
}
.right {
all: inherit;
padding-top: 15px;
background-color: var(--dark-color);
padding-bottom: 4rem;
}
}
footer {
clear: both;
text-align: center;
height: 3rem;
line-height: 3rem;
margin-top: auto;
width: 100%;
background-color: var(--hilite-color);
color: var(--bg-color);
position: fixed;
left: 0;
bottom: 0;
}
header {
text-align: center;
width: 60%;
margin-left: auto;
margin-right: auto;
}
a {
color: var(--hilite-color);
text-decoration: underline;
}
a:hover {
color: var(--confirm-color);
}
h1 {
font-size: xx-large;
text-decoration-line: underline;
text-decoration-color: var(--hilite-color);
}
.hljs {
font-family: "Space Mono", serif;
font-weight: 700;
font-style: normal;
border-radius: 5px;
}
code {
background-color: var(--bg-color);
color: var(--fg-color);
padding-left: 10px;
padding-right: 10px;
font-family: "Space Mono", serif;
font-weight: 700;
font-style: normal;
border-radius: 5px;
}
.container {
max-width: 1536px;
margin-left: auto;
margin-right: auto;
padding-left: 0.5rem;
padding-right: 0.5rem;
padding-bottom: 2rem;
text-align: center;
width: 70%;
}
/* 2xl */
@media (max-width: 1536px) {
.container {
max-width: 1280px;
}
}
/* xl */
@media (max-width: 1280px) {
.container {
max-width: 1024px;
}
}
/* lg */
@media (max-width: 1024px) {
.container {
max-width: 768px;
}
}
/* md */
@media (max-width: 768px) {
.container {
max-width: 640px;
}
}
/* sm */
@media (max-width: 640px) {
.container {
max-width: 475px;
}
}
/* xs */
@media (max-width: 475px) {
.container {
width: 100%;
}
}
.btn {
cursor: pointer;
position: relative;
padding: 10px;
border-radius: 10px;
user-select: none;
text-align: center;
display: inline-block;
text-decoration: none;
color: var(--bg-color);
background-color: var(--hilite-color);
}
.btn:hover {
background: var(--confirm-color);
color: var(--bg-color);
}
.quote-link {
color: var(--hilite-color);
}
.quote-link:hover {
color: var(--confirm-color);
}