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

49 lines
913 B
SCSS
Raw Normal View History

2013-10-11 22:06:20 +02:00
* { @include box-sizing(border-box); }
2013-10-09 12:30:53 +02:00
@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;
}
2013-10-12 22:38:55 +02:00
background: image-url("textures/grey-prism.png") 50% 0;
2013-10-12 21:58:56 +02:00
@include background-size(50%);
2013-10-09 12:30:53 +02:00
-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
2013-10-11 22:06:20 +02:00
@include breakpoint($tablet-large) {
2013-10-09 12:30:53 +02:00
html,
body { height: 100%; }
}