/* @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: #222436; --fg: #c8d3f5; --black: #444a73; --red: #ff757f; --green: #c3e88d; --yellow: #ffc777; --blue: #82aaff; --magenta: #c099ff; --cyan: #86e1fc; --white: #c8d3f5; --black-dim: #1b1d2b; --red-dim: #ff757f; --green-dim: #c3e88d; --yellow-dim: #ffc777; --blue-dim: #82aaff; --magenta-dim: #c099ff; --cyan-dim: #86e1fc; --white-dim: #828bb8; } 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: var(--fluid-288-744); margin: auto; padding: 20px; } .no-bul { list-style-type: none; padding: 0; margin: 0; } @media (max-width: 1024px) { .container { flex-direction: column; } .sidebar { width: 100%; height: auto; position: static; } .sidebar ul li { display: inline-block; } }