Summary Files Commits Branches @commit @diff @stats
path: root / docs / css / docs.less
diff options
context:
space:
mode:
Commitcdaa2cd708311a771f1f2d966eee4c4f5013e33f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 15:43:05 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 15:43:05 +0800
Filesed66a57ab23da4a3d203fec5326cdd2244528ec6 /docs/css/docs.less
Spectre-Dark-Gruvbox-cdaa2cd708311a771f1f2d966eee4c4f5013e33f.tar
Spectre-Dark-Gruvbox-cdaa2cd708311a771f1f2d966eee4c4f5013e33f.tar.gz
Spectre-Dark-Gruvbox-cdaa2cd708311a771f1f2d966eee4c4f5013e33f.zip
Parent0d120075d9bcab35386d310164613be023be514d (diff)
CHG: Lots of good fixes
1 files changed, 22 insertions, 10 deletions
-rw-r--r--docs/css/docs.less32
diff --git a/docs/css/docs.less b/docs/css/docs.less
index 64a9a90..e49207a 100644
--- a/docs/css/docs.less
+++ b/docs/css/docs.less
@@ -18,6 +18,7 @@
color: #666;
font-size: 1.8rem;
font-weight: 400;
+ line-height: 3rem;
margin-bottom: 5rem;
u {
@@ -119,15 +120,26 @@
}
-header {
- padding-top: 3rem;
-}
+.docs-content {
+ pre {
+ margin-bottom: 2rem;
+ margin-top: 2rem;
+ }
-.docs-content header > h3,
-.docs-content header > h4,
-.docs-content header > h5 {
- margin-top: 4rem;
- margin-bottom: 2rem;
+ .container {
+ padding: 2rem 1rem;
+ }
+
+ header {
+ padding-top: 2rem;
+ }
+
+ h3,
+ h4,
+ h5 {
+ margin-top: 2rem;
+ margin-bottom: 2rem;
+ }
}
.example-tile-icon {
@@ -144,7 +156,7 @@ header {
@media screen and (min-width: 480px) {
.docs-sidebar {
- padding: 7rem 0;
+ padding: 6rem 0;
.docs-nav {
position: relative;
@@ -153,7 +165,7 @@ header {
@supports (position: sticky) {
.docs-nav {
position: sticky;
- top: 5rem;
+ top: 6rem;
// A position: sticky; bug casues box-shadow generates width to the elements
.nav-item a:focus {