Code cleanup & improvements

This commit is contained in:
Daniel
2023-10-14 02:17:58 +02:00
parent 3f3a209ed0
commit 413699ff56
9 changed files with 31 additions and 19 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ body.dark {
--hover: #FFF1;
}
body.dark #theme-switcher .icon::after {
body.dark #theme-switcher i::after {
content: "dark_mode"
}
+4 -4
View File
@@ -41,7 +41,7 @@
transition: background .2s;
}
.back .icon {
.back i {
margin: 4px;
width: 56px;
height: 56px;
@@ -50,11 +50,11 @@
transition: background .2s;
}
.back .icon:hover {
.back i:hover {
background: var(--hover);
}
.back .icon:after {
.back i:after {
content: "chevron_left";
position: absolute;
top: 50%;
@@ -68,7 +68,7 @@
margin: 20px 20px 16px;
}
.header .icon {
.header i {
margin-top: 1px;
margin-right: 10px;
}
+1 -1
View File
@@ -12,7 +12,7 @@
object-fit: cover;
}
#theme-switcher .icon::after {
#theme-switcher i::after {
content: "light_mode"
}
+1 -1
View File
@@ -22,7 +22,7 @@
background: var(--hover);
}
.box .icon {
.box i {
font-size: 24px;
padding: 20px;
background: hsl(var(--color), 100%, 89%);
+1 -1
View File
@@ -15,7 +15,7 @@
transition: background .4s;
}
.setting .icon {
.setting i {
margin-right: 14px;
font-size: 28px;
}