css
This commit is contained in:
parent
2e6bdf0b6c
commit
d72dd3f329
1 changed files with 20 additions and 11 deletions
31
index.css
31
index.css
|
@ -12,29 +12,38 @@
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes AnimationName {
|
||||||
|
0% { background-position: 0% 50%; }
|
||||||
|
50% { background-position: 100% 50%; }
|
||||||
|
100% { background-position: 0% 50%; }
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Atkinson Hyperlegible';
|
font-family: 'Atkinson Hyperlegible';
|
||||||
padding: 1%;
|
padding: 2em;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
max-width: 40em;
|
max-width: 40em;
|
||||||
background: linear-gradient(234deg, #ffecf2, #ffd9e5);
|
|
||||||
-webkit-animation: AnimationName 5s ease infinite;
|
|
||||||
-moz-animation: AnimationName 5s ease infinite;
|
|
||||||
-o-animation: AnimationName 5s ease infinite;
|
|
||||||
animation: AnimationName 5s ease infinite;
|
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
min-height: 100%;
|
||||||
|
background: linear-gradient(130deg, #ffecf2, #ffd9e5) no-repeat;
|
||||||
|
background-size: 200% 200%;
|
||||||
|
animation: AnimationName 30s ease infinite;
|
||||||
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body {
|
body {
|
||||||
background: linear-gradient(234deg, #28282B, #353935);
|
|
||||||
-webkit-animation: AnimationName 5s ease infinite;
|
|
||||||
-moz-animation: AnimationName 5s ease infinite;
|
|
||||||
-o-animation: AnimationName 5s ease infinite;
|
|
||||||
animation: AnimationName 5s ease infinite;
|
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
html {
|
||||||
|
min-height: 100%;
|
||||||
|
background: linear-gradient(130deg, #28282B, #353935) no-repeat;
|
||||||
|
background-size: 200% 200%;
|
||||||
|
animation: AnimationName 30s ease infinite;
|
||||||
|
}
|
||||||
a:visited {
|
a:visited {
|
||||||
color: #7174ab
|
color: #7174ab
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue