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

98 lines
1.6 KiB
SCSS
Raw Permalink 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-27 11:12:11 +00:00
--gradient-body: linear-gradient(to right, var(--bg-color-1), var(--bg-color-2) , var(--bg-color-3), var(--bg-color-4));
2021-10-22 11:46:00 +00:00
--color-link: #ee0;
--spacing: 8px;
--spacing-2: calc(var(--spacing) * 2);
2021-10-22 09:12:59 +00:00
--container-width: 1080px;
--container-lg-width: 1380px;
2021-10-13 15:54:25 +00:00
}
2021-10-11 09:28:51 +00:00
@keyframes background_animation {
0%,100% {
background-position: 0 0;
}
50% {
background-position: 100% 0;
}
}
@keyframes text_animation {
0%,100% {
color: #ddd;
}
50% {
2021-10-11 09:28:51 +00:00
color: #000;
}
}
body.animated {
2021-11-12 10:21:00 +00:00
//background: var(--gradient-body);
//animation: background_animation 60s ease-in-out infinite;
2021-10-11 09:28:51 +00:00
background-size: 400% 100%;
2021-10-22 09:12:59 +00:00
color: #ddd;
}
body.animated-text {
2021-11-12 10:21:00 +00:00
//animation: text_animation 60s ease-in-out infinite;
}
2021-10-23 14:13:13 +00:00
body.animated.animated-text {
2021-11-12 10:21:00 +00:00
//animation: background_animation 60s ease-in-out infinite, text_animation 60s ease-in-out infinite;
2021-10-23 14:13:13 +00:00
}
body {
2021-10-11 09:28:51 +00:00
color: #ddd;
2021-11-21 11:04:30 +00:00
background-color: #051e2e;
font-family: "noto_sans", sans-serif;
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;
}
}
2021-10-22 09:12:59 +00:00
.row {
display: flex;
margin-left: calc(var(--spacing-2) * -1);
margin-right: calc(var(--spacing-2) * -1);
}
.col {
padding-left: var(--spacing-2);
padding-right: var(--spacing-2);
}
2021-10-22 14:11:52 +00:00
2021-10-22 11:46:00 +00:00
// Animations: Fade In
@keyframes fade_in {
2021-10-22 11:46:00 +00:00
0% {
opacity: 0;
}
100% {
opacity: 1;
}
2021-11-12 10:21:00 +00:00
}