diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-05-23 21:43:47 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-05-23 21:43:47 +0200 |
commit | 8e37da672d5e0589606e7b482e81f8a3e266acb1 (patch) | |
tree | 3e43038a3de8f942e266ff47b492a8a47f391c08 /theme/stylesheets | |
parent | c0f68c45e20230e53593280434ddfd3bc7a571b3 (diff) | |
download | gitbook-8e37da672d5e0589606e7b482e81f8a3e266acb1.zip gitbook-8e37da672d5e0589606e7b482e81f8a3e266acb1.tar.gz gitbook-8e37da672d5e0589606e7b482e81f8a3e266acb1.tar.bz2 |
Minor css improvements
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-x | theme/stylesheets/book/exercise.less | 2 | ||||
-rwxr-xr-x | theme/stylesheets/book/markdown.less | 1 | ||||
-rwxr-xr-x | theme/stylesheets/book/navigation.less | 6 | ||||
-rw-r--r-- | theme/stylesheets/book/quiz.less | 2 | ||||
-rwxr-xr-x | theme/stylesheets/variables.less | 15 |
5 files changed, 11 insertions, 15 deletions
diff --git a/theme/stylesheets/book/exercise.less b/theme/stylesheets/book/exercise.less index dd30298..a6f8a45 100755 --- a/theme/stylesheets/book/exercise.less +++ b/theme/stylesheets/book/exercise.less @@ -1,7 +1,7 @@ .book .book-body .page-wrapper .page-inner { section.exercise { padding: 0px; - margin: 20px 0px; + margin: 20px 15px; border: 3px solid #2f8cde; .header { diff --git a/theme/stylesheets/book/markdown.less b/theme/stylesheets/book/markdown.less index 481f902..52927a8 100755 --- a/theme/stylesheets/book/markdown.less +++ b/theme/stylesheets/book/markdown.less @@ -24,6 +24,7 @@ padding-bottom: 25px; padding-top: 15px; color:@page-color; + letter-spacing: 0.01rem; & > *:first-child { margin-top: 0 !important; } diff --git a/theme/stylesheets/book/navigation.less b/theme/stylesheets/book/navigation.less index 9267fc7..52270d1 100755 --- a/theme/stylesheets/book/navigation.less +++ b/theme/stylesheets/book/navigation.less @@ -13,15 +13,15 @@ flex-direction: column; font-size: 40px; - color: rgba(0,0,0,0.5); + color: rgba(0,0,0,0.4); text-align: center; .transition(all 350ms ease); &:hover { - background-color: @body-pagination-background; text-decoration: none; + color: rgba(0,0,0,0.6); } &.navigation-next { @@ -50,11 +50,9 @@ } .book.color-theme-1 .book-body { .navigation:hover{ - background-color: @body-pagination-background-1; } } .book.color-theme-2 .book-body { .navigation:hover{ - background-color: @body-pagination-background-2; } }
\ No newline at end of file diff --git a/theme/stylesheets/book/quiz.less b/theme/stylesheets/book/quiz.less index 9f6c724..0abdaf6 100644 --- a/theme/stylesheets/book/quiz.less +++ b/theme/stylesheets/book/quiz.less @@ -1,7 +1,7 @@ .book .book-body .page-wrapper .page-inner { section.quiz { padding: 0px; - margin: 20px 0px; + margin: 20px 15px; border: 3px solid #2f8cde; .header { diff --git a/theme/stylesheets/variables.less b/theme/stylesheets/variables.less index fda6b13..15048cb 100755 --- a/theme/stylesheets/variables.less +++ b/theme/stylesheets/variables.less @@ -13,7 +13,6 @@ // Body @body-background: white; -@body-pagination-background: hsl(207, 15%, 95%); // Sidebar @sidebar-width: 250px; @@ -91,12 +90,12 @@ @xl-font-size: 2.2rem; @xxl-font-size: 4.0rem; -/* -,--------.,--. -'--. .--'| ,---. ,---. ,--,--,--. ,---. ,---. .--. - | | | .-. || .-. :| || .-. :( .-' '--' - | | | | | |\ --.| | | |\ --..-' `).--. - `--' `--' `--' `----'`--`--`--' `----'`----' '--' +/* +,--------.,--. +'--. .--'| ,---. ,---. ,--,--,--. ,---. ,---. .--. + | | | .-. || .-. :| || .-. :( .-' '--' + | | | | | |\ --.| | | |\ --..-' `).--. + `--' `--' `--' `----'`--`--`--' `----'`----' '--' */ // Header @header-color-1: #AFA790; @@ -113,8 +112,6 @@ // Body @body-background-1: #F3EACB; @body-background-2: #1d1f21; -@body-pagination-background-1: #FFFAEA; -@body-pagination-background-2: #33404D; // Sidebar @sidebar-color-1: #AFA790; |