Add CSS & Icons docs

This commit is contained in:
venashial
2022-03-09 23:17:28 -08:00
parent c6df78eb81
commit 6dcd33bbc5
12 changed files with 1309 additions and 13 deletions

View File

@@ -1,7 +1,9 @@
<nav class="sidebar">
<div class="section">
<span class="section__title">Introduction</span>
<a href="/" class="section__link">Welcome</a>
<span class="section__title">Getting started</span>
<a href="/" class="section__link">Introduction</a>
<a href="/general/icons" class="section__link">Using Icons</a>
<a href="/general/css" class="section__link">CSS configuration</a>
</div>
<div class="section">
@@ -20,11 +22,16 @@
background-color: hsl(216, 10%, 30%);
color: hsl(216, 10%, 80%);
padding: 1.5rem;
height: 100vh;
width: calc(var(--sidebar-size) - 3rem);
position: fixed;
left: 0;
top: 0;
.section {
display: flex;
flex-direction: column;
grid-gap: 0.2rem;
grid-gap: 0.5rem;
&__title {
text-transform: uppercase;