Premier commit

This commit is contained in:
nyanloutre 2017-07-14 15:51:49 +02:00
commit 08d105b7c0
No known key found for this signature in database
GPG key ID: 4177A74B460FAFD2
102 changed files with 40084 additions and 0 deletions

View file

@ -0,0 +1,29 @@
// Bootstrap overrides for this template
.text-primary {
color: $theme-primary !important;
}
.no-gutter > [class*='col-'] {
padding-right: 0;
padding-left: 0;
}
.btn-default {
@include button-variant($gray-darker, white, white);
}
.btn-primary {
@include button-variant(white, $theme-primary, $theme-primary);
}
.btn {
font-weight: 700;
text-transform: uppercase;
border: none;
border-radius: 300px;
@include sans-serif-font;
}
.btn-xl {
padding: 15px 30px;
}

7
scss/_cta.scss Normal file
View file

@ -0,0 +1,7 @@
// Styling for the call to action section
.call-to-action {
padding: 50px 0;
h2 {
margin: 0 auto 20px;
}
}

95
scss/_global.scss Normal file
View file

@ -0,0 +1,95 @@
// Global styling for this template
html,
body {
width: 100%;
height: 100%;
}
body {
@include serif-font;
}
hr {
max-width: 50px;
border-width: 3px;
border-color: $theme-primary;
}
hr.light {
border-color: white;
}
a {
color: $theme-primary;
@include transition-all;
&:hover,
&:focus {
color: darken($theme-primary, .1);
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
@include sans-serif-font;
}
p {
font-size: 16px;
line-height: 1.5;
margin-bottom: 20px;
}
.bg-primary {
background-color: $theme-primary !important;
}
.bg-dark {
color: white;
background-color: $gray-darker !important;
}
.text-faded {
color: fade-out(white, .3);
}
section {
padding: 100px 0;
}
.section-heading {
margin-top: 0;
}
.no-padding {
padding: 0;
}
::-moz-selection {
color: white;
background: $gray-darker;
text-shadow: none;
}
::selection {
color: white;
background: $gray-darker;
text-shadow: none;
}
img::selection {
color: white;
background: transparent;
}
img::-moz-selection {
color: white;
background: transparent;
}
body {
-webkit-tap-highlight-color: $gray-darker;
}

74
scss/_masthead.scss Normal file
View file

@ -0,0 +1,74 @@
// Styling for the masthead
header.masthead {
position: relative;
width: 100%;
min-height: auto;
text-align: center;
color: white;
background-image: url('../img/header.jpg');
background-position: center;
@include background-cover;
.header-content {
position: relative;
width: 100%;
padding: 100px 15px 100px;
text-align: center;
.header-content-inner {
color: black;
h1 {
font-size: 30px;
font-weight: 700;
margin-top: 0;
margin-bottom: 0;
text-transform: uppercase;
}
hr {
margin: 30px auto;
}
p {
font-size: 16px;
font-weight: 300;
margin-bottom: 50px;
color: fade-out(black, .3);
}
}
}
video {
position: absolute;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
background-size: cover;
overflow: hidden;
}
@media (min-width: 768px) {
height: 100%;
min-height: 600px;
.header-content {
position: absolute;
top: 50%;
padding: 0 50px;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
.header-content-inner {
max-width: 1000px;
margin-right: auto;
margin-left: auto;
h1 {
font-size: 50px;
}
p {
font-size: 18px;
max-width: 80%;
margin-right: auto;
margin-left: auto;
}
}
}
}
}

72
scss/_mixins.scss Normal file
View file

@ -0,0 +1,72 @@
// Mixins
// Bootstrap Button Variant
@mixin button-variant($color, $background, $border) {
color: $color;
border-color: $border;
background-color: $background;
&:focus,
&.focus {
color: $color;
border-color: darken($border, 25%);
background-color: darken($background, 10%);
}
&:hover {
color: $color;
border-color: darken($border, 12%);
background-color: darken($background, 10%);
}
&:active,
&.active,
.open > &.dropdown-toggle {
color: $color;
border-color: darken($border, 12%);
background-color: darken($background, 10%);
&:hover,
&:focus,
&.focus {
color: $color;
border-color: darken($border, 25%);
background-color: darken($background, 17%);
}
}
&:active,
&.active,
.open > &.dropdown-toggle {
background-image: none;
}
&.disabled,
&[disabled],
fieldset[disabled] & {
&:hover,
&:focus,
&.focus {
border-color: $border;
background-color: $background;
}
}
.badge {
color: $background;
background-color: $color;
}
}
@mixin transition-all() {
-webkit-transition: all .2s;
-moz-transition: all .2s;
transition: all .2s;
}
@mixin background-cover() {
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
@mixin serif-font() {
font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}
@mixin sans-serif-font() {
font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

81
scss/_navbar.scss Normal file
View file

@ -0,0 +1,81 @@
// Styling for the navbar
#mainNav {
border-color: fade-out($gray-darker, .95);
background-color: white;
@include sans-serif-font;
@include transition-all;
.navbar-brand {
font-weight: 700;
text-transform: uppercase;
color: $theme-primary;
@include sans-serif-font;
&:hover,
&:focus {
color: darken($theme-primary, .1);
}
}
.navbar-toggle {
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
color: $gray-darker;
}
.navbar-nav {
> li.nav-item {
> a.nav-link,
> a.nav-link:focus {
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
color: $gray-darker;
&:hover {
color: $theme-primary;
}
&.active {
color: $theme-primary !important;
background-color: transparent;
&:hover {
background-color: transparent;
}
}
}
}
}
@media (min-width: 992px) {
border-color: fade-out(white, .7);
background-color: transparent;
.navbar-brand {
color: fade-out(white, .3);
&:hover,
&:focus {
color: white;
}
}
.navbar-nav > li.nav-item > a.nav-link,
.navbar-nav > li.nav-item > a.nav-link:focus {
color: fade-out(white, .3);
&:hover {
color: white;
}
}
&.navbar-shrink {
border-color: fade-out($gray-darker, .95);
background-color: white;
.navbar-brand {
font-size: 16px;
color: $theme-primary;
&:hover,
&:focus {
color: darken($theme-primary, .1);
}
}
.navbar-nav > li.nav-item > a.nav-link,
.navbar-nav > li.nav-item > a.nav-link:focus {
color: $gray-darker;
&:hover {
color: $theme-primary;
}
}
}
}
}

59
scss/_portfolio.scss Normal file
View file

@ -0,0 +1,59 @@
// Styling for the portfolio section
.portfolio-box {
position: relative;
display: block;
max-width: 650px;
margin: 0 auto;
.portfolio-box-caption {
position: absolute;
bottom: 0;
display: block;
width: 100%;
height: 100%;
text-align: center;
opacity: 0;
color: white;
background: fade-out($theme-primary, .1);
@include transition-all;
.portfolio-box-caption-content {
position: absolute;
top: 50%;
width: 100%;
transform: translateY(-50%);
text-align: center;
.project-category,
.project-name {
padding: 0 15px;
@include sans-serif-font;
}
.project-category {
font-size: 14px;
font-weight: 600;
text-transform: uppercase;
}
.project-name {
font-size: 18px;
}
}
}
&:hover {
.portfolio-box-caption {
opacity: 1;
}
}
&:focus {
outline: none;
}
@media (min-width: 768px) {
.portfolio-box-caption {
.portfolio-box-caption-content {
.project-category {
font-size: 16px;
}
.project-name {
font-size: 22px;
}
}
}
}
}

11
scss/_services.scss Normal file
View file

@ -0,0 +1,11 @@
// Styling for the services section
.service-box {
max-width: 400px;
margin: 50px auto 0;
@media (min-width: 992px) {
margin: 20px auto 0;
}
p {
margin-bottom: 0;
}
}

12
scss/_variables.scss Normal file
View file

@ -0,0 +1,12 @@
// Variables
// Gray and Brand Colors for use across theme
$theme-primary: #F05F40;
$gray-base: #000 !default;
$gray-darker: lighten($gray-base, 13.5%) !default; // #222
$gray-dark: lighten($gray-base, 20%) !default; // #333
$gray: lighten($gray-base, 33.5%) !default; // #555
$gray-light: lighten($gray-base, 46.7%) !default; // #777
$gray-lighter: lighten($gray-base, 93.5%) !default; // #eee

9
scss/creative.scss Normal file
View file

@ -0,0 +1,9 @@
@import "variables.scss";
@import "mixins.scss";
@import "global.scss";
@import "navbar.scss";
@import "masthead.scss";
@import "services.scss";
@import "portfolio.scss";
@import "cta.scss";
@import "bootstrap-overrides.scss";