-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
196 lines (163 loc) · 3.44 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
@import url('https://fonts.googleapis.com/css2?family=Teko:[email protected]&display=swap');
body {
/* Define the gradient with more muted colors */
background: linear-gradient(135deg, #ff9c00 0%, #0072ff 50%, #0e0e0e 100%);
/* Adjusted colors for a more muted palette */
background: linear-gradient(135deg, #b07d62 0%, #4a6d8f 50%, #333333 100%);
/* Ensure the gradient covers the full page */
background-attachment: fixed;
background-size: cover;
/* Other styles for a full-page gradient */
margin: 0;
height: 100vh;
color: #e0e0e0;
/* Light grey text for better contrast */
display: flex;
flex-direction: column;
align-items: center;
font-family: 'Teko', sans-serif;
}
.heading {
width: fit-content;
text-align: center;
}
.select-comp {
display: flex;
flex-direction: row;
gap: 5rem;
flex-wrap: wrap;
width: 100%;
justify-content: center;
}
.cards-container {
display: flex;
gap: 3rem;
}
.hero-card {
width: 10rem;
border: 3px solid rgb(48, 48, 48);
text-align: center;
background-color: rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding-bottom: 1rem;
}
.hero-card img {
width: 100%;
margin-bottom: 10px;
border-bottom: 3px solid rgb(48, 48, 48);
}
.select-group {
border-radius: 5px;
background-color: rgba(0, 0, 0, 0.2);
padding-inline: 2rem;
padding-bottom: 2rem;
box-shadow: 4px 4px 25px black;
}
.group-title {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
font-size: 2.5rem;
margin-block: 1rem;
}
h1 {
font-size: 3.5rem;
margin-block: 1rem;
}
label {
letter-spacing: .05rem;
font-size: 1.3rem;
}
select {
background-color: transparent;
color: white;
font-size: .8rem;
cursor: pointer;
}
option {
background-color: rgba(0, 0, 0, 0.75);
}
.button-container {
display: flex;
gap: 3rem;
}
.calculate {
margin-block: 2rem;
}
.btn-style {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.2);
color: white;
font-family: 'Teko', sans-serif;
font-size: 1.75rem;
letter-spacing: .1rem;
border: none;
transition: ease all 0.3s;
border-radius: 5px;
box-shadow: 2px 2px 15px black;
}
.btn-style:hover {
transform: scale(1.02);
}
.calculate:active {
transform: scale(.98);
}
h3 {
margin: 0;
}
.display-counters {
padding-block: 2rem;
}
.no-show {
display: none;
}
.role-select-wrapper {
position: relative;
height: fit-content;
margin-block: 2rem;
width: 11rem;
transition: all 0s !important;
}
.select-role {
appearance: none;
-webkit-appearance: none;
width: fit-content;
width: 100%;
font-family: 'Teko', sans-serif;
font-size: 1.75rem;
letter-spacing: .1rem;
padding-inline: 1rem;
cursor: pointer;
border: none;
}
.select-role:focus {
border: none;
outline: none;
}
.role-select-wrapper::before,
.role-select-wrapper::after {
--size: 0.8rem;
content: "";
position: absolute;
right: 1rem;
pointer-events: none;
z-index: 1000;
}
.role-select-wrapper::after {
border-left: var(--size) solid transparent;
border-right: var(--size) solid transparent;
border-top: var(--size) solid #e0e0e0;
top: 45%;
}
.please-select {
border: 3px solid rgba(209, 47, 47, 0.658) !important;
}
footer {
font-size: 1.2rem;
justify-self: end;
text-align: center;
}
footer a {
color: #ff9c00;
}