-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcustom.css
More file actions
92 lines (78 loc) · 1.66 KB
/
custom.css
File metadata and controls
92 lines (78 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
html[data-theme=dark] {
--pst-color-primary: #04B46D;
--pst-color-link: var(--pst-color-primary);
}
html[data-theme=light] {
--pst-color-primary: #03A062;
--pst-color-link: var(--pst-color-primary);
}
/* Preserve image transparency and center images */
img {
background: transparent !important;
display: block;
margin-left: auto;
margin-right: auto;
}
/* Optional: Add subtle border/shadow for better visibility on light backgrounds */
.bd-main img {
background: transparent;
border-radius: 4px;
display: block;
margin: 0 auto;
}
/* Ensure transparent images work well in both light and dark themes */
html[data-theme=light] .bd-main img {
background: transparent;
}
html[data-theme=dark] .bd-main img {
background: transparent;
}
/* Center images in content areas specifically */
.bd-article img,
.bd-content img {
display: block;
max-width: 100%;
height: auto;
}
.bd-article .sponsor {
height: 100px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
}
.col {
flex: 0 0 50%;
max-width: 50%;
}
.img-sponsor {
height: 50px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
}
.things-in-a-row-sponsor {
display: flex;
flex-wrap: wrap;
}
.things-in-a-row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.blog-post-author {
border-left: 3px solid var(--pst-color-primary);
color: var(--pst-color-text-muted);
font-size: 1.12rem;
line-height: 1.5;
margin-top: -0.2rem;
margin-bottom: 2rem;
padding-left: 0.8rem;
}
.blog-post-author a {
font-weight: 600;
}
.blog-post-author .line:nth-child(2) {
font-size: 1rem;
}