summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-12-29 11:58:58 +0100
committerache <ache@ache.one>2018-12-29 12:01:14 +0100
commite67b133f233b77eab5f603056bead0835bcc2342 (patch)
tree3c030404358f1d2f3b97c831829013709f5d0a61
parentFix box ico (diff)
Format box
-rw-r--r--src/css/_style.scss10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/css/_style.scss b/src/css/_style.scss
index 583a9ce..6b90d1f 100644
--- a/src/css/_style.scss
+++ b/src/css/_style.scss
@@ -26,7 +26,7 @@ blockquote {
color: #424242;
min-height: 60px;
}
-.special-box::before{
+.special-box:before{
content: "";
display: block;
width: 48px;
@@ -35,9 +35,13 @@ blockquote {
margin: 0 0 -48px -70px;
}
@mixin box($name, $bg) {
- #{$name} {
+ .#{$name} {
background: $bg;
- &::before {
+ padding-right: 4%;
+ padding-top: 2%;
+ font-family: monospace, serif;
+ font-size: 14px;
+ &:before {
background-image: url("/s/img/ic_" + $name + "_black_48px.svg");
}
}