racket/new-racket-web/sass/_base.scss
Sam Tobin-Hochstadt e0abc63f71 update sass
2014-03-01 19:55:51 -07:00

72 lines
1.0 KiB
SCSS

@import "compass/typography/vertical_rhythm";
@include establish-baseline;
html * {
@include box-sizing(border-box);
}
body {
background: $global-bg-color;
font-family: $font-family;
font-weight: $body-font-weight;
color: $body-font-color;
position: relative;
-webkit-font-smoothing: $font-smoothing;
@include respond(all-phones) {
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
width: 100%;
min-width: 0;
}
}
html, body {
height: 100%;
}
.ie9 {
font-family: $font-family;
* {
font-family: $font-family;
}
}
.hide {
display: none;
}
.hide.active, .show {
display: block;
}
.fixed {
position: fixed;
&.pinned {
position: absolute;
}
@include respond(portrait-tablets) {
position: relative !important;
top: auto !important;
left: auto !important;
}
}
.unfixed {
position: relative !important;
top: auto !important;
left: auto !important;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}