Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pravin/hugo-theme-prav.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPravin Paratey <pravin@paratey.com>2020-04-30 23:40:27 +0300
committerPravin Paratey <pravin@paratey.com>2020-04-30 23:40:27 +0300
commiteac97e0be65bec0eedb0cad512822f4197f09340 (patch)
tree12f38c446526a954061be36715886aa6993cb95a
parentcf68e5a97ecc21fd8b61f8cf087a9633e00d6493 (diff)
Fixing syntax highlighting niggles
-rw-r--r--static/css/style.css13
1 files changed, 10 insertions, 3 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 717e725..b201504 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -142,6 +142,7 @@ section.toc h3 {
.tags {
font-size: 0.8em;
+ font-family: "Fira Sans Condensed", sans-serif;
}
.tags .pure-button {
@@ -244,19 +245,25 @@ a {
}
/* Syntax Highlighting */
-
pre {
+ padding: 1em;
+}
+pre, div.highlight {
border: 1px solid #ccc;
border-radius: 4px;
- font-size: 0.8em;
+ font-size: 14px;
line-height: 1.2em;
- padding: 1em;
}
pre, code {
font-family: 'Menlo', 'Courier New', Courier, monospace;
}
+div.highlight pre {
+ border: 0;
+ margin: 0;
+ padding-right: 0;
+}
/* Custom Styles */