terraform/website/source/assets/stylesheets/_global.scss

119 lines
1.9 KiB
SCSS
Raw Normal View History

2014-07-16 23:51:48 +02:00
//
// Global Site
// --------------------------------------------------
/*html{
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}*/
body {
2016-10-06 01:47:07 +02:00
// -webkit-font-smoothing: subpixel-antialiased;
2014-10-13 18:44:38 +02:00
color: $black;
2014-07-23 00:31:43 +02:00
font-size: 15px;
2017-02-13 22:13:36 +01:00
font-family: $font-family-open-sans;
2014-07-28 17:51:57 +02:00
font-weight: 500;
2014-07-16 23:51:48 +02:00
}
2014-07-28 19:10:23 +02:00
h1, h2, h3, h4, h5 {
-webkit-font-smoothing: antialiased;
2017-02-14 20:37:11 +01:00
font-family: $font-family-klavika;
2017-02-13 23:41:09 +01:00
font-weight: 600;
2014-07-28 19:10:23 +02:00
}
2014-07-16 23:51:48 +02:00
h1{
font-size: 42px;
2017-02-13 23:41:09 +01:00
line-height: 40px;
2014-07-16 23:51:48 +02:00
margin-bottom: 24px;
2017-02-13 23:41:09 +01:00
text-transform: uppercase;
2014-07-16 23:51:48 +02:00
}
2017-02-13 22:13:36 +01:00
h2{
2017-02-13 23:41:09 +01:00
font-size: 34px;
text-transform: uppercase;
2017-02-13 22:13:36 +01:00
}
2014-07-16 23:51:48 +02:00
h3{
2017-02-13 23:41:09 +01:00
font-size: 20px;
line-height: 20px;
text-transform: uppercase;
2017-02-13 22:13:36 +01:00
}
2017-02-16 06:25:25 +01:00
h4 {
font-size: 18px;
}
2017-02-13 22:13:36 +01:00
p {
2017-02-13 23:41:09 +01:00
margin-bottom: 30px;
font-size: 16px;
font-family: $font-family-open-sans;
2017-02-13 22:13:36 +01:00
font-weight: regular;
2017-02-13 23:41:09 +01:00
line-height: 1.5;
2014-07-16 23:51:48 +02:00
}
2017-02-13 23:41:09 +01:00
p.lead{
font-size: 21px;
font-weight: 400 !important;
}
2014-07-16 23:51:48 +02:00
//an alternative color for buttons in the doc body
.btn-serf{
2014-10-13 18:44:38 +02:00
color: $white !important;
background-color: $btn-color;
border-radius: $btn-border-radius;
//@include box-shadow( $shadow );
2014-07-16 23:51:48 +02:00
}
.highlight{
margin-bottom: 18px;
}
pre {
2014-10-13 18:44:38 +02:00
background-color: $black;
color: $white;
2014-07-16 23:51:48 +02:00
font-size: 14px;
font-weight: normal;
font-family: "Courier New", Monaco, Menlo, Consolas, monospace;
border: none;
padding: 20px;
margin-bottom: 0;
}
2017-02-14 20:28:43 +01:00
// Typekit utilites to hide FOUC
.wf-loading {
visibility: hidden;
}
.wf-active, .wf-inactive {
visibility: visible;
}
2014-07-16 23:51:48 +02:00
//fixed grid below 992 to prevent smaller responsive sizes
@media (max-width: 992px) {
.container{
max-width: 970px;
}
}
//all below styles are overriding corrections for below (min-width: 992px)
//below (min-width: 992px) these styles change
.navbar-nav {
margin: 0;
}
.navbar-right {
float: right !important;
}
.navbar-nav > li {
float: left;
}
.navbar-nav > li > a {
padding-top: 15px;
padding-bottom: 15px;
}
.center {
text-align: center;
}