-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
82 lines (71 loc) · 2.18 KB
/
Copy pathindex.css
File metadata and controls
82 lines (71 loc) · 2.18 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
/* Default styles for #glass */
#glass {
padding: 2%;
display: flex;
justify-content: center;
align-items: center;
width: 50rem;
height: 70px;
margin: 0 auto; /* Center the element horizontally */
max-width: 100%; /* Ensure it doesn't overflow on smaller screens */
background: rgba(33, 211, 160, 0.45);
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
backdrop-filter: blur(10.5px);
-webkit-backdrop-filter: blur(10.5px);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.18);
}
/* Styles for #Cm, #fa, and #KEL */
#Cm, #fa, #KEL {
width: 8rem;
}
/* Styles for #CG, #F, and #kel */
#CG, #F, #kel {
padding: 5px;
margin: 3px;
}
/* Styles for buttons */
button {
/* Your button styles here */
padding: 5px 10px; /* Adjust padding for better touch interaction */
font-size: 14px; /* Slightly increase font size for readability */
/* Ensure buttons take up full width on smaller screens */
width: 10%;
margin: 3px; /* Add spacing between buttons vertically */
}
/* Styles for h1 */
h1 {
/* Your h1 styles here */
text-align: center; /* Center the heading text */
margin: 20px auto; /* Center the heading horizontally with some top margin */
font-size: 24px; /* Increase font size for better readability on smaller screens */
}
/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
/* Adjust styles for #glass, buttons, and h1 */
#glass {
width: 100%; /* Make the #glass element slightly narrower on small screens */
}
button {
font-size: 12px; /* Further reduce font size for smaller screens */
}
h1 {
font-size: 20px; /* Reduce font size for smaller screens */
}
}
@media (max-width: 428px) {
/* Adjust styles for #glass, buttons, and h1 */
#glass {
display:grid;
width: 50%;
height: 50%; /* Make the #glass element slightly narrower on small screens */
}
button {
width:50%;
padding: 2%;
/* Further reduce font size for smaller screens */
}
h1 {
font-size: 12px; /* Reduce font size for smaller screens */
}
}