-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
200 lines (166 loc) · 3.66 KB
/
index.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main-div {
background-color: hsla(192, 79%, 45%, 0.518);
width: 100vw;
min-height: 100vh;
display: grid;
place-items: center;
}
.inner-div {
width: 80vw;
max-width: 600px; /* Limiting the maximum width to maintain readability */
height: auto;
background-color: #bebed7;
padding: 3rem 2rem; /* Reduced padding for smaller screens */
box-shadow: 0rem 1rem 1rem 0rem black;
border-radius: 30px;
}
.inner-div h2 {
font-size: 2rem;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-weight: 400;
margin: 1rem 0 1.5rem 0;
}
.inner-div li {
font-size: 2rem;
margin-top: 1rem;
list-style: none;
font-style: unset;
}
input {
cursor: pointer;
}
#submit,
.btn {
padding: 1rem 1rem;
outline: none;
display: block;
margin: auto;
font-size: large;
border-radius: 15px;
border: none;
color: #ffff;
background-color: #0a8b44;
margin-top: 2rem; /* Slightly reduced margin for smaller screens */
}
#submit:hover {
background-color: #000000;
}
#showscore {
background-color: rgba(112, 142, 14, 0.344);
margin-top: 2rem; /* Slightly reduced margin for smaller screens */
padding: 2rem;
box-shadow: 0rem 1rem 1rem 0rem black;
}
#showscore h3 {
font-size: 1rem;
text-align: center;
}
#showscore .btn {
font-size: 0.8rem; /* Increased font size for smaller screens */
margin-top: 1rem;
background-color: rgb(29, 5, 62);
}
#showscore .btn:hover {
background-color: rgba(124, 76, 28, 0.684);
color: rgb(203, 200, 12);
}
.Scorearea {
display: none;
}
/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
.inner-div {
padding: 2rem; /* Adjusted padding for smaller screens */
}
.inner-div h2 {
font-size: 1.8rem; /* Reduced font size for smaller screens */
}
.inner-div li {
font-size: 1.8rem; /* Reduced font size for smaller screens */
}
#submit,
.btn {
padding: 0.8rem 1rem; /* Adjusted padding for smaller screens */
}
#showscore .btn {
font-size: 0.7rem; /* Further reduced font size for smaller screens */
}
}
/* *{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.main-div{
background-color: hsla(192, 79%, 45%, 0.518);
width: 100vw;
min-height: 100vh;
display: grid;
place-items: center;
}
.inner-div{
width: 80vw;
height: 95vh;
background-color: #bebed7;
padding: 3rem 8rem;
box-shadow: 0rem 1rem 1rem 0rem black;
border-radius: 30px;
}
.inner-div h2 {
font-size: 2rem;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-weight: 400;
margin: 1rem 0 1.5rem 0;
}
.inner-div li {
font-size: 2rem;
margin-top: 1rem;
list-style: none;
font-style: unset;
}
input {
cursor: pointer;
}
#submit,
.btn {
padding: 1rem 1rem;
outline: none;
display: block;
margin: auto;
font-size: large;
border-radius: 15px;
border: none;
color: #ffff;
background-color: #0a8b44;
margin-top: 3rem;
}
#submit:hover {
background-color: #000000;
}
#showscore{
background-color: rgba(112, 142, 14, 0.344);
margin-top: 1rem;
margin-left: 0rem;
box-shadow: 0rem 1rem 1rem 0rem black;
}
#showscore h3{
font-size: 1rem;
text-align: center;
}
#showscore .btn {
font-size: 0.5rem;
margin-top: 1rem;
background-color: rgb(29, 5, 62);
}
#showscore .btn:hover {
background-color: rgba(124, 76, 28, 0.684);
color: rgb(203, 200, 12);
}
.Scorearea{
display: none;
} */