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

98 lines
1.7 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 {
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-family: $font-family-open-sans;
font-weight: $font-weight-reg;
margin-bottom: 24px;
2015-09-12 00:01:02 +00:00
}
2015-09-28 02:07:18 +00:00
h3, h4{
2015-11-10 21:58:56 +00:00
font-family: $font-family-open-sans;
font-weight: $font-weight-reg;
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;
}
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-01-30 23:10:15 +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;
}
}