summaryrefslogtreecommitdiff
path: root/style
diff options
context:
space:
mode:
Diffstat (limited to 'style')
-rw-r--r--style/preamble.less2
-rw-r--r--style/style.less16
-rw-r--r--style/typography.less12
3 files changed, 15 insertions, 15 deletions
diff --git a/style/preamble.less b/style/preamble.less
index ea252ba..3dd3ba2 100644
--- a/style/preamble.less
+++ b/style/preamble.less
@@ -32,7 +32,7 @@
/* Layout */
-@layout-width: 40em;
+@layout-width: 48em;
/* Color constants */
diff --git a/style/style.less b/style/style.less
index f333d72..fc5ef57 100644
--- a/style/style.less
+++ b/style/style.less
@@ -45,24 +45,24 @@ main > section {
}
/* Responsively increase font size to screen size */
-@media (min-width: 300px) {
+@media (min-width: 0px) and (max-width: 300px) {
html {
- font-size: 10pt;
+ font-size: 9pt;
}
}
-@media (min-width: 500px) {
+@media (min-width: 300px) and (max-width: 700px) {
html {
- font-size: 11pt;
+ font-size: 10pt;
}
}
-@media (min-width: 1400px) {
+@media (min-width: 1200px) {
html {
- font-size: 13pt;
+ font-size: 12pt;
}
}
-@media (min-width: 1900px) {
+@media (min-width: 1920px) {
html {
- font-size: 14pt;
+ font-size: 13pt;
}
}
diff --git a/style/typography.less b/style/typography.less
index e875abe..68781c1 100644
--- a/style/typography.less
+++ b/style/typography.less
@@ -10,7 +10,7 @@
/* Main font */
html {
- font: 12pt / 1.75 @font-main;
+ font: 11pt / 1.75 @font-main;
color: @color-text;
}
@@ -145,11 +145,11 @@ sup {
/* Quotes */
blockquote:before {
- content: "«";
+ content: "»";
}
blockquote:after {
- content: "»";
+ content: "«";
}
blockquote {
@@ -184,11 +184,11 @@ pre {
/* Asides */
aside:before {
- content: "«";
+ content: "»";
}
aside:after {
- content: "»";
+ content: "«";
}
aside {
@@ -211,13 +211,13 @@ figure img {
figure figcaption {
font-style: italic;
+ font-size: 90%;
color: @color-light;
}
/* Special constructions */
span.source {
- font-size: 80%;
font-style: normal;
display: block;
}