This commit is contained in:
2025-12-23 23:39:55 +11:00
parent 8e491a220a
commit 5f9da8006b
2 changed files with 195 additions and 0 deletions

80
docs/index.css Normal file
View File

@@ -0,0 +1,80 @@
.twopane {
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
align-items: flex-start;
gap: 5%;
}
.box {
position: relative;
}
.sidebar {
position: sticky;
top: 40px;
width: 250px;
padding: 20px;
background: #080511;
border-radius: 8px;
border: 1px solid #26146b;
color: white;
}
.sidebar h3 {
margin-top: 0;
margin-bottom: 1rem;
font-size: 1.2rem;
color: #a594f9;
}
.sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar li {
margin-bottom: 0.5rem;
}
.sidebar a {
text-decoration: none;
color: #ccc;
display: block;
padding: 8px 12px;
border-radius: 6px;
transition: background-color 0.2s, color 0.2s;
}
.sidebar a:hover {
background-color: #26146b;
color: white;
}
.content {
flex: 1;
}
@media (max-width: 768px) {
.twopane {
flex-direction: column;
}
.sidebar {
width: 100%;
position: relative;
top: 0;
margin-bottom: 20px;
box-sizing: border-box;
}
}
h2 {
font-size: 35px;
}
h3 {
font-size: 25px;
}