-
{{ $title }}
+
{{ if $icon }} {{ end }}{{ $title }}
{{ .Inner }}
diff --git a/static/css/theme.css b/static/css/theme.css
index ed66f23f10..338052dc60 100644
--- a/static/css/theme.css
+++ b/static/css/theme.css
@@ -486,13 +486,7 @@ div.box {
div.box > .box-label {
color: rgba( 255, 255, 255, 1 ); /* var(--BOX-CAPTION-color) */
font-weight: 500;
- padding: .2rem 1rem;
-}
-
-div.box > .box-label:first-child:before {
- content: "";
- font-family: "Font Awesome 5 Free";
- font-weight: 900;
+ padding: .2rem .6rem;
}
div.box > .box-content {
@@ -518,12 +512,6 @@ div.box.info {
background-color: rgba( 48, 117, 229, 1 ); /* var(--INTERNAL-BOX-INFO-color) */
}
-div.box.info > .box-label:first-child:before {
- content: "\f05a";
- margin-left: -.15rem;
- margin-right: .35rem;
-}
-
div.box.info > .box-content {
color: rgba( 16, 16, 16, 1 ); /* var(--INTERNAL-BOX-INFO-TEXT-color) */
}
@@ -534,12 +522,6 @@ div.box.warning {
background-color: rgba( 224, 62, 62, 1 ); /* var(--INTERNAL-BOX-WARNING-color) */
}
-div.box.warning > .box-label:first-child:before {
- content: "\f071";
- margin-left: -.15rem;
- margin-right: .35rem;
-}
-
div.box.warning > .box-content {
color: rgba( 16, 16, 16, 1 ); /* var(--INTERNAL-BOX-WARNING-TEXT-color) */
}
@@ -550,12 +532,6 @@ div.box.note {
background-color: rgba( 237, 153, 9, 1 ); /* var(--INTERNAL-BOX-NOTE-color) */
}
-div.box.note > .box-label:first-child:before {
- content: "\f06a";
- margin-left: -.15rem;
- margin-right: .35rem;
-}
-
div.box.note > .box-content {
color: rgba( 16, 16, 16, 1 ); /* var(--INTERNAL-BOX-NOTE-TEXT-color) */
}
@@ -566,12 +542,6 @@ div.box.tip {
background-color: rgba( 42, 178, 24, 1 ); /* var(--INTERNAL-BOX-TIP-color) */
}
-div.box.tip > .box-label:first-child:before {
- content: "\f0eb";
- margin-left: -.15rem;
- margin-right: .35rem;
-}
-
div.box.tip > .box-content {
color: rgba( 16, 16, 16, 1 ); /* var(--INTERNAL-BOX-TIP-TEXT-color) */
}
@@ -644,12 +614,6 @@ div.box.transparent > .box-content {
/* attachments shortcode */
-div.attachments > .box-label:first-child:before {
- content: "\f0c6";
- margin-left: -.35rem;
- margin-right: .35rem;
-}
-
div.attachments .box-content {
display: block;
margin: 0;