update style
This commit is contained in:
parent
7a386f5c14
commit
7736d5596c
15 changed files with 188 additions and 24 deletions
|
|
@ -61,10 +61,22 @@
|
|||
--header-height: 60px;
|
||||
--transition: 0.25s;
|
||||
|
||||
/* light theme */
|
||||
--background-primary: rgb(255, 255, 255);
|
||||
--background-primary-transparent: rgba(255, 255, 255, 0.95);
|
||||
--box-shadow: 0 0 4px rgb(245, 245, 245);
|
||||
--box-shadow-color: rgb(245, 245, 245);
|
||||
--color-text: rgb(10, 10, 10);
|
||||
--color-dimmed: rgba(10, 10, 10, 0.5);
|
||||
}
|
||||
|
||||
.dark-theme {
|
||||
--background-primary: rgb(17, 17, 17);
|
||||
--background-primary-transparent: rgba(17, 17, 17, 0.9);
|
||||
--box-shadow: 0 0 4px rgb(27, 27, 27);
|
||||
--box-shadow-color: rgb(27, 27, 27);
|
||||
--color-text: rgb(245, 245, 245);
|
||||
--color-dimmed: rgba(245, 245, 245, 0.5);
|
||||
}
|
||||
|
||||
* {
|
||||
|
|
@ -111,8 +123,25 @@ a:hover {
|
|||
opacity: 0.5;
|
||||
}
|
||||
|
||||
button {
|
||||
background: var(--color-theme);
|
||||
border: none;
|
||||
border-radius: 1em;
|
||||
color: var(--background-primary);
|
||||
font-family: var(--font-family);
|
||||
font-size: 1em;
|
||||
outline: none;
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
cursor: pointer;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
hr {
|
||||
margin: 2em 0;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border: 1px solid var(--color-dimmed);
|
||||
border-bottom-width: 0;
|
||||
opacity: 0.25;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue