mirror of
https://github.com/kognise/water.css.git
synced 2025-12-06 06:44:58 +01:00
Compare commits
3 commits
5ee8e2dbce
...
040f5d245b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
040f5d245b | ||
|
|
792f9253a0 | ||
|
|
1b208510b8 |
2 changed files with 14 additions and 4 deletions
5
.changeset/curvy-carrots-nail.md
Normal file
5
.changeset/curvy-carrots-nail.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"water.css": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
updated the ui of toggle dark theme
|
||||||
|
|
@ -64,7 +64,7 @@ body > footer {
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* toggle dark mode */
|
/* toggle dark theme */
|
||||||
#theme-container {
|
#theme-container {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
|
|
@ -73,10 +73,12 @@ body > footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
#theme-toggle {
|
#theme-toggle {
|
||||||
padding: 10px 15px;
|
width: 50px;
|
||||||
background-color: #bebebe;
|
height: 50px;
|
||||||
|
padding: 0;
|
||||||
|
background-color: #dddbdb;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 5px;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
box-shadow: 0 2px 5px #0003;
|
box-shadow: 0 2px 5px #0003;
|
||||||
color: #000;
|
color: #000;
|
||||||
|
|
@ -88,4 +90,7 @@ body > footer {
|
||||||
|
|
||||||
#themeIcon {
|
#themeIcon {
|
||||||
height: 25px;
|
height: 25px;
|
||||||
|
width: 25px;
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue