website/assets/sass/main.scss
2025-04-02 13:49:33 -03:00

175 lines
2.8 KiB
SCSS

@font-face {
font-family: "FG";
font-weight: 400;
src: url("/fonts/framd.ttf");
}
// @font-face {
// font-family: "FG";
// font-weight: 900;
// src: url("/fonts/frahv.ttf");
// }
@font-face {
font-family: "XFG";
font-weight: 900;
src: url("/fonts/frahvmod.ttf");
}
// * {
// outline: 1px blue solid;
// }
// https://sass-lang.com/documentation/variables/
$bg: #0e0e0e;
$fg: #505050;
$text: #fff5fc;
$color-1: #ffade2;
$color-2: #ff99b1;
$color-3: #ff8099;
$color-4: #ff4d6a;
$color-5: #ff1a38;
$warning: #ffff78;
$notice: #fabf70;
$alert: #fa7070;
html {
// background-color: $bg;
background-color: transparent;
// background-image: linear-gradient( rgba(8, 8, 8, 0.8), rgba(8, 8, 8, 0.8) ), url(/touhou-scores/bg.avif), url(/touhou-scores/bg.jpg);
background-image: linear-gradient( rgba(8, 8, 8, 0.8), rgba(8, 8, 8, 0.8) ), url(/bg.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
color: $text;
margin-left: 1rem;
margin-right: 1rem;
max-width: 1100px;
margin: 0 auto;
}
body {
line-height: 1.3;
font-family: sans-serif;
font-family: FG;
font-weight: 400;
text-align: justify;
word-wrap: break-word;
code {
color: rgb(101, 255, 90);
}
ul {
padding-left: 20px;
list-style-type: square;
}
a {
color: $color-1;
text-decoration: none !important;
}
h1,
h2,
h3 {
letter-spacing: 1px;
text-align: left;
}
h2 {
color: $color-3;
}
.warning {
color: $warning;
}
.notice {
color: $notice;
}
.alert {
color: $alert;
}
footer {
text-align: center;
img {
max-width: 100%;
max-height: 100px;
height: auto;
}
.counter {
// margin-top: 10px;
}
.subfooter {
p {
margin: 0 auto;
}
}
}
main {
table {
border-collapse: collapse;
width: 100%;
td {
border-top: 1px solid $color-1;
border-bottom: 1px solid $color-1;
padding: 0.6rem;
}
}
img,
iframe {
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
border: 2px solid $fg;
max-width: 100%;
}
video {
// position: relative;
display: block;
margin-left: auto;
margin-right: auto;
// border: 2px solid $fg;
max-width: 100%;
max-height: 300px;
}
}
}
nav {
margin-top: 10px;
a {
color: $color-1;
margin-right: 5px;
text-decoration: none !important;
}
}
.footerline {
color: #7d4b6c;
}
.fourofour {
text-align: center;
img {
position: relative;
width: 70%;
}
}
.tohonavbar {
@keyframes ani {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
// background: linear-gradient(270deg, #b22ff9, #d751fc);
background: linear-gradient(250deg, #ff6f9d 0%, #c465d1 50%, #a400ff 100%);
background-clip: text;
background-size: 400% 400%;
color: transparent;
animation: ani 15s ease infinite;
}