Vandevliet.AerialShots.Website/src/scss/styles.scss

403 lines
7.2 KiB
SCSS
Raw Normal View History

// Toggle global options
// $enable-gradients: true;
// $enable-shadows: true;
// Include functions first (so you can manipulate colors, SVGs, calc, etc)
2024-11-03 12:05:19 +01:00
@import "bootstrap/scss/functions";
// scss-docs-start color-variables
$red: #cc2929; // Default: #dc3545
// scss-docs-start theme-color-variables
$primary: $red; // Default: $blue
// Include remainder of required Bootstrap stylesheets
2024-11-03 12:05:19 +01:00
@import "bootstrap/scss/variables";
@import "bootstrap/scss/variables-dark";
// Include any default map overrides here
2025-05-24 16:59:33 +02:00
$carousel-indicator-active-bg-dark: $white;
$carousel-caption-color-dark: $white;
$carousel-control-icon-filter-dark: unset;
$accordion-icon-width: 1rem;
// Include remainder of required parts
2024-11-03 12:05:19 +01:00
@import "bootstrap/scss/maps";
@import "bootstrap/scss/mixins";
@import "bootstrap/scss/root";
// Utilities
@import "bootstrap/scss/utilities";
// Include any other parts as needed
2024-11-03 12:05:19 +01:00
@import "bootstrap/scss/reboot";
@import "bootstrap/scss/type";
@import "bootstrap/scss/containers";
@import "bootstrap/scss/grid";
@import "bootstrap/scss/nav";
@import "bootstrap/scss/navbar"; // Requires nav
@import "bootstrap/scss/buttons";
@import "bootstrap/scss/card";
@import "bootstrap/scss/carousel";
@import "bootstrap/scss/images";
@import "bootstrap/scss/list-group";
@import "bootstrap/scss/transitions";
@import "bootstrap/scss/accordion";
2024-11-03 12:05:19 +01:00
// @import "bootstrap/scss/alert";
// @import "bootstrap/scss/badge";
// @import "bootstrap/scss/breadcrumb";
// @import "bootstrap/scss/button-group";
// @import "bootstrap/scss/close";
// @import "bootstrap/scss/dropdown";
// @import "bootstrap/scss/forms";
// @import "bootstrap/scss/modal"; // Requires transitions
// @import "bootstrap/scss/offcanvas"; // Requires transitions
// @import "bootstrap/scss/pagination";
// @import "bootstrap/scss/placeholders";
// @import "bootstrap/scss/popover";
// @import "bootstrap/scss/progress";
// @import "bootstrap/scss/spinners";
// @import "bootstrap/scss/tables";
// @import "bootstrap/scss/toasts";
// @import "bootstrap/scss/tooltip";
// Helpers
2024-11-03 12:05:19 +01:00
@import "bootstrap/scss/helpers";
// Utilities API
2024-11-03 12:05:19 +01:00
@import "bootstrap/scss/utilities/api";
//
// Custom styles
//
@font-face {
font-family: 'Century Gothic';
src: url('../font/GOTHICB.TTF') format('truetype');
2024-07-18 15:45:46 +02:00
font-display: fallback;
}
@font-face {
font-family: 'Eras ITC';
src: url('../font/ERASMD.TTF') format('truetype');
2024-07-18 15:45:46 +02:00
font-display: fallback;
}
2025-05-24 17:35:19 +02:00
$ff-header: 'Century Gothic',
var(--#{$prefix}font-sans-serif);
$ff-subheader: 'Eras ITC',
var(--#{$prefix}font-sans-serif);
2024-07-26 17:05:31 +02:00
main {
@extend .pt-3;
@extend .pb-4;
2025-12-18 12:45:11 +01:00
@extend .flex-grow-1;
2024-07-26 17:05:31 +02:00
}
section,
2024-07-26 17:05:31 +02:00
main>* {
@extend .pt-4;
@extend .pb-3;
}
2025-12-17 20:15:49 +01:00
header {
min-height: 4.5rem;
}
::selection {
@extend .text-dark;
background-color: $red-200;
}
:target {
scroll-margin-top: 4.5rem;
}
.anchor-link {
text-decoration: none;
opacity: 0;
transition: opacity 0.2s;
}
2024-08-18 14:55:44 +02:00
.ff-header,
h1,
h2 {
2025-05-24 17:35:19 +02:00
font-family: $ff-header;
}
2024-08-18 14:55:44 +02:00
.ff-subheader,
h3,
h4,
h5,
h6 {
2025-05-24 17:35:19 +02:00
font-family: $ff-subheader;
}
2024-07-26 17:05:31 +02:00
h1,
h2 {
@extend .mb-0;
&:not(:first-child) {
@extend .mt-4;
2024-07-26 17:05:31 +02:00
}
}
h3,
h4,
h5,
h6,
2025-06-20 10:23:01 +02:00
p,
ul,
ol,
blockquote,
dl,
dt,
dd {
2024-07-26 17:05:31 +02:00
@extend .mb-0;
&:not(:first-child) {
@extend .mt-3;
2024-07-26 17:05:31 +02:00
}
}
h1:hover .anchor-link,
h2:hover .anchor-link,
h3:hover .anchor-link,
h4:hover .anchor-link,
h5:hover .anchor-link,
h6:hover .anchor-link {
opacity: 1;
}
.text-shadow {
text-shadow:
-1px -1px 0 rgba(0, 0, 0, 0.4),
-1px 0px 0 rgba(0, 0, 0, 0.4),
-1px 1px 0 rgba(0, 0, 0, 0.4),
0px -1px 0 rgba(0, 0, 0, 0.4),
0px 0px 0 rgba(0, 0, 0, 0.4),
0px 1px 0 rgba(0, 0, 0, 0.4),
1px -1px 0 rgba(0, 0, 0, 0.4),
1px 0px 0 rgba(0, 0, 0, 0.4),
1px 1px 0 rgba(0, 0, 0, 0.4);
}
.text-dark.text-shadow {
text-shadow:
-1px -1px 0 rgba(255, 255, 255, 0.4),
-1px 0px 0 rgba(255, 255, 255, 0.4),
-1px 1px 0 rgba(255, 255, 255, 0.4),
0px -1px 0 rgba(255, 255, 255, 0.4),
0px 0px 0 rgba(255, 255, 255, 0.4),
0px 1px 0 rgba(255, 255, 255, 0.4),
1px -1px 0 rgba(255, 255, 255, 0.4),
1px 0px 0 rgba(255, 255, 255, 0.4),
1px 1px 0 rgba(255, 255, 255, 0.4);
}
2025-07-03 20:55:37 +02:00
:not(a)>.fa-regular,
:not(a)>.fa-solid {
2024-07-26 17:05:31 +02:00
color: var(--bs-primary);
}
.navbar,
.hero-body {
background-image: none !important;
2024-07-13 18:09:28 +02:00
background-color: rgba(22, 23, 25, 0.6) !important;
transition: background-color 0.5s;
}
body.is-scrolled .navbar {
background-color: rgba(22, 23, 25, 1.0) !important;
}
.navbar-collapse:not(.collapsing):not(.show) {
max-width: fit-content;
}
.hero-body {
width: 100%;
padding: 1rem;
@extend .h5;
@extend .text-center;
2024-07-13 18:09:28 +02:00
@extend .text-white;
}
.nav-item {
.nav-link,
.btn {
2025-07-05 11:34:38 +02:00
// @extend .text-white;
2025-05-24 17:35:19 +02:00
font-family: $ff-header;
}
}
.btn {
2025-07-03 20:55:37 +02:00
@extend .text-white;
font-family: $ff-header;
.fa-regular,
.fa-solid {
color: inherit;
}
}
2025-07-05 11:34:38 +02:00
.socials {
display: flex;
gap: .5rem;
}
.navbar-nav {
.btn {
border: none;
padding-top: var(--bs-nav-link-padding-y);
padding-bottom: var(--bs-nav-link-padding-y);
}
.socials {
@extend .justify-content-center;
}
// navbar-expand-lg
@include media-breakpoint-up(lg) {
.btn:not(.btn+.btn),
.socials a:not(a+a) {
margin-left: var(--bs-navbar-nav-link-padding-x);
}
.socials {
gap: 0;
}
}
}
.row {
margin-top: unset;
--bs-gutter-y: var(--bs-gutter-x);
}
img.grayscale-effect {
transition: filter 0.2s;
}
2025-07-05 11:34:38 +02:00
:not(:hover) img.grayscale-effect {
filter: grayscale(80%);
}
.gradient-to-top-light {
position: relative;
}
.gradient-to-top-light::before {
content: "";
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: linear-gradient(to top, transparent 67%, rgba(var(--bs-light-rgb), 1) 100%);
z-index: 1;
}
.parallax,
.cover,
.card-img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 0;
}
.parallax {
2024-06-26 17:07:23 +02:00
position: absolute;
height: 100vh;
}
.card {
border: none;
overflow: hidden;
}
.card-img-overlay {
position: unset;
z-index: 1;
width: 100%;
height: 100%;
}
2024-12-07 12:22:37 +01:00
.carousel-caption {
right: unset;
left: unset;
bottom: 0;
// @extend .text-shadow;
}
.carousel-indicators {
position: unset;
border-bottom-left-radius: var(--bs-border-radius);
border-bottom-right-radius: var(--bs-border-radius);
}
.carousel-caption,
.carousel-indicators {
width: 100%;
background-color: rgba(22, 23, 25, 0.6) !important;
@extend .m-0;
@extend .p-0;
}
.accordion-button:not(.accordion .accordion-button) {
@extend .accordion;
padding: unset;
color: unset;
background-color: unset;
box-shadow: unset;
border: 0;
&::after {
width: var(--#{$prefix}accordion-btn-icon-width);
height: var(--#{$prefix}accordion-btn-icon-width);
margin-left: .5rem;
@include transition(var(--#{$prefix}accordion-btn-icon-transition));
}
}
2024-08-18 15:00:53 +02:00
.list-group-item {
background-color: inherit;
border: solid var(--bs-body-bg);
border-width: 3px 0 0 0 !important;
2024-08-18 15:00:53 +02:00
}
.scrollto-highlight {
position: relative;
overflow: hidden;
animation: highlight-fade 1s ease;
}
.scrollto-highlight::after {
content: "";
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.20);
pointer-events: none;
animation: highlight-overlay-fade 1s ease-in-out forwards;
}
@keyframes highlight-overlay-fade {
0% {
opacity: 0;
}
5%,
90% {
opacity: 1;
}
100% {
opacity: 0;
}
}