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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorYurizal Susanto <rizalsagi@gmail.com>2017-09-13 04:39:50 +0300
committerYurizal Susanto <rizalsagi@gmail.com>2017-09-13 04:39:50 +0300
commit8e0248e315421ff178a9bab90e5318dd16d7c7ff (patch)
tree1f4f3b7cd48fe65815e12d9a70d58908aefd29d4 /static
parent38109d62ee9e86af651f99fbe9dc7104cf82bdba (diff)
Change blockquote style
Diffstat (limited to 'static')
-rw-r--r--static/css/ui.css16
1 files changed, 11 insertions, 5 deletions
diff --git a/static/css/ui.css b/static/css/ui.css
index 6d3e9ae..b110203 100644
--- a/static/css/ui.css
+++ b/static/css/ui.css
@@ -223,19 +223,25 @@ td:last-child {
blockquote {
box-sizing: border-box;
margin: 1.75em 0 1.75em 0;
- padding: 0 0 0 1.25em;
- border-left: #1eaedb 0.4em solid;
+ padding: 0 1em 0 1em;
+ border-left:0.4em solid;
}
-blockquote p { margin-bottom: 0; }
+@media (min-width: 55rem) {
+ blockquote {
+ margin: 1.75em -2em 1.75em -2em;
+ padding: 0 1.5em 0 1.5em;
+ border-right:0.4em solid;
+ }
+}
-blockquote cite {
+blockquote p:last-of-type cite {
display: block;
text-align: right;
margin-right: 1rem;
}
-blockquote cite:before { content: "― "; }
+blockquote p:last-of-type cite:before { content: "― "; }
blockquote cite a {
font-style: italic;