summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-xtheme/stylesheets/ebook.less61
-rw-r--r--theme/stylesheets/website/variables.less2
2 files changed, 22 insertions, 41 deletions
diff --git a/theme/stylesheets/ebook.less b/theme/stylesheets/ebook.less
index 46fe4bd..f4b6c2e 100755
--- a/theme/stylesheets/ebook.less
+++ b/theme/stylesheets/ebook.less
@@ -5,52 +5,33 @@
.page {
&.page-toc {
- ol {
- margin: 0px;
- }
- }
-
- .book-chapter {
- display: none;
- }
-
- .exercise, .quiz {
- margin: 1cm 0cm;
- border: 2px solid #ddd;
-
- .exercise-header {
- padding: 0.1cm 0.3cm;
- background: #f5f5f5;
- border-bottom: 1px solid #ddd;
- font-weight: bold;
- page-break-inside: avoid;
- }
-
- .exercise-inner {
- padding: 0.15cm 0.3cm;
-
- p:last-child {
- margin: 0px;
- }
- }
-
- hr {
- height: 2px;
- }
-
- .question {
- margin-top: 0.1cm;
- border-top: 1px solid #ddd;
-
- .question-base {
-
+ .glossary {
+ margin-bottom: 40px;
+
+ h2 {
+ a, a:hover {
+ color: inherit;
+ text-decoration: none;
+ }
}
- .question-solution {
+ .glossary-index {
+ list-style: none;
+ margin: 0px;
+ padding: 0px;
+ li {
+ display: inline;
+ margin: 0px 8px;
+ white-space: nowrap;
+ }
}
}
}
+
+ .book-chapter {
+ display: none;
+ }
}
diff --git a/theme/stylesheets/website/variables.less b/theme/stylesheets/website/variables.less
index e3ec2cb..0d79733 100644
--- a/theme/stylesheets/website/variables.less
+++ b/theme/stylesheets/website/variables.less
@@ -1,4 +1,4 @@
-@staticPath: "./";
+@staticPath: ".";
// Font sizes
@font-size-base: 14px;