-
Notifications
You must be signed in to change notification settings - Fork 0
/
work.css
66 lines (63 loc) · 1.18 KB
/
work.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
main{
flex-direction: column;
position: relative;
gap: 3rem;
background-color:#212121;
color: aliceblue;
}
.intro {
position: relative;
height: 100vh;
}
.intro::after{
content: "";
inset: 0;
background-color: rgba(0, 0, 0, 0.55);
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
}
#myVideo {
height: 100%;
min-height: 100vh;
min-width: 100vw;
width: 100%;
}
.intro-content {
padding: 3rem ;
text-align: center;
font-size: 1.5rem;
letter-spacing: .1rem;
position: absolute;
width: 70%;
margin-inline:auto ;
top: 0;
left: 12%;
}
.intro-content h1{
font-size: 3rem;
}
.painting {
display: flex;
width: 95%;
gap: 1rem;
margin-inline:auto ;
box-shadow: 0px 2px 12px 1px rgba(31,197,168,0.7);
-webkit-box-shadow: 0px 2px 12px 1px rgba(31,197,168,0.7);
-moz-box-shadow: 0px 2px 12px 1px rgba(31,197,168,0.7);
}
.painting:nth-child(even){
flex-direction: row-reverse;
}
.painting img {
aspect-ratio: 16/9;
object-fit: cover;
width: 50%;
}
.painting-info {
display: flex;
flex-direction: column;
width: 50%;
padding: 1rem;
}