Skip to content

Commit fbea728

Browse files
author
saowang
committed
Removed shortcodes box-shadow and improve code bg
1 parent db6ed8d commit fbea728

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

_includes/shortcodes/danger.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="admonition danger box-shadow mb-3">
1+
<div class="admonition danger mb-3">
22
<div class="title px-2 py-1">
33
<i class="fa fa-exclamation-circle"></i>
44
{{ __.danger | default: "Danger" }}

_includes/shortcodes/note.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="admonition note box-shadow mb-3">
1+
<div class="admonition note mb-3">
22
<div class="title px-2 py-1">
33
<i class="fa fa-exclamation-circle"></i>
44
{{ __.note | default: "Note" }}

_includes/shortcodes/tip.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="admonition tip box-shadow mb-3">
1+
<div class="admonition tip mb-3">
22
<div class="title px-2 py-1">
33
<i class="fa fa-exclamation-circle"></i>
44
{{ __.tip | default: "Tip" }}

_includes/shortcodes/warning.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="admonition warning box-shadow mb-3">
1+
<div class="admonition warning mb-3">
22
<div class="title px-2 py-1">
33
<i class="fa fa-exclamation-circle"></i>
44
{{ __.warning | default: "Warning" }}

_sass/class/markdown-body.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
font-size: $font-size-small;
4141
border: $border;
4242
color: $theme-red;
43+
background-color: darken($theme-white, 2%);
4344
}
4445

4546
pre {

0 commit comments

Comments
 (0)