Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / docs.less
diff options
context:
space:
mode:
Commit846353cb40512404c5b8d27084a6fbe7b4a47d23 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-04-27 15:29:29 +0800
Committer
 GitHub <noreply@github.com>
2017-04-27 15:29:29 +0800
Files4988ff8ae00ceef95aa0657f40b874fce19a7a65 /docs/src/docs.less
Spectre-Dark-Gruvbox-846353cb40512404c5b8d27084a6fbe7b4a47d23.tar
Spectre-Dark-Gruvbox-846353cb40512404c5b8d27084a6fbe7b4a47d23.tar.gz
Spectre-Dark-Gruvbox-846353cb40512404c5b8d27084a6fbe7b4a47d23.zip
Parent7fdb8b4ca18e1758bf4453cc5f8c32b7a7ad2701 (diff)
Parent42cf02f51798756017fb5f886db0173dc258b107 (diff)
Merge pull request #208 from picturepan2/0.2.14 v0.2.14
0.2.14
1 files changed, 26 insertions, 11 deletions
-rw-r--r--docs/src/docs.less37
diff --git a/docs/src/docs.less b/docs/src/docs.less
index 97ac6d4..1a33d3f 100644
--- a/docs/src/docs.less
+++ b/docs/src/docs.less
@@ -1,7 +1,7 @@
/*! Spectre.css Docs | MIT License | github.com/picturepan2/spectre */
/* Spectre version */
.version::after {
- content: "0.2.13";
+ content: "0.2.14";
}
// Core variables and mixins
@import '../../src/variables.less';
@@ -49,7 +49,7 @@
}
.navbar-brand {
- color: lighten(@body-font-color, 5%);
+ color: @body-font-color;
}
.btn-link {
@@ -71,7 +71,7 @@
margin-bottom: 4rem;
h1 {
- color: lighten(@body-font-color, 5%);
+ color: @body-font-color;
font-size: 3.2rem;
font-weight: 400;
}
@@ -84,7 +84,7 @@
margin-bottom: 3rem;
u {
- border-bottom: .2rem solid lighten(@body-font-color, 5%);
+ border-bottom: .2rem solid currentColor;
padding-bottom: .1rem;
text-decoration: none;
}
@@ -115,7 +115,6 @@
}
.docs-content {
- color: lighten(@body-font-color, 10%);
padding-top: 0;
.container {
@@ -123,10 +122,23 @@
}
header {
- color: @body-font-color;
padding-top: 6rem;
}
+ .anchor {
+ height: 0;
+ margin-left: -1em;
+ position: absolute;
+ overflow: hidden;
+ width: 0;
+ &:focus,
+ &:hover {
+ height: auto;
+ text-decoration: none;
+ width: auto;
+ }
+ }
+
.notes {
margin: 4rem 0;
}
@@ -159,6 +171,13 @@
h6 {
margin-top: 2rem;
margin-bottom: 2rem;
+
+ &:hover {
+ .anchor {
+ height: auto;
+ width: auto;
+ }
+ }
}
.docs-color {
@@ -201,10 +220,6 @@
font-size: 4rem;
}
- .navbar-brand .icon {
- font-size: 3rem;
- }
-
.form-autocomplete .menu {
position: static;
}
@@ -240,7 +255,7 @@
}
.docs-sidebar {
- padding: 7rem 1rem 3.5rem 1rem;
+ padding: 7rem 1rem 5rem 1rem;
.docs-nav {
position: relative;