diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2018-09-13 14:01:52 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2018-09-13 14:01:52 +0200 |
commit | 9be85ca6fa2398d285120ee2ff25e807faa7de45 (patch) | |
tree | 49a218c51f91e58cfc509e9bd829f87a1320f7ca /public | |
parent | b8ab84a216a178fb23da7177385dfc2318b1217c (diff) | |
download | norsk-urskog-registrations-9be85ca6fa2398d285120ee2ff25e807faa7de45.tar.gz norsk-urskog-registrations-9be85ca6fa2398d285120ee2ff25e807faa7de45.tar.bz2 norsk-urskog-registrations-9be85ca6fa2398d285120ee2ff25e807faa7de45.zip |
Add mobile stylesheet for devices with narrow screens.
Diffstat (limited to 'public')
-rw-r--r-- | public/mobile-styles.css | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/public/mobile-styles.css b/public/mobile-styles.css new file mode 100644 index 0000000..11cb3da --- /dev/null +++ b/public/mobile-styles.css @@ -0,0 +1,79 @@ +body { + color: #afafaf; + background-color: #131a1a; +} + +h1, h2, h3 { + color: #ccc; +} + +a { + color: #7fb0c7; + text-decoration: none; +} + +a:hover { + color: #99b0d7; + text-decoration: underline; +} + +label { + display: block; +} + +.required label:after, +.required:empty:after { + content: "* "; + color: #ff4f4f; + vertical-align: top; +} + +input[type=text], +input[type=time] { + border: 0; +} + +textarea { + border: 1px dashed slategray; + margin-top: 5px; + margin-bottom: 5px; +} + +input[type=text], input[type=time], textarea { + border-bottom: 1px solid darkslateblue; + background-color: #afafaf; + color: #11163f; + font-size: large; + padding: 1mm; +} + +input[type=text], textarea { + width: 100%; +} + +.postcode input[type=text] { + width: 50%; +} + +.song-details { + margin-top: 2mm; +} + +.field { + padding: 1mm; +} + +.help { + font-size: small; +} + +.error { + background-color: #A81B1B; + color: #D1D1D1; + padding: 2mm; +} + +.error .error-heading { + font-size: 110%; + color: whitesmoke; +} |