diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-05-23 13:41:57 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-05-23 13:41:57 -0400 |
commit | 86bc091f21911eee328514534af88973b4922063 (patch) | |
tree | e2db1bc1202ba5d0b5e36dc8bcfe7791b75ba3d1 /assets/css | |
parent | 14c2998c4ac0a56857014fb8b4d403b52dbc686e (diff) |
Improve responsive design
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/app.css | 48 |
1 files changed, 47 insertions, 1 deletions
diff --git a/assets/css/app.css b/assets/css/app.css index fcfe6b1a..cf533161 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -83,6 +83,7 @@ td { padding-bottom: 0.5em; padding-left: 3px; padding-right: 3px; + vertical-align: top; } th { @@ -420,7 +421,7 @@ header { header ul { text-align: right; - font-size: 90%; + font-size: 0.9em; } header li { @@ -932,3 +933,48 @@ tr td.task-orange, padding: 15px; background: #fff; } + +/* responsive design */ +@media only screen and (min-width : 600px) and (max-width : 1024px) { + + .hide-tablet { + display: none; + } + + .form-column { + float: none; + margin: 0; + padding: 0; + } + + #board { + font-size: 0.85em; + } + + .project-menu { + font-size: 0.7em; + } + + table input[type="text"] { + width: 200px; + } +} + +@media only screen and (max-width : 600px) { + + header { + font-size: 0.8em; + } + + .project-menu { + display: none; + } + + #board { + margin-top: 10px; + } + + .task-board .task-score { + display: none; + } +} |