all repos — hastystyles @ 6031d627d17279b67b1000b6a7851c718b68b5a3

The stylesheets for HastyScrybe and HastySite.

Renamed "partial" less files.
h3rald h3rald@h3rald.com
Fri, 12 Sep 2014 22:18:55 +0200
commit

6031d627d17279b67b1000b6a7851c718b68b5a3

parent

d108e46bd12880386f1ffe8edc2e27df4f2098d6

A styles/_layout.less

@@ -0,0 +1,52 @@

+body { + background-color:#fff; + margin: 0 auto; + height:100%; + zoom: 1; + letter-spacing: normal; + word-spacing: normal; + color:@text-color; + font:15px @sans-font; + line-height:1.4; + -webkit-font-smoothing:antialiased; + width: 960px; + .mix-hyphens(auto); +} + +@media screen and (max-width: 659px) { + body { + width: 100%; + } +} + +@media screen and (min-width: 660px) { + body { + width: 660px; + } +} + +#main, #footer, #header { + width: 94%; + margin:auto; +} + +#footer { + border-top: 1px solid @gray-d; + text-align: center; + font-size: 75%; + p { + line-height: 0.6em; + } +} + +#toc { + margin-top: -10px; + ul { + list-style-type: none; + padding-left: 20px; + } + & > ul { + padding-left: 0; + } +} +
M styles/elements.lessstyles/_elements.less

@@ -1,57 +1,3 @@

-body { - background-color:#fff; - margin: 0 auto; - height:100%; - zoom: 1; - letter-spacing: normal; - word-spacing: normal; - color:@text-color; - font:15px @sans-font; - line-height:1.4; - -webkit-font-smoothing:antialiased; - width: 960px; - .mix-hyphens(auto); -} - -@media screen and (max-width: 659px) { - body { - width: 100%; - } -} - -@media screen and (min-width: 660px) { - body { - width: 660px; - } -} - -/* Layout */ - -#main, #footer, #header { - width: 94%; - margin:auto; -} - -#footer { - border-top: 1px solid @gray-d; - text-align: center; - font-size: 75%; - p { - line-height: 0.6em; - } -} - -#toc { - margin-top: -10px; - ul { - list-style-type: none; - padding-left: 20px; - } - & > ul { - padding-left: 0; - } -} - /* Lists */ ul, ol {

@@ -131,6 +77,7 @@ white-space: nowrap;

} } } + table { border-collapse:collapse; margin: 15px auto;
M styles/hastyscribe.lessstyles/hastyscribe.less

@@ -1,10 +1,11 @@

-@import "normalize.less"; -@import "variables.less"; -@import "fa-variables.less"; -@import "fa-icons.less"; -@import "mixins.less"; -@import "elements.less"; -@import "links.less"; -@import "blocks.less"; -@import "badges.less"; -@import "headings.less"; +@import "_normalize.less"; +@import "_variables.less"; +@import "_fa-variables.less"; +@import "_fa-icons.less"; +@import "_mixins.less"; +@import "_layout.less"; +@import "_elements.less"; +@import "_links.less"; +@import "_blocks.less"; +@import "_badges.less"; +@import "_headings.less";