Skip to content

Commit

Permalink
style: Apply input padding spacing tweaks
Browse files Browse the repository at this point in the history
This adds some padding to inputs, giving them
a bit of a sense of space.
  • Loading branch information
414owen committed Jun 24, 2024
1 parent 9b8be6f commit d9ed57d
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 d9ed57d

Please sign in to comment.