This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/themes/opdavies/opdavies/assets/sass/styles.scss

66 lines
954 B
SCSS
Raw Normal View History

2015-03-19 15:15:13 +00:00
@import 'compass';
@import 'compass/reset';
@import 'compass/css3';
2015-03-22 08:59:19 +00:00
@import 'compass/typography/vertical_rhythm';
2015-03-19 15:15:13 +00:00
@import 'susy';
2015-03-23 10:15:24 +00:00
@import 'breakpoint';
2015-03-19 15:15:13 +00:00
@import "variables/**/*";
@import "layout/**/*";
@import "modules/**/*";
2015-03-18 22:49:51 +00:00
body {
2015-03-22 08:59:19 +00:00
@include adjust-font-size-to(14px);
@include adjust-leading-to(1);
2015-03-19 15:23:34 +00:00
color: #222;
2015-03-22 09:26:19 +00:00
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
2015-03-19 15:15:13 +00:00
}
p,
ul,
ol,
pre {
2015-03-19 15:23:34 +00:00
margin-bottom: 1em;
2015-03-19 15:15:13 +00:00
2015-03-19 15:23:34 +00:00
&:last-child {
margin-bottom: 0;
}
2015-03-19 15:15:13 +00:00
}
h1 {
2015-03-22 08:59:19 +00:00
@include adjust-font-size-to(30px, 1, 14px);
@include adjust-leading-to(1);
margin-bottom: .2em;
2015-03-19 15:15:13 +00:00
}
2015-03-22 08:59:19 +00:00
2015-03-19 15:15:13 +00:00
h2 {
2015-03-22 08:59:19 +00:00
@include adjust-font-size-to(21px, 1, 14px);
display: inline-block;
margin: .5em 0;
h1 + & {
// Remove the top margin if the h2 is after a h1.
margin-top: 0;
}
2015-03-19 15:15:13 +00:00
}
ul {
2015-03-19 15:23:34 +00:00
list-style-type: disc;
2015-03-19 15:15:13 +00:00
}
code {
2015-03-19 15:23:34 +00:00
font-family: "Courier New";
2015-03-19 15:15:13 +00:00
}
2015-03-24 21:46:15 +00:00
dt {
font-weight: bold;
margin-top: .5em;
&:after {
content: ':';
}
}
2015-03-19 15:15:13 +00:00
dd {
2015-03-24 21:46:15 +00:00
padding-left: 2em;
2015-03-18 22:49:51 +00:00
}