Skip to content

Commit 5d67335

Browse files
Merge pull request #32 from Ujjwal-Singh-20/issue-#29
Made settings modal more mobile friendly
2 parents 5e1b41c + 192f7d6 commit 5d67335

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

css/style.css

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,39 @@ body {
107107
}
108108
}
109109

110+
#settingsForm input {
111+
font-size: 1em;
112+
padding: 1vh 1vw;
113+
width: 100%;
114+
box-sizing: border-box;
115+
}
116+
117+
#settingsForm select {
118+
font-size: 1em;
119+
padding: 1vh 1vw;
120+
width: 100%;
121+
box-sizing: border-box;
122+
border: 1px solid #ccc;
123+
border-radius: 4px;
124+
background-color: #fff;
125+
color: #333;
126+
}
127+
128+
#settingsForm input[type="checkbox"] {
129+
width: auto;
130+
height: auto;
131+
margin: 3;
132+
transform: scale(3);
133+
accent-color: var(--blue);
134+
}
135+
110136
#settingsModal {
111137
color: white;
112138
min-width: 20%;
113-
font-size: 2em;
139+
font-size: calc(1vw + 1vh + 0.5vmin);
140+
padding: 2vmax;
141+
width: 80vw;
142+
max-width: 600px;
114143
background-color: #333333;
115144
z-index: 50;
116145

0 commit comments

Comments
 (0)