diff --git a/less/00-config.less b/less/00-config.less index 90fd056..8a44eb1 100644 --- a/less/00-config.less +++ b/less/00-config.less @@ -12,7 +12,7 @@ // font sizes @basefont : 14px; // if "14px" then 1em = 14px -@lh : 1.5; // equiv line-height 1.5 +@line-height : 1.5; // equiv line-height 1.5 @h1-size : 32px; // equiv "32px" @h2-size : 28px; // equiv "28px" @h3-size : 24px; // equiv "24px" diff --git a/less/01-base.less b/less/01-base.less index 459096c..8d4013c 100644 --- a/less/01-base.less +++ b/less/01-base.less @@ -56,7 +56,7 @@ body { color: @basecolor; font-family: @fontstack1; font-size: unit((@basefont / 10), em); - line-height: @lh; + line-height: @line-height; } /* font-sizing for content */ @@ -77,7 +77,7 @@ figure, hgroup { margin-top: 0.75em; margin-bottom: 0; - line-height: @lh; + line-height: @line-height; } h1, .h1-like { .rem(@h1-size / 10); diff --git a/less/03-tables.less b/less/03-tables.less index 87d32d0..bb7d30b 100644 --- a/less/03-tables.less +++ b/less/03-tables.less @@ -26,46 +26,10 @@ caption { } td, th { - padding: .3em .8em; + padding: 0.3em 0.8em; border: 1px #aaa dotted; vertical-align: top; min-width: @medium-value; cursor: default; text-align: left; -} - -/* alternate tables */ -.alternate { border: 0; } -.alternate tbody { - border: 1px solid #ccc; -} -.alternate thead tr > * + * { - border-left: 0; -} -.alternate tbody tr > * + * { - border-left: 1px solid #ccc; -} - -/* alternate-vert tables */ -.alternate-vert { - border: 0; - border-right: 1px solid #ccc; -} -.alternate-vert tr > :first-child { - border-bottom: 0; -} -.alternate-vert tr > * + * { - border-top: 1px solid #ccc; -} - -/* striped tables */ -.striped tbody tr:nth-child(odd) { - background: #eee; - background: rgba(0, 0, 0, .05); -} - -/* striped-vert tables */ -.striped-vert tr > :first-child { - background: #eee; - background: rgba(0, 0, 0, .05); } \ No newline at end of file diff --git a/less/06-rwd.less b/less/06-rwd.less index 34242ce..6bb4a96 100644 --- a/less/06-rwd.less +++ b/less/06-rwd.less @@ -1,6 +1,6 @@ @import "00-config"; /* ----------------------------- */ -/* ==desktop and retina medias */ +/* ==desktop and HD devices */ /* ----------------------------- */ @media (min-width: @small-screen) { @@ -11,7 +11,7 @@ } /* ---------------------------------- */ -/* ==Responsive large / medium / tiny */ +/* ==Responsive large / small / tiny */ /* ---------------------------------- */ @media (min-width: @large-screen) { @@ -53,7 +53,7 @@ } /* margins for large screens */ - .large-ma0 { margin: 0 !important; } + .large-man { margin: 0 !important; } } @media (max-width: @small-screen) { @@ -104,8 +104,8 @@ border: 0; } /* margins for small screens */ - .small-ma0 { margin: 0 !important; } - .small-pa0 {padding: 0 !important; } + .small-man { margin: 0 !important; } + .small-pan { padding: 0 !important; } } @media (max-width: @tiny-screen) { @@ -176,6 +176,6 @@ border: 0; } /* margins for tiny screens */ - .tiny-ma0 { margin: 0 !important; } - .tiny-pa0 {padding: 0 !important; } + .tiny-man { margin: 0 !important; } + .tiny-pan { padding: 0 !important; } } diff --git a/less/09-booleans.less b/less/09-booleans.less index 6e71575..dd3ee56 100644 --- a/less/09-booleans.less +++ b/less/09-booleans.less @@ -1,5 +1,7 @@ @import "00-config"; - +/* ----------------------------- */ +/* ==booleans */ +/* ----------------------------- */ // skip-links boolean & when (@skip-links = true) { /* styling skip links */ diff --git a/less/10-gmaps.less b/less/10-gmaps.less index e8a1dca..555f8a7 100644 --- a/less/10-gmaps.less +++ b/less/10-gmaps.less @@ -1,5 +1,7 @@ @import "00-config"; - +/* ----------------------------- */ +/* ==gmaps support */ +/* ----------------------------- */ // google maps boolean & when (@gmaps = true) { /* Google Gmap3 bug fix on images */ diff --git a/less/11-ie.less b/less/11-ie.less index 19a6899..2fd07a3 100644 --- a/less/11-ie.less +++ b/less/11-ie.less @@ -1,5 +1,7 @@ @import "00-config"; - +/* ----------------------------- */ +/* ==IE6, IE7, IE8 support */ +/* ----------------------------- */ // IE6, 7, 8 support boolean & when (@ie678 = true) { /* IE678 support */ diff --git a/less/12-styling.less b/less/12-styling.less index dad1680..1ccbc84 100644 --- a/less/12-styling.less +++ b/less/12-styling.less @@ -1,4 +1,7 @@ @import "00-config"; +/* ----------------------------- */ +/* ==minor stylings */ +/* ----------------------------- */ // Styling boolean & when (@styling = true) { @@ -63,4 +66,39 @@ color: #ccc; background-color: #ccc; } + /* alternate tables */ + .alternate { border: 0; } + .alternate tbody { + border: 1px solid #ccc; + } + .alternate thead tr > * + * { + border-left: 0; + } + .alternate tbody tr > * + * { + border-left: 1px solid #ccc; + } + + /* alternate-vert tables */ + .alternate-vert { + border: 0; + border-right: 1px solid #ccc; + } + .alternate-vert tr > :first-child { + border-bottom: 0; + } + .alternate-vert tr > * + * { + border-top: 1px solid #ccc; + } + + /* striped tables */ + .striped tbody tr:nth-child(odd) { + background: #eee; + background: rgba(0, 0, 0, .05); + } + + /* striped-vert tables */ + .striped-vert tr > :first-child { + background: #eee; + background: rgba(0, 0, 0, .05); + } } \ No newline at end of file