summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/less/Sidebar.less
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2017-01-06 17:15:30 +0100
committerGitHub <noreply@github.com>2017-01-06 17:15:30 +0100
commit7029c01806781f5ed74f175545ea154aa17cc6fd (patch)
treed87189690b5acc78acbd3d9688edc37b251541f3 /packages/gitbook-plugin-theme-default/less/Sidebar.less
parent11893255d1167382b16871d2ca831c90a40af57d (diff)
downloadgitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.zip
gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.tar.gz
gitbook-7029c01806781f5ed74f175545ea154aa17cc6fd.tar.bz2
Switch to markup-it for parsing (#1659)
* Start new parsers in gitbook itself * Update markup-it * Fix eslint errors * Adapt basic parsing for summary * Start tests for summaryFromDocument * Continue * Add parsing of glossary * Add back languages parsing * Adapt most tests for parsing * Adapt all tests 🙌 * Adapt travis tests * Bootstrap lerna before running tests * Fix lowercase in require (linux) * Fix command gitbook init * Fix generation of ready by init command * Fix generation of summary * Fix watch after serve * Add trademark to sidebar * Add back favicon to default theme * Open trademark in new tab
Diffstat (limited to 'packages/gitbook-plugin-theme-default/less/Sidebar.less')
-rw-r--r--packages/gitbook-plugin-theme-default/less/Sidebar.less25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/gitbook-plugin-theme-default/less/Sidebar.less b/packages/gitbook-plugin-theme-default/less/Sidebar.less
index 1689b9f..a0bfeae 100644
--- a/packages/gitbook-plugin-theme-default/less/Sidebar.less
+++ b/packages/gitbook-plugin-theme-default/less/Sidebar.less
@@ -27,3 +27,28 @@
border-right: 1px solid @sidebar-border-color;
overflow-y: auto;
}
+
+.GitBookTrademark {
+ text-align: center;
+ text-decoration: none;
+ opacity: 0.1;
+ margin-top: 80px;
+ margin-bottom: 40px;
+ color: #000;
+ display: block;
+
+ &:hover {
+ text-decoration: none;
+ opacity: 0.2;
+ }
+
+ span {
+ display: block;
+ }
+
+ img {
+ max-width: 64px;
+ filter: grayscale(100%);
+ margin-top: 10px;
+ }
+}