X-Git-Url: https://iankelling.org/git/?p=iankelling.org;a=blobdiff_plain;f=css%2Fcommon.scss;fp=css%2Fcommon.scss;h=d0c5e76cb24545d87a678e538b908b360a6f4ea0;hp=0000000000000000000000000000000000000000;hb=f98cd29f7b53a7c08f21792773a5b3b49d41eb9c;hpb=842a5c8cf5cb6526dc880fd8bc5fedd2ecfc544c diff --git a/css/common.scss b/css/common.scss new file mode 100644 index 0000000..d0c5e76 --- /dev/null +++ b/css/common.scss @@ -0,0 +1,28 @@ +/* a few other things are duplicated in main.css and gitweb.css,*/ +/* but they are for different classes and such, and it's not worth using*/ +/* css variables etc at this point. */ + +/* nice font seen elsewhere. google -> stackoverflow -> localfont.com */ +/* If I didn't use this font, I'd just go with sans-serif */ +@font-face { + font-family: 'Open Sans'; + font-weight: 400; + font-style: normal; + src: url('/font/Open-Sans-regular/Open-Sans-regular.eot'); + src: url('/font/Open-Sans-regular/Open-Sans-regular.eot?#iefix') format('embedded-opentype'), + local('Open Sans'), + local('Open-Sans-regular'), + url('/font/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'), + url('/font/Open-Sans-regular/Open-Sans-regular.woff') format('woff'), + url('/font/Open-Sans-regular/Open-Sans-regular.ttf') format('truetype'), + url('/font/Open-Sans-regular/Open-Sans-regular.svg#Open Sans') format('svg'); +} + + +body { + font-family: 'Open Sans',sans-serif; + /* default too bright. use gitweb's color */ + background-color: #d9d8d1; + /* get rid of the small default margin so we can stripe the page */ + margin: 0; +}