Skip to content

Commit 34fc3fa

Browse files
committed
Edit css
1 parent 7d9f11a commit 34fc3fa

2 files changed

Lines changed: 17 additions & 4 deletions

File tree

assets/css/jekyll-theme-chirpy.scss

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ pre {
99
}
1010

1111
#sidebar {
12-
background: url('/assets/img/misc/sidebar2.jpg');
13-
background-size: cover;
12+
// background: url('/assets/img/misc/sidebar2.jpg');
13+
// background-size: cover;
1414
.site-title {
1515
a {
1616
@extend %clickable-transition;
@@ -27,19 +27,32 @@ pre {
2727
}
2828
}
2929
}
30+
#sidebar:after {
31+
content: "";
32+
display: block;
33+
position: absolute;
34+
top: 0;
35+
left: 0;
36+
background-image: url('/assets/img/misc/sidebar2.jpg');
37+
background-size: cover;
38+
width: 100%;
39+
height: 100%;
40+
opacity: 0.4;
41+
z-index: -1;
42+
}
3043

3144
#main-wrapper:after {
3245
content: "";
3346
display: block;
3447
position: absolute;
3548
top: 0;
3649
left: 0;
37-
background: url('/assets/img/misc/plana.jpg');
50+
background: url('/assets/img/misc/plana.png');
3851
background-attachment: fixed;
3952
background-size: cover;
4053
background-repeat: no-repeat;
4154
background-position: center;
42-
opacity: 0.06;
55+
opacity: 0.08;
4356
width: 100%;
4457
height: 100%;
4558
z-index: -1;

assets/img/misc/plana.png

2.82 MB
Loading

0 commit comments

Comments
 (0)