diff options
| author | 2014-09-30 19:45:49 +0200 | |
|---|---|---|
| committer | 2014-09-30 19:45:49 +0200 | |
| commit | 0d5a1f3a659b6f407b47859c794a662075e3f48e (patch) | |
| tree | 1259ccf51a2145cf85e4a31dc9b5b748c2a891a9 /p/themes/base-theme/template.css | |
| parent | dc714d3949373b79344438335cfc0edde77de036 (diff) | |
Improve design of .box
See https://github.com/marienfressinaud/FreshRSS/issues/646
Diffstat (limited to 'p/themes/base-theme/template.css')
| -rw-r--r-- | p/themes/base-theme/template.css | 51 |
1 files changed, 34 insertions, 17 deletions
diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 792eac299..a5a29ab23 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/template.css @@ -280,6 +280,40 @@ a.btn { width: 100px; } +/*=== Boxes */ +.box { + display: inline-block; + width: 20rem; + max-width: 95%; + margin: 20px 10px; + border: 1px solid #ccc; + vertical-align: top; +} +.box .box-title { + font-size: 1.2rem; + font-weight: bold; + text-align: center; +} +.box .box-title form { + margin: 0; +} +.box .box-content { + display: block; + overflow: auto; +} +.box .box-content .item { + display: block; +} + +.box .box-content-centered { + padding: 30px 5px; + text-align: center; +} +.box .box-content-centered .btn { + margin: 20px 0 0; +} + + /*=== STRUCTURE */ /*===============*/ /*=== Header */ @@ -585,23 +619,6 @@ br + br + br { } /* TODO </delete */ -.box { - display: inline-block; - width: 19em; - max-width: 95%; - margin: 20px 10px; - border: 1px solid #ccc; - vertical-align: top; -} -.box .box-content { - display: block; - overflow: auto; -} -.box .box-content .item { - width: 19em; - max-width: 90%; -} - /*=== Panel */ #overlay { display: none; |
