aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/less/lib/mixins.less
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/less/lib/mixins.less')
-rw-r--r--docs/src/less/lib/mixins.less32
1 files changed, 16 insertions, 16 deletions
diff --git a/docs/src/less/lib/mixins.less b/docs/src/less/lib/mixins.less
index b3a1f63b..a4451b1c 100644
--- a/docs/src/less/lib/mixins.less
+++ b/docs/src/less/lib/mixins.less
@@ -5,38 +5,38 @@
// Contain floats: nicolasgallagher.com/micro-clearfix-hack/
// ---------------------------------------
.clearfix() {
- zoom: 1;
- &:before,
- &:after { content: ""; display: table; }
- &:after { clear: both; }
+ zoom: 1;
+ &:before,
+ &:after { content: ""; display: table; }
+ &:after { clear: both; }
}
// Webkit-style focus
// ---------------------------------------
.tab-focus() {
- // Default
- outline: thin dotted @gray-dark;
- // Webkit
- //outline: 5px auto -webkit-focus-ring-color;
- outline-offset: 1px;
+ // Default
+ outline: thin dotted @gray-dark;
+ // Webkit
+ //outline: 5px auto -webkit-focus-ring-color;
+ outline-offset: 1px;
}
// Use rems for font sizing
// Leave <body> at 100%/16px
// ---------------------------------------
.font-size(@font-size: 16){
- @rem: round((@font-size / 16), 1);
- font-size: (@font-size * 1px);
- font-size: ~"@{rem}rem";
+ @rem: round((@font-size / 16), 1);
+ font-size: (@font-size * 1px);
+ font-size: ~"@{rem}rem";
}
// Font smoothing
// ---------------------------------------
.font-smoothing(@mode: on) when (@mode = on) {
- -moz-osx-font-smoothing: grayscale;
- -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
}
.font-smoothing(@mode: on) when (@mode = off) {
- -moz-osx-font-smoothing: auto;
- -webkit-font-smoothing: subpixel-antialiased;
+ -moz-osx-font-smoothing: auto;
+ -webkit-font-smoothing: subpixel-antialiased;
} \ No newline at end of file