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

github.com/xaprb/story.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorBaron Schwartz <xaprb@users.noreply.github.com>2018-09-16 17:49:43 +0300
committerBaron Schwartz <xaprb@users.noreply.github.com>2018-09-16 17:49:43 +0300
commitc9c740faf33f135f3fc73935d1d07d0523291910 (patch)
tree551cc1552f7ce6c49d96e446546a80aa1befeda9 /static
parenteb9716c687303da45866fae82a2de69af17f0774 (diff)
clean up code/pre styling, add border to pre
Diffstat (limited to 'static')
-rw-r--r--static/css/story.css11
1 files changed, 6 insertions, 5 deletions
diff --git a/static/css/story.css b/static/css/story.css
index 4f11f5d..633dcb8 100644
--- a/static/css/story.css
+++ b/static/css/story.css
@@ -165,19 +165,20 @@ body:not(.feature-tablefig) table th {
}
pre {
+ border: 1px solid silver;
border-radius: 3px;
- padding: 1rem;
+ font-size: 0.85rem;
+ line-height: 1.4;
+ padding: 1em;
background: #f6f8fa;
overflow: auto;
}
p>code, li>code, a>code {
+ font-size: 85%;
background: #f6f8fa;
margin: 0;
border-radius: 3px;
- padding: 0.2em 0.4em;
-}
-pre, code, kbd, tt, samp {
- font-size: 1rem;
+ padding: 0.15em 0.25em;
}
/* Use front matter in the blog post to add CSS class names to the <body> tag.