Skip to content

Commit 1edc874

Browse files
authored
Update main.scss
1 parent dcaa127 commit 1edc874

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

assets/css/main.scss

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,20 @@
3838
@import "vendor/font-awesome/solid";
3939
@import "vendor/font-awesome/brands";
4040
@import "vendor/magnific-popup/magnific-popup";
41-
@import "print";
41+
@import "print";
42+
43+
.paper-box-image > div {
44+
position: relative;
45+
}
46+
47+
.paper-box-image .badge {
48+
position: absolute;
49+
top: 10px;
50+
left: 10px;
51+
padding: 4px 10px;
52+
border-radius: 4px;
53+
font-size: 0.75rem;
54+
font-weight: 600;
55+
background: rgba(0, 0, 0, 0.75); /* or your theme color */
56+
color: #fff;
57+
}

0 commit comments

Comments
 (0)