1
0
mirror of https://gitlab.com/redline-racing-division/redline-racing-website.git synced 2025-07-22 14:11:24 +00:00

complete redo

This commit is contained in:
2019-11-06 18:03:33 -07:00
parent 326ba84663
commit 1ef8b0739b
145 changed files with 51809 additions and 20275 deletions

View File

@@ -0,0 +1,31 @@
.bg-primary {
background-color: $primary !important;
}
.btn-primary {
background-color: $primary;
border-color: $primary;
&:active,
&:focus,
&:hover {
background-color: darken($primary, 10%) !important;
border-color: darken($primary, 10%) !important;
}
&:focus {
box-shadow: 0 0 0 0.2rem fade-out($primary, 0.5);
}
}
.btn-secondary {
background-color: $secondary;
border-color: $secondary;
&:active,
&:focus,
&:hover {
background-color: darken($secondary, 10%) !important;
border-color: darken($secondary, 10%) !important;
}
&:focus {
box-shadow: 0 0 0 0.2rem fade-out($secondary, 0.5);
}
}

28
scss/_global.scss Normal file
View File

@@ -0,0 +1,28 @@
body {
@include body-font;
}
h1,
h2,
h3,
h4,
h5,
h6 {
@include heading-font;
}
.btn-xl {
text-transform: uppercase;
padding: 1.5rem 3rem;
font-size: 0.9rem;
font-weight: 700;
letter-spacing: 0.1rem;
}
.bg-black {
background-color: $black !important;
}
.rounded-pill {
border-radius: 5rem;
}

66
scss/_masthead.scss Normal file
View File

@@ -0,0 +1,66 @@
header.masthead {
position: relative;
overflow: hidden;
padding-top: calc(7rem + 72px);
padding-bottom: 7rem;
background: linear-gradient(0deg, $secondary 0%, $primary 100%);
background-repeat: no-repeat;
background-position: center center;
background-attachment: scroll;
background-size: cover;
.masthead-content {
z-index: 1;
position: relative;
.masthead-heading {
font-size: 4rem;
}
.masthead-subheading {
font-size: 2rem;
}
}
.bg-circle {
z-index: 0;
position: absolute;
border-radius: 100%;
background: linear-gradient(0deg, $primary 0%, $secondary 100%);
}
.bg-circle-1 {
height: 90rem;
width: 90rem;
bottom: -55rem;
left: -55rem;
}
.bg-circle-2 {
height: 50rem;
width: 50rem;
top: -25rem;
right: -25rem;
}
.bg-circle-3 {
height: 20rem;
width: 20rem;
bottom: -10rem;
right: 5%;
}
.bg-circle-4 {
height: 30rem;
width: 30rem;
top: -5rem;
right: 35%;
}
}
@media (min-width: 992px) {
header.masthead {
padding-top: calc(10rem + 55px);
padding-bottom: 10rem;
.masthead-content {
.masthead-heading {
font-size: 6rem;
}
.masthead-subheading {
font-size: 4rem;
}
}
}
}

8
scss/_mixins.scss Normal file
View File

@@ -0,0 +1,8 @@
@mixin heading-font {
font-family: 'Catamaran';
font-weight: 800 !important;
}
@mixin body-font {
font-family: 'Lato';
}

21
scss/_navbar.scss Normal file
View File

@@ -0,0 +1,21 @@
.navbar-custom {
padding-top: 1rem;
padding-bottom: 1rem;
background-color: fade-out($black, 0.3);
.navbar-brand {
text-transform: uppercase;
font-size: 1rem;
letter-spacing: 0.1rem;
font-weight: 700;
}
.navbar-nav {
.nav-item {
.nav-link {
text-transform: uppercase;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.1rem;
}
}
}
}

18
scss/_variables.scss Normal file
View File

@@ -0,0 +1,18 @@
// Variables
// Restated Bootstrap Variables
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #e9ecef !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #adb5bd !default;
$gray-600: #868e96 !default;
$gray-700: #495057 !default;
$gray-800: #343a40 !default;
$gray-900: #212529 !default;
$black: #000 !default;
$primary: #ee0979 !default;
$secondary: #ff6a00 !default;

View File

@@ -0,0 +1,9 @@
// Core variables and mixins
@import "variables.scss";
@import "mixins.scss";
// Global CSS
@import "global.scss";
// Components
@import "navbar.scss";
@import "masthead.scss";
@import "bootstrap-overrides.scss";