Skip to content

Commit 08072eb

Browse files
committed
Update form styles
1 parent 5015c22 commit 08072eb

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

assets/css/main.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ button,
255255
.button {
256256
display: block;
257257
width: 100%;
258-
padding: .5em;
258+
padding: .5em .9em;
259259
border: 1px solid var(--color-accent);
260260
margin-top: 1em;
261261
background: none;
@@ -317,16 +317,23 @@ form:has(> input:only-of-type + button) {
317317
}
318318

319319
form:has(> input:only-of-type + button) > input:only-of-type {
320-
width: 70%;
320+
width: 100%;
321321
padding: .5em .9em;
322322
border: 1px solid;
323+
border-right: 0;
323324
margin-top: 0
324325
}
325326

326327
form:has(> input:only-of-type + button) > button {
327-
width: 30%;
328+
width: auto;
328329
border-left: 0;
329-
margin-top: 0
330+
margin-top: 0;
331+
text-align: right
332+
}
333+
334+
form:has(> input:only-of-type + button) > button:hover {
335+
background: var(--color-primary);
336+
color: var(--color-accent-2)
330337
}
331338

332339
summary {

0 commit comments

Comments
 (0)