sass-site/source/assets/stylesheets/foundation/_site.scss

46 lines
813 B
SCSS
Raw Normal View History

2013-10-09 12:30:53 +02:00
@include border-box-sizing;
@include establish-baseline;
2013-10-09 12:30:53 +02:00
%reset-margin { margin: 0; }
%reset-border { border: 0; }
%reset-padding { padding: 0; }
2013-10-09 12:30:53 +02:00
%text {
font-family: $font-family-text;
color: $color-text;
}
html {
2013-10-09 12:30:53 +02:00
@extend %text;
overflow-x: hidden;
-ms-text-size-adjust: 100%;
text: {
rendering: optimizeLegibility;
align: center;
}
-webkit-tap-highlight-color: rgba($black, 0);
&.toolkit-baseline { @include debug-vertical-alignment; }
}
body {
2013-10-09 12:30:53 +02:00
@extend %reset-margin;
background: none;
}
2013-10-09 12:30:53 +02:00
@mixin theme-selection {
background: $color-background-shade;
text-shadow: none;
}
2013-10-09 12:30:53 +02:00
// These have to be separate.
::-moz-selection { @include theme-selection; }
::selection { @include theme-selection; }
2013-02-09 04:10:33 +01:00
2013-10-09 12:30:53 +02:00
@include at-breakpoint($tablet-large) {
html,
body { height: 100%; }
}