Summary Files Commits Branches @commit @diff @stats
path: root / docs / css / docs.less
diff options
context:
space:
mode:
Commiteb700ab7e2af0cda8ef0f6d317d04ff056ff1da6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-21 15:59:44 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-02-21 15:59:44 +0800
Filesed649b2235fa2c8fa9be5b5a942012588ae5f4ad /docs/css/docs.less
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.tar
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.tar.gz
Spectre-Dark-Gruvbox-eb700ab7e2af0cda8ef0f6d317d04ff056ff1da6.zip
Parentb4e87e9a0f799a803d509d43b0508167967c57cf (diff)
Add: Tiles component and many bugs fixed
1 files changed, 17 insertions, 11 deletions
-rw-r--r--docs/css/docs.less28
diff --git a/docs/css/docs.less b/docs/css/docs.less
index e5d0f12..885401c 100644
--- a/docs/css/docs.less
+++ b/docs/css/docs.less
@@ -136,6 +136,18 @@ header {
margin-bottom: 2rem;
}
+.example-tile-icon {
+ align-content: space-around;
+ align-items: center;
+ background: #5764c6;
+ border-radius: .2rem;
+ color: #fff;
+ display: flex;
+ font-size: 2.4rem;
+ height: 4rem;
+ width: 4rem;
+}
+
@media screen and (min-width: 480px) {
.docs-sidebar {
padding: 7rem 0;
@@ -148,18 +160,12 @@ header {
.docs-nav {
position: sticky;
top: 5rem;
- }
- }
- .docs-backtotop {
- bottom: 5rem;
- display: none;
- padding: 0 1rem;
- position: fixed;
- z-index: 49;
- }
- .docs-backtotop a {
- color: #666;
+ // A position: sticky; bug casues box-shadow generates width to the elements
+ .nav-item a:focus {
+ box-shadow: none;
+ }
+ }
}
}
}