BS-001 Initialize BortStack foundation and project workflow
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
@use "./colors";
|
||||
|
||||
.app {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pageContent {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 20px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.skipLink {
|
||||
position: fixed;
|
||||
z-index: 2000;
|
||||
top: 0.5rem;
|
||||
left: 0.5rem;
|
||||
padding: 0.75rem 1rem;
|
||||
color: #111;
|
||||
background: #fff;
|
||||
transform: translateY(-200%);
|
||||
}
|
||||
|
||||
.skipLink:focus {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
:focus-visible {
|
||||
outline: 3px solid colors.$focus-ring;
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
@media (max-width: 575.98px) {
|
||||
main {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
scroll-behavior: auto !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
$body-bg: #222222;
|
||||
$body-color: white;
|
||||
$primary: #f99c00;
|
||||
$secondary: #005e49;
|
||||
$danger: red;
|
||||
$surface-header: #343a40;
|
||||
$surface-footer: #343a40;
|
||||
$focus-ring: #ffb84d;
|
||||
|
||||
$theme-colors: (
|
||||
"grey-dark": #222222,
|
||||
"grey-light": #d6f0e3,
|
||||
"grey": #343a40,
|
||||
"orange": #f99c00,
|
||||
"primary": $primary,
|
||||
"secondary": $secondary,
|
||||
"danger": $danger,
|
||||
"header-bg": $surface-header,
|
||||
"footer-bg": $surface-footer
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
@use "./colors";
|
||||
@use "bootstrap/scss/bootstrap" with (
|
||||
$body-bg: colors.$body-bg,
|
||||
$body-color: colors.$body-color,
|
||||
$primary: colors.$primary,
|
||||
$secondary: colors.$secondary,
|
||||
$danger: colors.$danger,
|
||||
$theme-colors: colors.$theme-colors
|
||||
);
|
||||
@use "./app";
|
||||
Reference in New Issue
Block a user