-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
182 lines (158 loc) · 3.26 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
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
:root {
--primary-color: #fff;
--secondary-color: #007bff;
--footer-bg-color: #343a40;
--navbar-bg-color: rgba(255, 255, 255, 0.3);
--card-bg-color: rgba(255, 255, 255, 0.3);
--text-color-black: #141010;
}
@font-face {
font-family: "Helvetica Neue";
src: url("../fonts/helveticaneue.woff2");
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: "Helvetica Neue", sans-serif;
}
body {
display: flex;
flex-direction: column;
background-color: var(--primary-color);
overflow-y: scroll;
background: url(../images/gradient.gif) center / cover;
}
/* NAVBAR */
nav {
background: var(--navbar-bg-color);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(14.1px);
border: 1px solid rgba(255, 255, 255, 0.5);
}
.navbar-brand {
font-weight: bold;
}
.navbar-brand:hover {
mix-blend-mode: difference;
}
.logo {
height: 50px;
width: 50px;
}
a {
color: var(--primary-color);
}
#cart-count {
color: var(--text-color-black);
}
/* PRODUCTS PAGE */
.products .card {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
}
.products .card img {
max-height: 20rem;
object-fit: contain;
}
.products .card-body {
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.products .card-body h5 {
margin-bottom: 1rem;
}
.products .btn {
margin-top: auto;
}
.container {
flex-grow: 1;
margin-bottom: 60px;
}
/* HERO */
.container {
flex-grow: 1;
}
.full-height {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
/* TEXT STYLES */
h1,
h2,
.lead,
.product,
.checkout,
.form-check-label,
.form-group,
.table,
.text-right {
color: var(--primary-color);
}
/* SPECIFIC TEXT COLOR */
.white-text {
color: var(--primary-color);
}
.black-text {
color: var(--text-color-black);
}
footer {
background-color: var(--footer-bg-color);
color: var(--primary-color);
padding: 10px 0;
position: fixed;
width: 100%;
margin-top: auto; /* STICK TO BOTTOM */
bottom: 0;
background: var(--card-bg-color);
border-radius: 10px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(14.1px);
border: 1px solid rgba(255, 255, 255, 0.5);
text-align: center;
}
/* Navbar Toggler Styles */
.navbar-toggler {
border: 2px solid rgba(255, 255, 255, 0.8);
border-radius: 8px;
}
.navbar-toggler-icon {
background-image: url('data:image/svg+xml;charset=utf8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba(255,255,255, 0.8)" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E'); /* White icon lines */
}
/* WEBAMP */
#winamp-container {
flex-grow: 1;
display: flex;
justify-content: center;
align-items: center;
min-height: 400px;
}
.winamp-window {
margin-right: 10px; /* Space between player and visualizer */
}
/* Media Queries */
@media (max-width: 992px) {
body {
overflow: auto;
background: url(../images/gradient.gif) center / cover;
}
.container {
flex: 1;
padding-bottom: 20px;
}
/* Webamp container adjustments for smaller screens */
#winamp-container {
flex-direction: column;
max-width: 90%;
}
}