153 lines
2.2 KiB
CSS
153 lines
2.2 KiB
CSS
:root {
|
|
--bg_h: #1d2021;
|
|
--bg: #282828;
|
|
--bg_s: #32302f;
|
|
--bg1: #3c3836;
|
|
--bg2: #504945;
|
|
--bg3: #665c54;
|
|
--bg4: #7c6f64;
|
|
|
|
--fg: #fbf1c7;
|
|
--fg1: #ebdbb2;
|
|
--fg2: #d5c4a1;
|
|
--fg3: #bdae93;
|
|
--fg4: #a89984;
|
|
|
|
--red: #fb4934;
|
|
--green: #b8bb26;
|
|
--yellow: #fabd2f;
|
|
--blue: #83a598;
|
|
--purple: #d3869b;
|
|
--aqua: #8ec07c;
|
|
--gray: #928374;
|
|
--orange: #fe8019;
|
|
|
|
--red-dim: #cc2412;
|
|
--green-dim: #98971a;
|
|
--yellow-dim: #d79921;
|
|
--blue-dim: #458588;
|
|
--purple-dim: #b16286;
|
|
--aqua-dim: #689d6a;
|
|
--gray-dim: #a89984;
|
|
--orange-dim: #d65d0e;
|
|
}
|
|
|
|
html {
|
|
font-family: monospace;
|
|
background-color: var(--bg);
|
|
color: var(--fg);
|
|
font-size: 1.25rem; /* 20px */
|
|
line-height: 1.75rem; /* 28px */
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.25rem; /* 36px */
|
|
line-height: 2.5rem; /* 40px */
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.875rem; /* 30px */
|
|
line-height: 2.25rem; /* 36px */
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.5rem; /* 24px */
|
|
line-height: 2rem; /* 32px */
|
|
}
|
|
|
|
a {
|
|
color: var(--blue);
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
p {
|
|
padding-top: 0.5rem; /* 8px */
|
|
padding-bottom: 0.5rem; /* 8px */
|
|
}
|
|
|
|
code {
|
|
color: var(--purple);
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.active {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.container {
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 250px;
|
|
height: 100vh;
|
|
padding-top: 20px;
|
|
position: fixed;
|
|
}
|
|
|
|
.sidebar ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.sidebar ul li {
|
|
padding: 10px;
|
|
}
|
|
|
|
.sidebar ul li a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.content {
|
|
width: 60%;
|
|
margin: auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
html {
|
|
line-height: 1.75rem;
|
|
font-size: 0.875rem;
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
.container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 100%;
|
|
height: auto;
|
|
position: static;
|
|
}
|
|
|
|
.content {
|
|
width: 90%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem; /* 24px */
|
|
line-height: 2rem; /* 32px */
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.25rem; /* 20px */
|
|
line-height: 1.75rem; /* 28px */
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1rem; /* 16px */
|
|
line-height: 1.5rem; /* 24px */
|
|
}
|
|
}
|