Skip to content

Commit 192f7d6

Browse files
Made settings modal more mobile friendly
1 parent acb993e commit 192f7d6

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
@@ -100,10 +100,39 @@ body {
100100
}
101101
}
102102

103+
#settingsForm input {
104+
font-size: 1em;
105+
padding: 1vh 1vw;
106+
width: 100%;
107+
box-sizing: border-box;
108+
}
109+
110+
#settingsForm select {
111+
font-size: 1em;
112+
padding: 1vh 1vw;
113+
width: 100%;
114+
box-sizing: border-box;
115+
border: 1px solid #ccc;
116+
border-radius: 4px;
117+
background-color: #fff;
118+
color: #333;
119+
}
120+
121+
#settingsForm input[type="checkbox"] {
122+
width: auto;
123+
height: auto;
124+
margin: 3;
125+
transform: scale(3);
126+
accent-color: var(--blue);
127+
}
128+
103129
#settingsModal {
104130
color: white;
105131
min-width: 20%;
106-
font-size: 2em;
132+
font-size: calc(1vw + 1vh + 0.5vmin);
133+
padding: 2vmax;
134+
width: 80vw;
135+
max-width: 600px;
107136
background-color: #333333;
108137
z-index: 50;
109138

0 commit comments

Comments
 (0)