Initial commit
This commit is contained in:
commit
f6abb10a94
85 changed files with 31910 additions and 0 deletions
361
less/creative.less
Normal file
361
less/creative.less
Normal file
|
@ -0,0 +1,361 @@
|
|||
@import "variables.less";
|
||||
@import "mixins.less";
|
||||
|
||||
// Global Components
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
.serif-font;
|
||||
}
|
||||
|
||||
hr {
|
||||
border-color: @theme-primary;
|
||||
border-width: 3px;
|
||||
max-width: 50px;
|
||||
}
|
||||
|
||||
hr.light {
|
||||
border-color: white;
|
||||
}
|
||||
|
||||
a {
|
||||
.transition-all;
|
||||
color: @theme-primary;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@theme-primary, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
.sans-serif-font;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.bg-primary {
|
||||
background-color: @theme-primary;
|
||||
}
|
||||
|
||||
.bg-dark {
|
||||
background-color: @gray-darker;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.text-faded {
|
||||
color: fade(white, 70%);
|
||||
}
|
||||
|
||||
section {
|
||||
padding: 100px 0;
|
||||
}
|
||||
|
||||
aside {
|
||||
padding: 50px 0;
|
||||
}
|
||||
|
||||
.no-padding {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// Navigation
|
||||
|
||||
.navbar-default {
|
||||
background-color: white;
|
||||
border-color: fade(@gray-darker, 5%);
|
||||
.sans-serif-font;
|
||||
.transition-all;
|
||||
.navbar-header .navbar-brand {
|
||||
color: @theme-primary;
|
||||
.sans-serif-font;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@theme-primary, 10%);
|
||||
}
|
||||
}
|
||||
.navbar-header .navbar-toggle {
|
||||
font-weight: 700;
|
||||
font-size: 12px;
|
||||
color: @gray-darker;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.nav {
|
||||
> li {
|
||||
> a,
|
||||
> a:focus {
|
||||
text-transform: uppercase;
|
||||
font-weight: 700;
|
||||
font-size: 13px;
|
||||
color: @gray-darker;
|
||||
&:hover {
|
||||
color: @theme-primary;
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
> a,
|
||||
> a:focus {
|
||||
color: @theme-primary !important;
|
||||
background-color: transparent;
|
||||
&:hover {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
background-color: transparent;
|
||||
border-color: fade(white, 30%);
|
||||
.navbar-header .navbar-brand {
|
||||
color: fade(white, 70%);
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.nav > li > a,
|
||||
.nav > li > a:focus {
|
||||
color: fade(white, 70%);
|
||||
&:hover {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
&.affix {
|
||||
background-color: white;
|
||||
border-color: fade(@gray-darker, 5%);
|
||||
.navbar-header .navbar-brand {
|
||||
color: @theme-primary;
|
||||
font-size: 14px;
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: darken(@theme-primary, 10%);
|
||||
}
|
||||
}
|
||||
.nav > li > a,
|
||||
.nav > li > a:focus {
|
||||
color: @gray-darker;
|
||||
&:hover {
|
||||
color: @theme-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Homepage Header
|
||||
|
||||
header {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-height: auto;
|
||||
.background-cover;
|
||||
background-position: center;
|
||||
background-image: url('../img/header.jpg');
|
||||
text-align: center;
|
||||
color: white;
|
||||
.header-content {
|
||||
position: relative;
|
||||
text-align: center;
|
||||
padding: 100px 15px 100px;
|
||||
width: 100%;
|
||||
.header-content-inner {
|
||||
h1 {
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-size: 30px;
|
||||
}
|
||||
hr {
|
||||
margin: 30px auto;
|
||||
}
|
||||
p {
|
||||
font-weight: 300;
|
||||
color: fade(white, 70%);
|
||||
font-size: 16px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
min-height: 100%;
|
||||
.header-content {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
-ms-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
padding: 0 50px;
|
||||
.header-content-inner {
|
||||
max-width: 1000px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
h1 {
|
||||
font-size: 50px;
|
||||
}
|
||||
p {
|
||||
font-size: 18px;
|
||||
max-width: 80%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Sections
|
||||
|
||||
.section-heading {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.service-box {
|
||||
max-width: 400px;
|
||||
margin: 50px auto 0;
|
||||
@media (min-width: 992px) {
|
||||
margin: 20px auto 0;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.portfolio-box {
|
||||
position: relative;
|
||||
display: block;
|
||||
max-width: 650px;
|
||||
margin: 0 auto;
|
||||
.portfolio-box-caption {
|
||||
color: white;
|
||||
opacity: 0;
|
||||
display: block;
|
||||
background: fade(@theme-primary, 90%);
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.transition-all;
|
||||
.portfolio-box-caption-content {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
.project-category,
|
||||
.project-name {
|
||||
.sans-serif-font;
|
||||
padding: 0 15px;
|
||||
}
|
||||
.project-category {
|
||||
text-transform: uppercase;
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.call-to-action {
|
||||
h2 {
|
||||
margin: 0 auto 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// Bootstrap Overrides
|
||||
.text-primary {
|
||||
color: @theme-primary;
|
||||
}
|
||||
|
||||
.no-gutter > [class*='col-'] {
|
||||
padding-right:0;
|
||||
padding-left:0;
|
||||
}
|
||||
|
||||
// Button Styles
|
||||
.btn-default {
|
||||
.button-variant(@gray-darker;white;white);
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
.button-variant(white;@theme-primary;@theme-primary);
|
||||
}
|
||||
|
||||
.btn {
|
||||
.sans-serif-font;
|
||||
border: none;
|
||||
border-radius: 300px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.btn-xl {
|
||||
padding: 15px 30px;
|
||||
}
|
||||
|
||||
// Extras
|
||||
// -- Highlight Color Customization
|
||||
::-moz-selection {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
background: @gray-darker;
|
||||
}
|
||||
|
||||
::selection {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
background: @gray-darker;
|
||||
}
|
||||
|
||||
img::selection {
|
||||
color: white;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
img::-moz-selection {
|
||||
color: white;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
body {
|
||||
webkit-tap-highlight-color: @gray-darker;
|
||||
}
|
63
less/mixins.less
Normal file
63
less/mixins.less
Normal file
|
@ -0,0 +1,63 @@
|
|||
// Mixins
|
||||
|
||||
.transition-all() {
|
||||
-webkit-transition: all 0.35s;
|
||||
-moz-transition: all 0.35s;
|
||||
transition: all 0.35s;
|
||||
}
|
||||
|
||||
.background-cover() {
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
background-size: cover;
|
||||
-o-background-size: cover;
|
||||
}
|
||||
|
||||
.button-variant(@color; @background; @border) {
|
||||
color: @color;
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
.transition-all;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus,
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
color: @color;
|
||||
background-color: darken(@background, 5%);
|
||||
border-color: darken(@border, 7%);
|
||||
}
|
||||
&:active,
|
||||
&.active,
|
||||
.open > .dropdown-toggle& {
|
||||
background-image: none;
|
||||
}
|
||||
&.disabled,
|
||||
&[disabled],
|
||||
fieldset[disabled] & {
|
||||
&,
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.focus,
|
||||
&:active,
|
||||
&.active {
|
||||
background-color: @background;
|
||||
border-color: @border;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
color: @background;
|
||||
background-color: @color;
|
||||
}
|
||||
}
|
||||
|
||||
.sans-serif-font() {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
|
||||
}
|
||||
|
||||
.serif-font() {
|
||||
font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
|
||||
}
|
12
less/variables.less
Normal file
12
less/variables.less
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Variables
|
||||
|
||||
// Gray and Brand Colors for use across theme
|
||||
|
||||
@theme-primary: #F05F40;
|
||||
|
||||
@gray-base: #000;
|
||||
@gray-darker: lighten(@gray-base, 13.5%); // #222
|
||||
@gray-dark: lighten(@gray-base, 20%); // #333
|
||||
@gray: lighten(@gray-base, 33.5%); // #555
|
||||
@gray-light: lighten(@gray-base, 46.7%); // #777
|
||||
@gray-lighter: lighten(@gray-base, 93.5%); // #eee
|
Loading…
Add table
Add a link
Reference in a new issue