-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
124 lines (110 loc) · 2.22 KB
/
styles.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
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
:root {
--logo-url: url('https://gateway.ipfs.io/ipfs/QmZSLh1CH64RVWKuq6VnforD6UkfZpb1oooY8YkEr9vtA2');
}
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.background {
min-height: 100%;
padding-bottom: 60px;
box-sizing: border-box;
background-color: rgb(4, 17, 32);
display: flex;
flex-direction: column;
align-items: center;
}
.button-container {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
padding-top: 20px;
position: relative;
z-index: 1;
}
.header {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
background-color: rgb(4, 17, 32);
padding: 10px 20px;
z-index: 2;
}
.header .logo {
width: 150px;
height: 150px;
margin-right: 10px;
background-image: var(--logo-url);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.button {
display: inline-block;
padding: 10px 20px;
background-color: rgb(46, 101, 246);
color: #fff;
border: none;
border-radius: 5px;
margin-right: 10px;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s ease;
}
.button:last-child {
margin-right: 0;
}
.button:hover {
background-color: rgb(46, 101, 246);
}
.audio-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100vh - 60px);
position: relative;
z-index: 1;
}
.image-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
max-width: 600px;
margin: 160px auto 0; /* Adjusted top margin to push the images below the header */
}
@media screen and (max-width: 600px) {
.image-container {
grid-template-columns: 1fr;
}
}
.image-container img {
max-width: 100%;
height: auto;
}
.image-overlay {
position: absolute;
top: 80px;
left: 50%;
transform: translateX(-50%);
max-width: 90%;
max-height: calc(100vh - 200px); /* Adjusted max-height to leave space for the header and buttons */
display: flex;
justify-content: center;
align-items: center;
z-index: 0;
}
.image-overlay img {
max-width: 150%;
max-height: 150%;
object-fit: contain;
z-index: -1;
}