123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230 |
- @import 'lib/bootstrap';
- /* Customized Variables for Bootstrap */
- $gray-base: black;
- $gray-transparent: rgba($gray-base,.8);
- $brand-primary-darker: rgb(57, 146, 171);
- $brand-success: rgb(41, 177, 106);
- $brand-info: rgb(76, 194, 228);
- $brand-danger: rgb(241, 83, 68);
- $font-family-sans-serif: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
- $border-radius-large: 8px;
- $border-radius-small: 4px;
- $caret-width-base: 5px;
- $dropdown-bg: lighten($gray-base, 20%);
- $navbar-inverse-bg: rgba(0, 0, 0, .8);
- $label-color: rgb(255, 255, 255);
- $label-link-hover-color: rgb(255, 255, 255);
- $well-bg: lighten($gray-base, 90%);
- $well-border: transparent;
- $badge-color: rgb(255, 255, 255);
- $badge-link-hover-color: rgb(255, 255, 255);
- $badge-bg: $brand-danger;
- $badge-active-bg: rgb(255, 255, 255);
- $badge-line-height: 1.25;
- /* Other brand colors */
- $brand-gold: #F1B444;
- $brand-gold-darker: #B58733;
- $gray-90: lighten($gray-base, 10%);
- $gray-85: lighten($gray-base, 15%);
- $gray-80: lighten($gray-base, 20%);
- $gray-70: lighten($gray-base, 30%);
- $gray-60: lighten($gray-base, 40%);
- $gray-50: lighten($gray-base, 50%);
- $gray-40: lighten($gray-base, 60%);
- $gray-20: lighten($gray-base, 80%);
- $gray-10: lighten($gray-base, 90%);
- $gray-5: lighten($gray-base, 95%);
- $brand-primary: #4CC2E4;
- /* Grid size (mirrors Bootstraps) */
- $screen-sm-min: 768px;
- $screen-xs-max: $screen-sm-min - 1;
- $screen-md-min: 992px;
- $screen-sm-max: $screen-md-min - 1;
- $screen-lg-min: 1200px;
- $screen-md-max: $screen-lg-min - 1;
- /* Mixin that prefixes any CSS rule */
- @mixin vendor-prefix($property, $argument) {
- -webkit-#{$property}: #{$argument};
- -ms-#{$property}: #{$argument};
- -moz-#{$property}: #{$argument};
- -o-#{$property}: #{$argument};
- #{$property}: #{$argument};
- }
- /* header */
- header {
- .navbar-form {
- margin-bottom: 0px;
- }
- .btn.search-button {
- padding: 0px 10px 0px 15px;
- font-size: 27px;
- background-color: rgba(0, 0, 0, 0);
- border-radius: 0px;
- color: $gray-40;
- &:hover {
- color: $gray-10;
- }
- }
- }
- /* footer */
- footer {
- background-color: $gray-5;
- position: relative;
- strong { color:inherit; }
- h1 {
- font-size: 2.5em;
- color: $brand-primary-darker;
- }
- h2 {
- text-transform: uppercase;
- color:$gray-50;
- font-size: 1em;
- font-weight: bold;
- }
- }
- footer ul.nav li > a {
- font-size:1em;
- margin-left: -15px;
- }
- footer ul.nav li > a:hover {
- background-color: $gray-20;
- }
- footer .copyright_text {
- margin-top: 25px;
- }
- .page {
- margin-bottom: 2em;
- }
- /*
- * position anchors of fragment links slightly above their targets
- */
- .fragment-anchor {
- display: block;
- position: relative;
- bottom: 50px;
- }
- /*
- ********* Modifications to Bootstrap ***********
- */
- button.btn, a.btn {
- border-radius: 0;
- background-color: $brand-primary;
- color: black;
- border: 0;
- }
- button.btn:hover, a.btn {
- color: black;
- }
- h1 {
- color: $brand-gold-darker;
- font-weight: normal;
- }
- h2 {
- color: $gray-50;
- font-size: 18px;
- }
- .badge {
- font-size: 12px;
- margin-top: -14px;
- padding: 1px 5px;
- }
- .blue-divider {
- width:100%;
- height:4px;
- background-color: $brand-primary;
- }
- /* misc */
- .vertical-center-parent {
- position: relative;
- width: 100%;
- height: 100%;
- .vertical-center-child {
- position: absolute;
- top: 50%;
- left: 50%;
- @include vendor-prefix(transform, translate(-50%,-50%));
- }
- }
- .whole-page-content {
- min-height: 300px;
- height: 60%;
- margin: auto;
- }
- .not-found, .deprecated {
- .vertical-center-child {
- width: 100%;
- }
- }
- .not-found-header {
- text-align: center;
- }
- .not-found-redirect {
- margin-bottom: 20px;
- text-align: center;
- display: none;
- em {
- text-decoration: underline;
- }
- }
- /* fixing prettyprint formatting */
- pre.prettyprint {
- padding: 10px !important;
- font-size: 13px !important;
- border: 1px solid #cccccc !important;
- }
- code.prettyprint {
- border: none !important;
- }
- /* improving inline quotes styling */
- code {
- background-color: #c9dddf;
- color: #000000;
- }
- /* algolia search formatting */
- .algolia-docsearch-suggestion--category-header, .algolia-docsearch-suggestion {
- font-family: "Raleway", Helvetica, Arial, sans-serif !important;
- }
- .algolia-docsearch-suggestion--category-header {
- background-color: #262626 !important;
- font-size: 16px !important;
- font-weight: bold !important;
- line-height: 30px !important;
- }
- .algolia-docsearch-suggestion {
- font-size: 14px !important;
- font-weight: 300 !important;
- }
- @media (max-width: $screen-xs-max) {
- #header-search-form {
- display: none;
- }
- }
- #header-search-field {
- border-radius: 4px !important;
- }
- @import 'home';
- @import 'blog';
- @import 'plugins';
- @import 'docs';
- @import 'contribute';
- @import 'contact';
- @import 'artwork';
|