diff options
author | pdp8 <pdp8@pdp8.info> | 2023-06-04 12:02:00 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2023-06-04 12:02:00 +0200 |
commit | 1b51ff391d98dc5ed297b9162fa0e3078840cdc0 (patch) | |
tree | 79d4cca390ecd21327605a93ac45c5a2acd5cbce | |
parent | 74378829ebe3da4d339bdff37a00675bfc12118f (diff) |
css for phone and laptop
-rw-r--r-- | public/style.css | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/public/style.css b/public/style.css index 3e3b1e2..73528ed 100644 --- a/public/style.css +++ b/public/style.css @@ -1,8 +1,9 @@ body { font-family: sans-serif; - font-size: 2em; + font-size: 3vmin; } + img, video { max-width: 100%; @@ -13,7 +14,7 @@ video { } form { - display: inline-block; + display: inline; } button { @@ -22,4 +23,26 @@ button { a { color: #888; +} + +@media (orientation: landscape) { + button { + font-size: 1em; + } +} + +@media (min-width: 1500px) { + body { + font-size: 1.25em; + } +} + +@media (orientation: portrait) and (min-width: 1000px) { + body { + font-size: 1.25em; + } + + button { + font-size: 1em; + } }
\ No newline at end of file |