diff options
author | Yurizal Susanto <rizal.sagi@gmail.com> | 2017-06-24 05:30:24 +0300 |
---|---|---|
committer | Yurizal Susanto <rizal.sagi@gmail.com> | 2017-06-24 05:30:24 +0300 |
commit | afc1f366430d838a9b687d983a2d2215b9630061 (patch) | |
tree | c1e7f2e4419249060e846416608f62993c441028 /static | |
parent | e79a5378fc3e571f520fad116f5e29bf32a43e3e (diff) |
Use span selector rather than make new class
Diffstat (limited to 'static')
-rw-r--r-- | static/css/ui.css | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/static/css/ui.css b/static/css/ui.css index e95b0ea..7649ed5 100644 --- a/static/css/ui.css +++ b/static/css/ui.css @@ -512,15 +512,6 @@ footer p { .u-pull-right { float: right; } .u-pull-left { float: left; } -.u-hide-mobile { - display: none; -} -@media (min-width: 40rem) { - .u-hide-mobile { - display: inline-block; - } -} - .u-header { margin-bottom: 1.5rem; } @@ -556,6 +547,24 @@ hr { } } +.to-up { + text-align: center; + font-size: 2rem; +} +@media (min-width: 40rem) { + .to-up { + text-align: right; + } +} +.to-up span { + display: none; +} +@media (min-width: 40rem) { + .to-up span { + display: inline; + } +} + [class^="icon"] { width: 1em; |