Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/docs.scss')
-rw-r--r--docs/src/docs.scss15
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/src/docs.scss b/docs/src/docs.scss
index 0c22df8..0c7226d 100644
--- a/docs/src/docs.scss
+++ b/docs/src/docs.scss
@@ -42,6 +42,7 @@
position: fixed;
top: 3.5rem;
width: 12rem;
+ -webkit-overflow-scrolling: touch;
}
.accordion {
@@ -322,6 +323,7 @@
display: inline;
font-size: .9rem;
font-weight: 500;
+ line-height: 1.5rem;
margin-bottom: 0;
margin-left: .5rem;
margin-right: .5rem;
@@ -351,7 +353,7 @@
.docs-brand {
position: absolute;
- top: .5rem;
+ top: .85rem;
h2 {
color: $primary-color;
@@ -395,7 +397,6 @@
.grid-hero {
padding-bottom: 2rem;
padding-top: 6rem;
- position: relative;
h1 {
color: $body-font-color;
@@ -537,4 +538,14 @@
display: none;
}
}
+}
+
+@media (min-width: 1366px) {
+ .docs-ad {
+ &.docs-ad-sidebar {
+ bottom: 1rem;
+ position: fixed;
+ right: 1rem;
+ }
+ }
} \ No newline at end of file