-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.css
74 lines (67 loc) · 1.37 KB
/
main.css
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
body {
height: 100%;
}
#story-container {
--article-image: url("");
height: 99vh;
aspect-ratio: 0.5625;
display: flex;
justify-content: center;
flex-direction: column;
gap: 10%;
align-items: center;
position: relative;
overflow: hidden;
}
#story-container::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: crimson;
background-image: var(--article-image);
filter: blur(30px) brightness(.9);
z-index: -2;
transform: scale(10);
}
#article {
width: 88%;
}
#article-image {
width: 100%;
overflow: hidden;
vertical-align: middle;
}
#article figure {
box-shadow: 0 0 20px 4px rgba(58, 58, 61, 0.2);
border-radius: 0.85714rem;
margin: 0;
overflow: hidden;
border: solid 1px rgb(34, 34, 34);
}
#article figcaption {
padding: 40px 18px;
font-size: 55px;
font-family: 'Roboto';
display: flex;
align-items: center;
justify-content: center;
text-align: center;
border-top: solid 1px rgb(34, 34, 34);
overflow: hidden;
position: relative;
}
#article figcaption::after {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: var(--article-image);
filter: blur(78px) brightness(1.2);
transform: scale(3);
z-index: -1;
}