Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / docs.css
diff options
context:
space:
mode:
Commitbbed364d8c7492371248efdd35402b212a4b9cc9 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-06-16 07:10:16 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-06-16 07:10:16 +0800
Filesbae7051f975a1dddc1fb330b2a6a1c85c5182c7f /docs/dist/docs.css
Spectre-Dark-Gruvbox-bbed364d8c7492371248efdd35402b212a4b9cc9.tar
Spectre-Dark-Gruvbox-bbed364d8c7492371248efdd35402b212a4b9cc9.tar.gz
Spectre-Dark-Gruvbox-bbed364d8c7492371248efdd35402b212a4b9cc9.zip
Parenta8910e8147b47347a847a63ae8036ed170615edf (diff)
Fix sidebar ads
1 files changed, 26 insertions, 39 deletions
-rw-r--r--docs/dist/docs.css65
diff --git a/docs/dist/docs.css b/docs/dist/docs.css
index 60d952f..f977293 100644
--- a/docs/dist/docs.css
+++ b/docs/dist/docs.css
@@ -141,43 +141,6 @@
padding-top: 1rem;
}
-.docs-content .docs-ad {
- background: #f8f9fa;
- border-radius: .1rem;
- display: block;
- margin: 2rem 0;
- padding: .4rem;
- position: relative;
-}
-
-.docs-content .docs-ad::before {
- color: #acb3c2;
- content: "AD";
- font-size: .7rem;
- position: absolute;
- right: .4rem;
- top: .1rem;
-}
-
-.docs-content .docs-ad.docs-ad-sidebar::before {
- content: none;
-}
-
-.docs-content .carbon-wrap .carbon-img {
- display: block;
-}
-
-.docs-content .carbon-wrap .carbon-text {
- color: #667189;
- display: block;
- font-size: .7rem;
-}
-
-.docs-content .carbon-poweredby {
- color: #acb3c2;
- font-size: .7rem;
-}
-
.docs-content .column {
padding: .4rem;
}
@@ -351,11 +314,35 @@
color: #667189;
}
-.btn .feather {
- height: 1rem;
+.docs-ad {
+ background: #f8f9fa;
+ border-radius: .1rem;
+ display: block;
+ margin: 2rem 0;
+ padding: .4rem;
+ position: relative;
+}
+
+.docs-ad ins {
+ line-height: 1;
vertical-align: middle;
}
+.docs-ad .carbon-wrap .carbon-img {
+ display: block;
+}
+
+.docs-ad .carbon-wrap .carbon-text {
+ color: #667189;
+ display: block;
+ font-size: .7rem;
+}
+
+.docs-ad .carbon-poweredby {
+ color: #acb3c2;
+ font-size: .7rem;
+}
+
/* Spectre Homepage style */
.section-hero {
padding: 1rem .5rem;