Change #s[1-7] styles to .s[1-7]

This commit is contained in:
Katy248
2024-06-01 11:13:16 +03:00
parent 1db5c74b2c
commit 4e5b68630c
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ write_header(){
}
write_section_header(){
echo "<h2 id=\"s$1\" class=\"clickable\" onclick=\"activeSection('$2')\" >" >> $3
echo "<h2 class=\"clickable\ s$1\" onclick=\"activeSection('$2')\" >" >> $3
echo "$2" | tr a-z A-Z >> $3
echo "</h2>" >> $3
}
+7 -7
View File
@@ -37,31 +37,31 @@ h2 {
color: var(--fg-color-reverse);
}
#s1 {
.s1 {
background-color: #d65d0e;
}
#s2 {
.s2 {
background-color: #cc241d;
}
#s3 {
.s3 {
background-color: #98971a;
}
#s4 {
.s4 {
background-color: #d79921;
}
#s5 {
.s5 {
background-color: #458588;
}
#s6 {
.s6 {
background-color: #b16286;
}
#s7 {
.s7 {
background-color: #689d6a;
}