Skip to content

Commit

Permalink
Merge pull request #1281 from 414owen/os/input-padding-and-colour
Browse files Browse the repository at this point in the history
style: Apply input padding ~and color tweaks~
  • Loading branch information
ysangkok authored Jun 25, 2024
2 parents bec983d + d9ed57d commit 7b34592
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions datafiles/static/hackage.css
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,28 @@ h4 { font-size: 100%; /* 13px */ }
h5 { font-size: 100%; /* 13px */ }
h6 { font-size: 100%; /* 13px */ }

select, input, button, textarea {
select, input, button, textarea, input::file-selector-button {
font-size: 1rem;
margin: 0.5em;
padding: 0.1em;
padding: 0.5em 0.8em;
border: 1px solid #444;
border-radius: 3px;
background: #eee;
}

select:hover, input:hover, button:hover, textarea:hover, input::file-selector-button:hover {
background: #dcdcdc;
}

input[type=file] {
background: none;
border: 0;
}

@media (prefers-color-scheme: dark) {
select, input, button, textarea, input::file-selector-button {
border: 0;
}
}

table {
Expand Down

0 comments on commit 7b34592

Please sign in to comment.