code alignment, typos, better comment
* code alignment: vendor prefix properties are right-aligned * .pln and .pl0 (for example) both exist and are equivalent. Comment should reflect that * no space before a ':' (in the flex part) * s/haslayout/hasLayout
This commit is contained in:
parent
d7667842ae
commit
05147b6931
1 changed files with 37 additions and 37 deletions
10
knacss.css
10
knacss.css
|
@ -20,7 +20,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* font-sizing for content */
|
/* font-sizing for content */
|
||||||
/* preserve vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */
|
/* preserves vertical-rythm, thanks to http://soqr.fr/vertical-rhythm/ */
|
||||||
p,
|
p,
|
||||||
ul,
|
ul,
|
||||||
ol,
|
ol,
|
||||||
|
@ -342,7 +342,7 @@ img.left, img.right {
|
||||||
.txtright { text-align: right; }
|
.txtright { text-align: right; }
|
||||||
.txtcenter { text-align: center; }
|
.txtcenter { text-align: center; }
|
||||||
|
|
||||||
/* blocks widths (percentage and pixels) */
|
/* blocks widths (percentages and pixels) */
|
||||||
.w10 { width: 10%; }
|
.w10 { width: 10%; }
|
||||||
.w20 { width: 20%; }
|
.w20 { width: 20%; }
|
||||||
.w25 { width: 25%; }
|
.w25 { width: 25%; }
|
||||||
|
@ -374,7 +374,7 @@ img.left, img.right {
|
||||||
/* spacing helpers
|
/* spacing helpers
|
||||||
p,m = padding,margin
|
p,m = padding,margin
|
||||||
a,t,r,b,l = all,top,right,bottom,left
|
a,t,r,b,l = all,top,right,bottom,left
|
||||||
s,m,l,n = small(10px),medium(20px),large(30px),none(0)
|
s,m,l,n,0 = small(10px),medium(20px),large(30px), zero or none(0)
|
||||||
source https://github.com/stubbornella/oocss/blob/master/core/spacing/space.css
|
source https://github.com/stubbornella/oocss/blob/master/core/spacing/space.css
|
||||||
*/
|
*/
|
||||||
.m-reset, .ma0 { margin: 0 !important; }
|
.m-reset, .ma0 { margin: 0 !important; }
|
||||||
|
@ -473,7 +473,7 @@ textarea {
|
||||||
/* ==iefix */
|
/* ==iefix */
|
||||||
/* ----------------------------- */
|
/* ----------------------------- */
|
||||||
|
|
||||||
/* haslayout for IE6/IE7 */
|
/* hasLayout for IE6/IE7 */
|
||||||
.ie67 .clearfix,
|
.ie67 .clearfix,
|
||||||
.ie67 .line,
|
.ie67 .line,
|
||||||
.ie67 .mod,
|
.ie67 .mod,
|
||||||
|
@ -483,7 +483,7 @@ textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* inline-block and table-cell for IE6/IE7 */
|
/* inline-block and table-cell for IE6/IE7 */
|
||||||
/* warning: .col needs width on IE6/IE7 */
|
/* warning: .col needs a width on IE6/IE7 */
|
||||||
.ie67 .btn,
|
.ie67 .btn,
|
||||||
.ie67 .col,
|
.ie67 .col,
|
||||||
.ie67 .inbl {
|
.ie67 .inbl {
|
||||||
|
|
Loading…
Reference in a new issue