Summary Files Commits Branches @commit @diff @stats
path: root / src / base.less
diff options
context:
space:
mode:
Commit1f9f807534108fe3412e1c2e7bf9d21e19e78f0d (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 18:07:42 +0800
Committer
 GitHub <noreply@github.com>
2017-02-24 18:07:42 +0800
Filesf438aeb51e678535de131827f3f56c073be4a670 /src/base.less
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.tar
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.tar.gz
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.zip
Parent48f0d7e0e6d6d6569dbf98dd56091466520ae206 (diff)
Parent408ea5b6b0c9874b7b74601259239271b253d554 (diff)
Merge pull request #139 from picturepan2/feature/new-doc-page
Feature/new doc page
1 files changed, 13 insertions, 3 deletions
-rw-r--r--src/base.less16
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%;
}
}