Update styles.css

This commit is contained in:
riqvip 2024-09-16 17:19:26 +10:00 committed by GitHub
parent f1e47e91e0
commit 61a9b54e00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,14 +117,15 @@ body {
padding: 20px; padding: 20px;
border-radius: 0 10px 10px 0; border-radius: 0 10px 10px 0;
width: 20%; width: 20%;
max-height: calc(100vh - 40px); height: 275px;
overflow-y: auto; overflow-y: auto;
position: sticky; position: static;
top: 0; top: 0;
box-sizing: border-box; box-sizing: border-box;
color: #333; color: #333;
} }
.contents ul { .contents ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
@ -144,7 +145,7 @@ body {
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 20px; gap: 10px;
padding: 0 20px; padding: 0 20px;
box-sizing: border-box; box-sizing: border-box;
} }
@ -157,9 +158,11 @@ body {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
color: #333; color: #333;
min-height: 15cm; min-height: auto;
max-height: none;
} }
.step-box h3 { .step-box h3 {
font-size: 1.5em; font-size: 1.5em;
} }
@ -170,7 +173,7 @@ body {
.guide-title { .guide-title {
position: absolute; position: absolute;
top: 20px; top: -5px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
font-size: 3em; font-size: 3em;