X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=blobdiff_plain;f=style.css;h=bc611e5a16587f895e37be0864c5f6cc2b483454;hp=877ef5980b7340d1453a2107cf6f0c76349f1f82;hb=11b1bab7b7ab4bc2c1e1f556a526baf1f01e2041;hpb=bcc27fd33ea930e8f22d9d8689b7c95cf04b3bd7 diff --git a/style.css b/style.css index 877ef59..bc611e5 100644 --- a/style.css +++ b/style.css @@ -23,6 +23,7 @@ --accent-color: #287789; --accent-color-bright: #44c7ef; --text-fg-on-accent: white; + --text-fg-on-accent-bright: #333738; /* Some colors intended to convey semnatics. */ --warning-color: #ffa92a; @@ -50,6 +51,7 @@ body { h1,h2 { color: var(--text-fg-color); font-weight: bold; + margin-top: 0.5em; } h1 { @@ -81,13 +83,19 @@ a:link { a:visited { color: var(--accent-color); } -a:hover { - color: var(--accent-color-bright); +@media (hover:hover) { + a:hover { + color: var(--accent-color-bright); + } } a:active { color: var(--accent-color-bright); } +strong { + font-weight: bold; +} + /*\ |*| |*| Overall page layout @@ -212,6 +220,11 @@ form { grid-column-gap: 1em; } +.form-field { + margin-top: 0.25em; + margin-bottom: 0.25em; +} + .form-field.small.left,.form-field.medium.left { grid-column-start: 1; } @@ -278,9 +291,11 @@ button.inline { width: auto; } -button:hover { - transform: translateY(-1px); - background-color: var(--accent-color-bright); +@media (hover:hover) { + button:hover { + transform: translateY(-1px); + background-color: var(--accent-color-bright); + } } :focus { @@ -323,6 +338,7 @@ button:hover { .hide-button { color: white; + opacity: 0.5; font-size: 125%; font-weight: bold; cursor: pointer; @@ -331,8 +347,10 @@ button:hover { top: 0; } -.hide-button:hover { - color: var(--danger-color-dark); +@media (hover:hover) { + .hide-button:hover { + opacity: 1.0; + } } /*\