achubb_website/assets/main.css

150 lines
2.7 KiB
CSS

/* @link https://utopia.fyi/type/calculator?c=320,14,1.067,1240,20,1.125,5,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=s,l,xl,12 */
:root {
--step--2: clamp(0.7686rem, 0.6924rem + 0.381vi, 0.9877rem);
--step--1: clamp(0.8201rem, 0.7188rem + 0.5062vi, 1.1111rem);
--step-0: clamp(0.875rem, 0.7446rem + 0.6522vi, 1.25rem);
--step-1: clamp(0.9336rem, 0.7692rem + 0.822vi, 1.4063rem);
--step-2: clamp(0.9962rem, 0.7924rem + 1.0189vi, 1.582rem);
--step-3: clamp(1.0629rem, 0.8136rem + 1.2467vi, 1.7798rem);
--step-4: clamp(1.1341rem, 0.8322rem + 1.5098vi, 2.0023rem);
--step-5: clamp(1.2101rem, 0.8475rem + 1.8129vi, 2.2525rem);
--step-6: clamp(1.2912rem, 0.8589rem + 2.1616vi, 2.5341rem);
--fluid-288-744: clamp(18rem, 8.087rem + 49.5652cqi, 46.5rem);
--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: var(--step-1); /* 20px */
line-height: var(--step-2); /* 28px */
padding: 0.25rem;
}
h1 {
font-size: var(--step-5); /* 36px */
line-height: var(--step-6); /* 40px */
text-align: center;
}
h2 {
font-size: var(--step-4); /* 30px */
line-height: var(--step-5); /* 36px */
}
h3 {
font-size: var(--step-3); /* 24px */
line-height: var(--step-4); /* 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) {
.container {
flex-direction: column;
}
.sidebar {
width: 100%;
height: auto;
position: static;
}
.sidebar ul li {
display: inline-block;
}
.content {
width: 90%;
}
}