123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348 |
- @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: @theme-dark;
- 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(@theme-dark, 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%);
- }
- }
- .nav {
- > li {
- > a,
- > a:focus {
- text-transform: uppercase;
- font-weight: 700;
- font-size: 13px;
- color: @theme-dark;
- &: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(@theme-dark, 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: @theme-dark;
- &: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;
- }
- 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;
- 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;
- }
- }
- @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(@theme-dark;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: @theme-dark;
- }
- ::selection {
- color: white;
- text-shadow: none;
- background: @theme-dark;
- }
- img::selection {
- color: white;
- background: transparent;
- }
- img::-moz-selection {
- color: white;
- background: transparent;
- }
- body {
- webkit-tap-highlight-color: @theme-dark;
- }
|