Update styles.css

This commit is contained in:
riqvip 2024-09-16 17:37:48 +10:00 committed by GitHub
parent 35dc8cf904
commit 7b1a9ea16c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,15 +117,14 @@ body {
padding: 20px; padding: 20px;
border-radius: 0 10px 10px 0; border-radius: 0 10px 10px 0;
width: 20%; width: 20%;
height: 275px; max-height: auto;
overflow-y: auto; overflow-y: auto;
position: static; position: sticky;
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;
@ -139,6 +138,11 @@ body {
color: #333; color: #333;
text-decoration: none; text-decoration: none;
font-size: 1.1em; font-size: 1.1em;
transition: opacity 0.3s ease-in-out;
}
.contents a:active {
opacity: 0;
} }
.steps { .steps {
@ -158,11 +162,9 @@ body {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
color: #333; color: #333;
min-height: auto; min-height: 15cm;
max-height: none;
} }
.step-box h3 { .step-box h3 {
font-size: 1.5em; font-size: 1.5em;
} }
@ -173,7 +175,7 @@ body {
.guide-title { .guide-title {
position: absolute; position: absolute;
top: -30px; top: 20px;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
font-size: 3em; font-size: 3em;