Summary Files Commits Branches @commit @diff @stats
path: root / docs / css / docs.less
diff options
context:
space:
mode:
Commitcae547e62d611b68b7054d0e20d0abd6974fafb4 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-27 15:59:33 +0800
Committer
 GitHub <noreply@github.com>
2017-02-27 15:59:33 +0800
Filesc934074200f923006f1ca5df36368ed527a39bdf /docs/css/docs.less
Spectre-Dark-Gruvbox-cae547e62d611b68b7054d0e20d0abd6974fafb4.tar
Spectre-Dark-Gruvbox-cae547e62d611b68b7054d0e20d0abd6974fafb4.tar.gz
Spectre-Dark-Gruvbox-cae547e62d611b68b7054d0e20d0abd6974fafb4.zip
Parentad9056c4a9df16a778886a3bfb41b0e973d65e1b (diff)
Parentf2aec69fc002a7730bae77691747b558cef1e40a (diff)
Merge pull request #144 from picturepan2/hotfix/a-number-of-fixes
Hotfix/a number of fixes
1 files changed, 11 insertions, 9 deletions
-rw-r--r--docs/css/docs.less20
diff --git a/docs/css/docs.less b/docs/css/docs.less
index 2101f12..191658c 100644
--- a/docs/css/docs.less
+++ b/docs/css/docs.less
@@ -1,7 +1,7 @@
/*! Spectre.css Docs | MIT License | github.com/picturepan2/spectre */
/* Spectre version */
.version::after {
- content: "0.2.1";
+ content: "0.2.2";
}
/* Spectre docs style */
@@ -19,7 +19,7 @@
font-size: 1.8rem;
font-weight: 400;
line-height: 3rem;
- margin-bottom: 5rem;
+ margin-bottom: 3rem;
u {
border-bottom: .2rem solid #666;
@@ -44,20 +44,20 @@
.bg-grey {
background-color: #f6f6f6;
- padding: 1rem .5rem;
+ padding: 1rem;
border-radius: .2rem;
}
.bg-dark {
background: #2d3354;
color: #fff;
- padding: 1rem .5rem;
+ padding: 1rem;
}
.bg-primary {
background: #5764c6;
color: #fff;
- padding: 1rem .5rem;
+ padding: 1rem;
}
.navbar-brand {
@@ -133,9 +133,12 @@
color: #666;
}
+ h1,
+ h2,
h3,
h4,
- h5 {
+ h5,
+ h6 {
margin-top: 2rem;
margin-bottom: 2rem;
}
@@ -182,9 +185,7 @@
display: none !important;
}
-
// Spectre.css Docs Mobile experience
-
@media screen and (max-width: 480px) {
.show-xs {
display: block !important;
@@ -221,12 +222,13 @@
right: 0;
top: 0;
transform: translateX(100%);
- transition: transform .216s ease;
+ transition: transform .2s ease;
width: 24rem;
z-index: 999;
&:target {
transform: translateX(0);
+ transition: transform .2s ease;
& + .docs-nav-clear {
display: block;