Skip to content

Commit 7b34592

Browse files
authored
Merge pull request #1281 from 414owen/os/input-padding-and-colour
style: Apply input padding ~and color tweaks~
2 parents bec983d + d9ed57d commit 7b34592

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

datafiles/static/hackage.css

+20-2
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,28 @@ h4 { font-size: 100%; /* 13px */ }
117117
h5 { font-size: 100%; /* 13px */ }
118118
h6 { font-size: 100%; /* 13px */ }
119119

120-
select, input, button, textarea {
120+
select, input, button, textarea, input::file-selector-button {
121121
font-size: 1rem;
122122
margin: 0.5em;
123-
padding: 0.1em;
123+
padding: 0.5em 0.8em;
124+
border: 1px solid #444;
125+
border-radius: 3px;
126+
background: #eee;
127+
}
128+
129+
select:hover, input:hover, button:hover, textarea:hover, input::file-selector-button:hover {
130+
background: #dcdcdc;
131+
}
132+
133+
input[type=file] {
134+
background: none;
135+
border: 0;
136+
}
137+
138+
@media (prefers-color-scheme: dark) {
139+
select, input, button, textarea, input::file-selector-button {
140+
border: 0;
141+
}
124142
}
125143

126144
table {

0 commit comments

Comments
 (0)