added bg anim
parent
3e7488aba7
commit
8511719ef5
|
@ -110,7 +110,7 @@ pre {
|
|||
hyphens: none;
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
background-color: var(--code-bg)
|
||||
/*background-color: var(--code-bg)*/
|
||||
}
|
||||
code {
|
||||
word-break: break-all;
|
||||
|
@ -274,3 +274,30 @@ a[href].direct-link:focus:visited,
|
|||
:hover > a[href].direct-link:visited {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
|
||||
|
||||
html, body {
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0px;
|
||||
}
|
||||
body {
|
||||
background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
|
||||
background-size: 400% 400%;
|
||||
animation: gradient 10s ease infinite;
|
||||
}
|
||||
|
||||
|
||||
@keyframes gradient {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue