From b9654908f92b253dbcc192c3ee1d42dd308abf73 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 11 Dec 2012 09:12:57 +0000 Subject: [PATCH 1/1] style fixes --- prawokultury/static/css/entry.css | 3 ++- prawokultury/static/css/entry.scss | 1 + prawokultury/static/css/search.css | 10 ++++++---- prawokultury/static/css/search.scss | 6 ++++-- prawokultury/templates/base.html | 2 +- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/prawokultury/static/css/entry.css b/prawokultury/static/css/entry.css index ea26986..33eb3aa 100644 --- a/prawokultury/static/css/entry.css +++ b/prawokultury/static/css/entry.css @@ -70,7 +70,8 @@ .entry-picture { float: left; - margin-right: 1.5em; } + margin-right: 1.5em; + margin-bottom: 1em; } .submit-link { margin-top: 1em; diff --git a/prawokultury/static/css/entry.scss b/prawokultury/static/css/entry.scss index 62de95a..80917b4 100644 --- a/prawokultury/static/css/entry.scss +++ b/prawokultury/static/css/entry.scss @@ -107,6 +107,7 @@ .entry-picture { float: left; margin-right: 1.5em; + margin-bottom: 1em; } .submit-link { diff --git a/prawokultury/static/css/search.css b/prawokultury/static/css/search.css index 6bc635c..2d40b45 100644 --- a/prawokultury/static/css/search.css +++ b/prawokultury/static/css/search.css @@ -1,8 +1,8 @@ #search-form { - margin-top: .4em; } + margin: .4em 0 0 0; } #search-form input { font-size: 1.1em; - width: 16.1em; + width: 15.1em; padding-left: 1em; border: none; border-radius: 1.5em 0 0 1.5em; @@ -10,7 +10,8 @@ -webkit-border-radius: 1.5em 0 0 1.5em; background: white; color: black; - height: 2em; } + height: 2em; + margin: 0; } #search-form button { font-size: 1.1em; width: 2.7em; @@ -23,6 +24,7 @@ border-radius: 0 1em 1em 0; -moz-border-radius: 0 1em 1em 0; -webkit-border-radius: 0 1em 1em 0; - padding-right: 1em; } + padding-right: 1em; + margin: 0; } #search-form button img { vertical-align: middle; } diff --git a/prawokultury/static/css/search.scss b/prawokultury/static/css/search.scss index 9b9bbe1..7133c89 100644 --- a/prawokultury/static/css/search.scss +++ b/prawokultury/static/css/search.scss @@ -1,9 +1,9 @@ #search-form { - margin-top: .4em; + margin: .4em 0 0 0; input { font-size: 1.1em; - width: 16.1em; + width: 15.1em; padding-left: 1em; border: none; border-radius: 1.5em 0 0 1.5em; @@ -12,6 +12,7 @@ background: white; color: black; height: 2em; + margin: 0; } button { @@ -27,6 +28,7 @@ -moz-border-radius: 0 1em 1em 0; -webkit-border-radius: 0 1em 1em 0; padding-right: 1em; + margin: 0; img { vertical-align: middle; diff --git a/prawokultury/templates/base.html b/prawokultury/templates/base.html index 1430cf9..7eb4c2c 100755 --- a/prawokultury/templates/base.html +++ b/prawokultury/templates/base.html @@ -52,7 +52,7 @@ {% block "main_menu" %} {% main_menu %} {% endblock %} - +
  • {% lang_switcher %}
  • -- 2.20.1