-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmainpage.css
81 lines (77 loc) · 1.44 KB
/
mainpage.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
75
76
77
78
79
80
81
.part-1 {
--image-height: 100vh;
}
.part-1 .ExplainUnbap {
text-align: center;
padding-left: 10vw;
padding-right: 10vw;
padding-top: 12vh;
padding-bottom: 12vh;
margin-left: 2vw;
margin-right: 2vw;
margin-bottom: 3vh;
margin-top: 8vh;
background-color: #8fafcc;
color: white;
font-weight: bold;
}
.part-1 .textUnbapExplain {
font-size: 1.5rem;
text-align: center;
}
.part-1 .textUnbap {
font-size: 5rem;
margin: 0;
height: 100%;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.part-1 .textUnbap h2 {
margin: 0;
font-family: 'GmarketSansMedium';
font-weight: 545;
letter-spacing: 1.8rem;
font-size: 15vw;
}
.part-1 .main-imagex {
position: relative;
height: var(--image-height);
margin-bottom: calc(100vh - var(--image-height));
}
.part-1 #unbapText {
position: absolute;
top: 0;
left: 0;
margin: 0;
width: 100%;
height: 100%;
opacity: 0.8;
color: white;
/* background-color: white; */
/* background-color: rgba(0, 0, 0, 0.3); */
}
/* .part-1 #unbapText {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 100%;
color: black;
background-color: rgba(255, 255, 255, 0.5);
} */
.part-1 .unbapImg {
height: 500px;
}
.part-1 img {
object-fit: cover;
object-position: center;
width: 100%;
height: var(--image-height);
/* height: 100vh; */
}
.menuBar .menu {
margin: auto 1em;
cursor: pointer;
}