forked from ankitkat042/ThalaForAReason
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
216 lines (191 loc) · 4.41 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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
/* Reset styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body styles */
body {
font-family: "Roboto", sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f4f6f8;
margin: 0;
padding: 20px; /* Added padding for responsiveness */
}
/* Container styles */
#container {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 50%; /* Adjusted width for responsiveness */
max-width: 600px; /* Added maximum width */
border-radius: 10px;
background-color: white;
padding: 20px;
overflow: hidden;
}
/* Heading styles */
h1 {
color: #333;
text-align: center;
margin-top: 20px;
margin-bottom: 20px; /* Reduced margin for responsiveness */
font-size: 1.8em; /* Increased font size for larger screens */
}
/* Tabs styles */
#tabs {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
border-bottom: 2px solid #dee2e6;
flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
}
.tab {
padding: 10px 20px;
cursor: pointer;
border: none;
background-color: grey;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
margin-bottom: 10px; /* Added margin between tabs */
}
.tab.active,
.tab:hover {
background-color: #007bff;
color: white;
}
/* TabContent styles */
.tabContent {
text-align: center;
padding: 20px;
overflow-y: auto;
max-height: 300px; /* Added maximum height for smaller screens */
}
/* Input and button styles */
.tabContent input[type="text"],
.tabContent button {
margin: 10px 0; /* Adjusted margins for better spacing */
width: calc(100% - 20px); /* Adjusted width for smaller screens */
max-width: 100%; /* Set maximum width */
box-sizing: border-box; /* Ensure full width including padding */
}
input[type="text"],
button {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
transition: border-color 0.3s;
box-sizing: border-box; /* Ensure full width including padding */
}
input[type="text"]:focus {
border-color: #007bff;
}
button {
margin-top: 20px;
background-color: #28a745;
color: white;
cursor: pointer;
border-radius: 20px;
transition: background-color 0.3s;
}
button:hover {
background-color: #218838;
}
/* Media query for smaller screens */
@media only screen and (max-width: 768px) {
#container {
width: 100%; /* Adjusted width for smaller screens */
}
h1 {
font-size: 1.5em;
margin-bottom: 10px;
}
.tab {
font-size: 0.9em;
margin-bottom: 5px;
}
.tabContent input[type="text"],
.tabContent button {
width: 100%; /* Full width for smaller screens */
}
}
body {
font-family: "roboto", sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #3498db, #9b59b6);
}
canvas#confetti {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 1000;
pointer-events: none;
}
/* CSS */
.button-53 {
background-color: #3dd1e7;
border: 0 solid #e5e7eb;
box-sizing: border-box;
color: #000000;
display: flex;
font-family: ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI",
Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1rem;
font-weight: 700;
justify-content: center;
line-height: 1.75rem;
padding: 0.75rem 1.65rem;
position: relative;
text-align: center;
text-decoration: none #000000 solid;
text-decoration-thickness: auto;
width: 100%;
max-width: 460px;
position: relative;
cursor: pointer;
transform: rotate(-2deg);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
}
.button-53:focus {
outline: 0;
}
.button-53:after {
content: "";
position: absolute;
border: 1px solid #000000;
bottom: 4px;
left: 4px;
width: calc(100% - 1px);
height: calc(100% - 1px);
}
.button-53:hover:after {
bottom: 2px;
left: 2px;
}
@media (min-width: 768px) {
.button-53 {
padding: 0.75rem 3rem;
font-size: 1.25rem;
}
}
.separator {
width: 100%;
height: 1px;
background: var(--jet);
margin: 16px 0;
}
li {
list-style: none;
}