open-nomad/website/source/assets/stylesheets/_global.scss

102 lines
1.8 KiB
SCSS
Raw Normal View History

2015-09-12 00:01:02 +00:00
//
// Global Site
// --------------------------------------------------
/*html{
2015-11-10 21:58:56 +00:00
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
2015-09-12 00:01:02 +00:00
}*/
body {
2015-11-10 21:58:56 +00:00
-webkit-font-smoothing: antialiased;
color: $black;
background-color: $white;
font-size: 15px;
font-family: $font-family-open-sans;
font-weight: 500;
2015-09-12 00:01:02 +00:00
}
h1, h2, h3, h4, h5 {
2017-02-16 20:41:02 +00:00
font-family: $font-family-klavika;
text-transform: uppercase;
2015-11-10 21:58:56 +00:00
-webkit-font-smoothing: antialiased;
2015-09-12 00:01:02 +00:00
}
2015-09-12 00:01:02 +00:00
h1{
2015-11-10 21:58:56 +00:00
font-weight: $font-weight-reg;
margin-bottom: 24px;
2015-09-12 00:01:02 +00:00
}
//an alternative color for buttons in the doc body
.btn-serf{
2015-11-10 21:58:56 +00:00
color: $white !important;
background-color: $btn-color;
border-radius: $btn-border-radius;
//@include box-shadow( $shadow );
2015-09-12 00:01:02 +00:00
}
.highlight{
2015-11-10 21:58:56 +00:00
margin-bottom: 18px;
2015-09-12 00:01:02 +00:00
}
pre {
2015-11-10 21:58:56 +00:00
background-color: $black;
color: $white;
font-size: 14px;
font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
border: none;
padding: 20px;
margin-bottom: 0;
2015-09-12 00:01:02 +00:00
}
//all below styles are overriding corrections for below (min-width: 992px)
//below (min-width: 992px) these styles change
.navbar-nav {
2015-11-10 21:58:56 +00:00
margin: 0;
2015-09-12 00:01:02 +00:00
}
.navbar-right {
2015-11-10 21:58:56 +00:00
float: right !important;
2015-09-12 00:01:02 +00:00
}
.navbar-nav > li {
2015-11-10 21:58:56 +00:00
float: left;
2015-09-12 00:01:02 +00:00
}
.navbar-nav > li > a {
2015-11-10 21:58:56 +00:00
padding-top: 15px;
padding-bottom: 15px;
2015-09-12 00:01:02 +00:00
}
.center {
2015-11-10 21:58:56 +00:00
text-align: center;
2015-09-12 00:01:02 +00:00
}
2015-09-28 00:47:21 +00:00
.alert p:last-child {
margin-bottom: 0;
}
2017-02-16 20:41:02 +00:00
//Typekit utilites for hiding FOUC
.wf-loading {
visibility: hidden;
}
.wf-active, .wf-inactive {
visibility: visible;
}
2015-09-28 00:47:21 +00:00
//fixed grid below 992 to prevent smaller responsive sizes
@media (min-width: 768px) and (max-width: 992px) {
2015-11-10 21:58:56 +00:00
.container{
width: 100%;
2015-11-10 21:58:56 +00:00
}
2015-09-28 00:47:21 +00:00
}
2017-02-16 20:41:02 +00:00
//guarantees nav list fits at tablet viewport size
@media (min-width: 768px) and (max-width: 800px) {
#header .navbar-nav a {
font-size: 12px !important;
}
}