1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-11 15:45:15 +02:00

Finesse some visuals

This commit is contained in:
Felix
2020-05-28 14:42:14 -05:00
parent 73143be201
commit e56f81eeca
3 changed files with 25 additions and 6 deletions

View File

@@ -3,7 +3,8 @@ select,
input[type='submit'], input[type='submit'],
input[type='button'], input[type='button'],
input[type='checkbox'], input[type='checkbox'],
input[type='range'] { input[type='range'],
input[type='radio'] {
cursor: pointer; cursor: pointer;
} }
@@ -28,6 +29,16 @@ select {
outline: none; outline: none;
} }
input,
label {
vertical-align: top;
}
label {
display: inline-block;
margin-bottom: 4px;
}
input:not([type='checkbox']):not([type='radio']), input:not([type='checkbox']):not([type='radio']),
input[type='range'], input[type='range'],
select, select,
@@ -103,7 +114,7 @@ fieldset {
border: 1px var(--focus) solid; border: 1px var(--focus) solid;
border-radius: 6px; border-radius: 6px;
margin: 0; margin: 0;
margin-bottom: 6px; margin-bottom: 12px;
padding: 10px; padding: 10px;
} }

View File

@@ -14,10 +14,15 @@ table {
width: 100%; width: 100%;
} }
table caption {
text-align: left;
}
td, td,
th { th {
padding: 6px; padding: 6px;
text-align: left; text-align: left;
vertical-align: top;
} }
thead { thead {
@@ -94,8 +99,11 @@ summary::-webkit-details-marker {
} }
footer { footer {
border-top: 1px solid var(--background); border-top: 1px solid var(--border);
padding-top: 10px; padding-top: 10px;
font-size: 0.8em;
color: var(--text-muted); color: var(--text-muted);
} }
body > footer {
margin-top: 40px;
}

View File

@@ -2,13 +2,13 @@
--background-body: #202b38; --background-body: #202b38;
--background: #161f27; --background: #161f27;
--background-alt: #1a242f; --background-alt: #1a242f;
--selection: #161f27; --selection: #1c76c5;
--text-main: #dbdbdb; --text-main: #dbdbdb;
--text-bright: #fff; --text-bright: #fff;
--text-muted: #717880; --text-muted: #717880;
--links: #41adff; --links: #41adff;
--focus: #0096bfab; --focus: #0096bfab;
--border: #dbdbdb; --border: #526980;
--code: #ffbe85; --code: #ffbe85;
--animation-duration: 0.1s; --animation-duration: 0.1s;
--button-hover: #324759; --button-hover: #324759;