mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-14 12:42:31 -05:00
87 lines
1.4 KiB
SCSS
87 lines
1.4 KiB
SCSS
// Sass modules
|
|
@use "sass:math";
|
|
|
|
// Base font size
|
|
$base-font-size: 16px;
|
|
|
|
// Libraries
|
|
$enable-smooth-scroll: false;
|
|
@import "bootstrap/scss/bootstrap.scss";
|
|
|
|
// Functions
|
|
@import "functions/**/*.scss";
|
|
|
|
// Core
|
|
@import "_fonts";
|
|
@import "_common-vars";
|
|
@import "_site-vars";
|
|
|
|
// Supplementary
|
|
@import "mixins/**/*.scss";
|
|
@import "classes/**/*.scss";
|
|
@import "partials/**/*.scss";
|
|
@import "sections/**/*.scss";
|
|
@import "pages/**/*.scss";
|
|
|
|
//
|
|
// Main Website Styles
|
|
//
|
|
|
|
[data-whatinput="initial"], [data-whatinput="keyboard"] {
|
|
:focus {
|
|
outline: 1px dotted $c-base;
|
|
}
|
|
}
|
|
|
|
[data-whatinput="mouse"], [data-whatinput="touch"] {
|
|
:focus {
|
|
outline: none !important;
|
|
}
|
|
}
|
|
|
|
html {
|
|
width: 100%;
|
|
font-size: $base-font-size;
|
|
|
|
@include media-breakpoint-up(xxxl) {
|
|
font-size: 18px;
|
|
}
|
|
|
|
@include media-breakpoint-up(xxxxl) {
|
|
font-size: 20px;
|
|
}
|
|
|
|
&.no-scroll {
|
|
overflow-y: hidden;
|
|
}
|
|
}
|
|
|
|
body {
|
|
@include font-sans;
|
|
width: 100%;
|
|
color: $c-text;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.page-container {
|
|
display: flex;
|
|
min-height: 100vh;
|
|
flex-direction: column;
|
|
|
|
@media (max-width: $nav-mobile-max) {
|
|
padding-top: $nav-height-mobile;
|
|
}
|
|
|
|
@media (min-width: $nav-desktop-min) {
|
|
padding-top: $nav-height-desktop;
|
|
}
|
|
|
|
.main-content {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
|
|
> div {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|