aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-07-11 12:42:11 +0200
committerMario Vavti <mario@mariovavti.com>2015-07-11 12:42:11 +0200
commitd8e7f36c74a4ebff25d3997f5543b08faa00a496 (patch)
tree1457504e47a5c024847812d1f494e37a3dadd23a /view
parentedb3d970cacc1cff7bc42ad2ed25637a89bd4ca1 (diff)
downloadvolse-hubzilla-d8e7f36c74a4ebff25d3997f5543b08faa00a496.tar.gz
volse-hubzilla-d8e7f36c74a4ebff25d3997f5543b08faa00a496.tar.bz2
volse-hubzilla-d8e7f36c74a4ebff25d3997f5543b08faa00a496.zip
revert moving section and aside padding to style.css - it brings trouble to other layouts
Diffstat (limited to 'view')
-rw-r--r--view/css/default.css14
-rw-r--r--view/theme/redbasic/css/style.css5
2 files changed, 14 insertions, 5 deletions
diff --git a/view/css/default.css b/view/css/default.css
index e1edc2cbf..f0c89a087 100644
--- a/view/css/default.css
+++ b/view/css/default.css
@@ -17,6 +17,7 @@ main {
aside {
display: table-cell;
vertical-align: top;
+ padding: 80px 7px 0px 7px;
}
@@ -24,4 +25,17 @@ section {
width: 100%;
display: table-cell;
vertical-align: top;
+ padding: 80px 7px 200px 7px;
+}
+
+@media screen and (max-width: 767px) {
+
+ section {
+ padding: 65px 7px 200px 7px;
+ }
+
+ aside#region_1 {
+ padding: 65px 7px 0px 7px;
+ }
+
}
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index a44cf331c..3c812d8bc 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -28,17 +28,12 @@ aside#region_1 {
width: $aside_widthpx;
min-width: $aside_widthpx;
max-width: $aside_widthpx;
- padding: 80px 7px 0px 7px;
}
main {
max-width: $main_widthpx;
}
-section {
- padding: 80px 7px 200px 7px;
-}
-
h1, .h1, h2, .h2 {
font-size: 1.667em;
}