Different styling to warning/tip boxes

This commit is contained in:
Dane Everitt 2018-07-26 22:51:11 -07:00
parent 775f6f5495
commit a2c45b0e44
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 1 additions and 11 deletions

View File

@ -88,40 +88,31 @@ div[class*="language-"] {
@each $lang in js,ts,html,md,vue,css,sass,scss,less,stylus,go,java,c,sh,yaml,conf {
div[class~="language-#{$lang}"]:before {
@apply .mr-1;
content: '#{$lang}';
}
}
div[class~="language-javascript"]:before {
@apply .mr-1;
content: "js";
}
div[class~="language-typescript"]:before {
@apply .mr-1;
content: "ts";
}
div[class~="language-markup"]:before {
@apply .mr-1;
content: "html";
}
div[class~="language-markdown"]:before {
@apply .mr-1;
content: "md";
}
div[class~="language-json"]:before {
@apply .mr-1;
content: "json";
}
div[class~="language-ruby"]:before {
@apply .mr-1;
content: "rb";
}
div[class~="language-python"]:before {
@apply .mr-1;
content: "py";
}
div[class~="language-bash"]:before {
@apply .mr-1;
content: "sh";
}

View File

@ -1,6 +1,5 @@
.custom-block {
@apply .px-6 .py-1 .my-4 rounded;
border-left: .5rem solid;
@apply .px-6 .py-1 .my-4 .rounded .border;
& > .custom-block-title {
@apply .font-semibold;