Skip to content

Commit 7f3b1ee

Browse files
committed
style: Borderize post's thumnail image
Signed-off-by: Don Alfons <[email protected]>
1 parent e156c18 commit 7f3b1ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
:root {
77
--base-bg-color: hsl(0, 0%, 100%);
88
--base-font-color: hsl(240, 10%, 21%);
9+
--base-border-color: hsl(240, 7%, 11%);
910
--main-header-border-color: hsl(120, 20%, 84%);
1011
--post-info-font-color: hsl(190, 3%, 44%);
1112
/* --anchor-font-color: hsl(221, 63%, 47%); */
@@ -22,6 +23,7 @@
2223
:root.dark {
2324
--base-bg-color: hsl(240, 25%, 14%);
2425
--base-font-color: hsl(0, 0%, 100%);
26+
--base-border-color: hsl(240, 25%, 22%);
2527
--post-info-font-color: hsl(193, 6%, 68%);
2628
/* --anchor-font-color: hsl(261, 84%, 74%); */
2729
/* --anchor-bg-color: hsl(240, 25%, 25%); */
@@ -291,6 +293,7 @@ svg .fill {
291293

292294
.post .thumbnail {
293295
aspect-ratio: 16/9;
296+
border: 0.15em solid var(--base-border-color);
294297
}
295298

296299
.hr-border {

0 commit comments

Comments
 (0)