add normalize, refactor css
[iankelling.org] / css / common.scss
1 /* a few minor things are duplicated in main.css and gitweb.css,*/
2
3 $comment-background-color: #ebeae4;
4 $comment-br-color: #c4c3bc; /* a darkish color, black is too striking */
5 $comment-date-color: #555; /* a bit lighter for less emphasis */
6 $content-color: #f6f6f0; // from gitweb.
7 $inline-code-background-color: #ffffff;
8 $link-color: #0645ad;
9 $link-visited-color: #0b0080;
10 $main-column-max-width: 700px;
11 $page-header-link-color: #333;
12 $site-background-color: #d9d8d1; // from gitweb.
13 $text-input-color: #ffffff;
14
15 /* nice font seen elsewhere. google -> stackoverflow -> localfont.com */
16 /* If I didn't use this font, I'd just go with sans-serif */
17 @font-face {
18 font-family: 'Open Sans';
19 font-weight: 400;
20 font-style: normal;
21 src: url('/font/Open-Sans-regular/Open-Sans-regular.eot');
22 src: url('/font/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'),
23 local('Open Sans'),
24 local('Open-Sans-regular'),
25 url('/font/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'),
26 url('/font/Open-Sans-regular/Open-Sans-regular.woff') format('woff'),
27 url('/font/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'),
28 url('/font/Open-Sans-regular/Open-Sans-regular.svg#Open Sans') format('svg');
29 }
30
31
32 body {
33 font-family: 'Open Sans',sans-serif;
34 /* default too bright. use gitweb's color */
35 background-color: $site-background-color;
36 /* get rid of the small default margin so we can stripe the page */
37 margin: 0;
38 }