njpma/app/static/css/partials/_layout.scss

45 lines
767 B
SCSS
Raw Normal View History

2021-10-13 15:54:25 +00:00
:root {
--bg-color-1: #6666ff;
--bg-color-2: #0099ff;
--bg-color-3: #ffff00;
--bg-color-4: #ff3399;
}
2021-10-11 09:28:51 +00:00
@keyframes background_animation {
0%,100% {
background-position: 0 0;
color: #ddd;
}
50% {
background-position: 100% 0;
color: #000;
}
}
body {
2021-10-13 15:54:25 +00:00
background: linear-gradient(to right, var(--bg-color-1), var(--bg-color-2) , var(--bg-color-3), var(--bg-color-4));
2021-10-11 09:28:51 +00:00
animation: background_animation 60s ease-in-out infinite;
background-size: 400% 100%;
color: #ddd;
font-family: "Noto Sans";
font-size: 20px;
overflow-x: hidden;
}
main {
line-height: 1.2em;
}
nav {
a {
color: #fff;
}
}
2021-10-12 09:41:57 +00:00
@media screen and (max-width: 799px) {
.hide-mobile {
display: none;
}
}