diff --git a/htdocs/img/ic_q_close.svg b/htdocs/img/ic_q_close.svg new file mode 100644 index 0000000..08ab1a6 --- /dev/null +++ b/htdocs/img/ic_q_close.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/htdocs/img/ic_q_open.svg b/htdocs/img/ic_q_open.svg new file mode 100644 index 0000000..192d3f2 --- /dev/null +++ b/htdocs/img/ic_q_open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/htdocs/scss/app/blog.scss b/htdocs/scss/app/blog.scss index 16eb98c..1abb189 100644 --- a/htdocs/scss/app/blog.scss +++ b/htdocs/scss/app/blog.scss @@ -447,10 +447,62 @@ body.wide .blog-post { } .blog-quote { - padding: $base-padding; + position: relative; + //padding: $base-padding; background: $hover-hl; border-left: 2px $hover-hl-darker2 solid; border-radius: 2px; margin: $base-padding 0; font-size: $fs - 2px; + + &-begin, &-end { + position: relative; + background-color: $hover-hl-darker2; + font-weight: 600; + padding: 7px $base-padding; + } + &-begin-simple { + height: 14px; + position: relative; + } + + &-begin:before, + &-begin-simple:before, + &-end:after, + &-end-simple:after { + display: block; + width: 15px; + height: 12px; + position: absolute; + content: ''; + } + &-begin { + text-align: left; + padding-left: 37px; + } + &-begin:before, &-begin-simple:before { + background: url(/img/ic_q_open.svg) center center no-repeat; + background-size: 15px 12px; + left: 13px; + top: 8px; + } + &-end { + padding-right: 37px; + text-align: right; + } + + &-end:after, &-end-simple:after { + background: url(/img/ic_q_close.svg) center center no-repeat; + background-size: 15px 12px; + right: 13px; + bottom: 9px; + } + + &-content { + padding: $base-padding; + + > blockquote:last-child { + margin-bottom: 0; + } + } } \ No newline at end of file