diff options
1 files changed, 13 insertions, 3 deletions
| -rw-r--r-- | src/base.less | 16 |
diff --git a/src/base.less b/src/base.less index bdac3e0..d19cb07 100644 --- a/src/base.less +++ b/src/base.less @@ -4,12 +4,14 @@ *::after { box-sizing: inherit; } + html { box-sizing: border-box; font-size: @html-font-size; line-height: @html-line-height; -webkit-tap-highlight-color: transparent; } + body { background: @body-bg; color: @body-font-color; @@ -18,15 +20,24 @@ body { overflow-x: hidden; text-rendering: optimizeLegibility; } + a { color: @core-link-color; - text-decoration: underline; + text-decoration: none; + &:focus, &:hover { - color: darken(@core-link-color, 25%); + color: darken(@core-link-color, 10%); + text-decoration: underline; } } +// Focus state +:focus { + .control-shadow(); + outline: 0; +} + // Disabled state &[disabled], .disabled { @@ -42,7 +53,6 @@ a { .icon { font-size: 1.3333em; line-height: .8em; - margin-right: .2rem; vertical-align: -20%; } } |