Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / docs.less
diff options
context:
space:
mode:
Commit0150eb62f0e33a0c0ef9e75d9f55e71d79d5ba03 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 18:21:48 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 18:21:48 +0800
Filese1d9921457a80efe1739cb5e4e2163a1f92dd0f4 /docs/src/docs.less
Spectre-Dark-Gruvbox-0150eb62f0e33a0c0ef9e75d9f55e71d79d5ba03.tar
Spectre-Dark-Gruvbox-0150eb62f0e33a0c0ef9e75d9f55e71d79d5ba03.tar.gz
Spectre-Dark-Gruvbox-0150eb62f0e33a0c0ef9e75d9f55e71d79d5ba03.zip
Parentc9e625c9dd8f1628c58b10bb165961eae068002f (diff)
Fix Docs bugs
1 files changed, 24 insertions, 15 deletions
-rw-r--r--docs/src/docs.less39
diff --git a/docs/src/docs.less b/docs/src/docs.less
index b16bf3d..25acc40 100644
--- a/docs/src/docs.less
+++ b/docs/src/docs.less
@@ -293,24 +293,17 @@
}
/* Spectre Homepage style */
-.section-header {
- backdrop-filter: blur(.5rem); // Safari only feature
- background: fade(@bg-color, 90%);
+.section-hero {
padding: 1rem .5rem;
- position: fixed;
- top: 0;
- width: 100%;
- z-index: @zindex-2;
+ position: relative;
.s-brand {
- padding: 0;
- position: static;
- }
-}
+ position: absolute;
-.section-hero {
- padding: 1.5rem .5rem;
- position: relative;
+ h2 {
+ color: @primary-color;
+ }
+ }
.column {
padding: @layout-spacing;
@@ -347,7 +340,7 @@
}
.grid-hero {
- margin-top: 5rem;
+ margin-top: 6rem;
margin-bottom: 2rem;
h1 {
@@ -476,6 +469,22 @@
}
}
}
+
+ .section-hero {
+ .s-brand {
+ height: 5rem;
+ padding: 1.5rem .5rem;
+
+ .s-logo {
+ height: auto;
+ }
+
+ img {
+ height: 3.2rem;
+ width: 3.2rem;
+ }
+ }
+ }
}
@media screen and (max-width: 600px) {