-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
225 lines (180 loc) · 4.15 KB
/
Copy pathstyles.css
File metadata and controls
225 lines (180 loc) · 4.15 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/*General reset*/
body {
font-family: Arial, sans-serif;
text-align: center;
margin: 0;
padding: 0;
color: #111;
background-color: white;
height: 100%;
overflow-y: auto;
}
h1{
font-family: "Libre Baserville";
font-size: 20pt;
font-style: italic;
text-align: 50;
margin: auto;
padding: 30px;
}
h2{
font-family: "Libre Baserville";
font-style: italic;
padding-top: 100px;
}
h3{
font-size: 200pt;
margin: 0;
}
h4{
color: #7b7b7b;
font-size: 10pt;
padding-top: 0px;
}
p1{
color: black;
font-size: 15pt;
}
p2{
font-size: 25pt;
color: #000;
}
p3{
text-align: right;
font-size: 20pt;
font-family: 'Times New Roman', Times, serif;
}
/*Font*/
.libre-baskerville-regular-italic {
font-family: "Libre Baskerville", serif;
}
/* Hero Grid Layout */
.hero-grid {
display: grid;
grid-template-columns: 1fr 1fr 1fr; /* Equal 3 columns */
height: 50vh; /* 50% of viewport height */
border-top: 6px double #eae7e7; /* Border on top */
border-bottom: 6px double #eae7e7; /* Border on bottom */
}
.hero-grid div {
border-right: 1px solid #eae7e7; /* Add border between columns */
}
.hero-grid div:last-child {
border-right: none; /* Remove border after the last column */
}
.hero-box:hover {
background-color: #e0e0e0; /* Highlight effect on hover */
}
/* Subtitle styling */
.subtitle {
position: absolute; /* Position relative to the hero box */
bottom: 130px; /* Adjust the placement */
opacity: 0; /* Initially hidden */
transition: opacity 0.3s ease; /* Smooth appearance */
font-size: 1rem;
color: #7b7b7b;
}
/* Show subtitle on hover */
.hero-box:hover .subtitle {
opacity: 1; /* Fully visible on hover */
}
.hero-box {
display: flex;
justify-content: center;
align-items: center;
font-size: 5rem;
font-weight: normal;
color: #111;
cursor: cell;
position: relative;
overflow: hidden;
transition: background-color 0.3s ease;
}
.hero-box:nth-child(1) { background-color: #fff; }
.hero-box:nth-child(2) { background-color: #fff; }
.hero-box:nth-child(3) { background-color: #fff; }
/* Hover Images Container */
#hover-images-container img {
position: absolute;
width: 200px; /* Default image size */
height: auto;
opacity: 0;
transform: scale(0.9);
transition: opacity 0.6s, transform 0.6s ease-in-out;
z-index: 10;
}
/* Specific Image Positions */
img.image-1 {
bottom: 60px; /* Fixed from bottom */
left: 40px; /* Fixed from left */
}
img.image-2 {
bottom: 20px; /* Fixed from bottom */
right: 20px; /* Fixed from right */
}
img.image-3 {
top: 170px; /* Fixed from top */
left: 250px; /* Fixed from left */
}
img.image-4 {
top: 150px; /* Fixed from top */
right: 100px; /* Fixed from right */
}
/* Add on hover */
.hero-box:hover ~ #hover-images-container img {
opacity: 1;
}
.hero-grid-container2{
display: grid;
grid-template-columns: repeat(6,1fr);
gap: 10px;
padding-top: 15px;
}
.hero-grid2{
position: relative;
overflow: hidden;
}
.hero-grid2 img{
width: 100%;
height: auto;
transition: transform 0.5s ease;
}
.hero-grid2:hover img{
transform: scale(1.3);
}
.hero-grid2:hover .overlay{
transform: translateY(0);
}
.video-lyric-container{
display: flex;
justify-content: space-evenly;
align-items: center;
width: 100%;
height: 100%;
}
.video-container{
flex: 4;
position: relative;
width: 100%;
justify-content: center;
padding-bottom: 40%; /*16:9 aspect*/
margin-bottom:0; /*center horizontally*/
}
.video{
position: absolute;
top: 0;
left: 0;
right: 0;
width: 70%;
height: 70%;
border: none;
}
.lyric-container{
flex: 1.5;
justify-content: left;
align-items: left;
padding-top: 0 20px;
text-align: left;
font-size: 1rem;
line-height: 1.5;
}