145 lines
2.0 KiB
SCSS
145 lines
2.0 KiB
SCSS
// Fonts.
|
|
@import '@fontsource/Lato/index.css';
|
|
@import '@fontsource/Alexandria/700.css';
|
|
|
|
// Bootstrap & animations.
|
|
@import 'bootstrap/dist/css/bootstrap.css';
|
|
@import 'transition.scss';
|
|
@import 'animate.css';
|
|
|
|
// CSS Variables.
|
|
:root {
|
|
--animate-delay: 0.75s;
|
|
}
|
|
|
|
// The HTML page.
|
|
html {
|
|
height: 100%;
|
|
}
|
|
|
|
// The body element.
|
|
body {
|
|
background-color: rgb(6, 25, 28);
|
|
background-image: url('~/assets/images/sky.png');
|
|
|
|
background-attachment: fixed;
|
|
background-blend-mode: multiply;
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
|
|
image-rendering: pixelated;
|
|
|
|
color: white;
|
|
font-family: 'Lato', sans-serif;
|
|
font-size: 18px;
|
|
|
|
height: 100%;
|
|
}
|
|
|
|
// Entry point (Vue mount).
|
|
#ender-app {
|
|
height: 100%;
|
|
|
|
image-rendering: auto;
|
|
}
|
|
|
|
// Helper classes that don't exist in Bootstrap.
|
|
.no-decoration {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.text-align-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.font-small {
|
|
font-size: 14px;
|
|
}
|
|
|
|
// Query-overridable classes.
|
|
.enderesque {
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.link {
|
|
color: inherit;
|
|
}
|
|
|
|
.link:hover {
|
|
color: cornflowerblue;
|
|
}
|
|
|
|
.radial-gradient {
|
|
background: radial-gradient(
|
|
circle at left,
|
|
rgba(255, 255, 255, 0.8),
|
|
rgba(255, 255, 255, 0.75),
|
|
rgba(255, 255, 255, 0)
|
|
);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
color: black;
|
|
}
|
|
|
|
.enderesque {
|
|
background-color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.link:hover {
|
|
color: darkslateblue;
|
|
}
|
|
|
|
.radial-gradient {
|
|
background: radial-gradient(
|
|
circle at left,
|
|
rgba(0, 0, 0, 0.95),
|
|
rgba(0, 0, 0, 0.8),
|
|
rgba(0, 0, 0, 0)
|
|
);
|
|
}
|
|
}
|
|
|
|
// Dimensions.
|
|
@media (max-width: 575px) {
|
|
.enderesque {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 576px) {
|
|
.enderesque {
|
|
width: 80%;
|
|
}
|
|
|
|
.rounded-card {
|
|
border-radius: 1em;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.enderesque {
|
|
width: 60%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.enderesque {
|
|
width: 60%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.enderesque {
|
|
width: 60%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 2000px) {
|
|
.enderesque {
|
|
width: 40%;
|
|
}
|
|
}
|