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

42 lines
894 B
SCSS
Raw Normal View History

// ===========================================================================
// SITE
html {
font-size: 62.5%;
2013-02-09 04:10:33 +01:00
text: {
rendering: optimizelegibility;
align: center;
}
@include background($background-color image_url("textures/light.gif"));
color: $text-color;
2013-02-09 04:10:33 +01:00
@include text-shadow-light;
}
body {
2013-02-09 04:10:33 +01:00
font: 400 #{$font-size}px/#{$line-height} $source-sans-pro-regular {
size: #{$font-size / 10}rem;
}
background-color: transparent;
}
2013-02-09 04:10:33 +01:00
/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection declarations have to be separate.
* Customize the background color to match your design.
*/
@mixin selection {
background: $selection-background-color;
color: $selection-text-color;
text-shadow: none;
}
::-moz-selection { @include selection; }
2013-02-09 04:10:33 +01:00
::selection { @include selection; }
%block-text {
margin: 0;
padding: .5em 0;
}