From a2cb7d5180effb59463b3b99f5b64a5d1fe10b14 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Wed, 6 Jul 2016 07:36:24 -0600 Subject: [PATCH] Some restructuring and started styling dictionary column --- css/lexiconga.css | 2 +- css/mobile.css | 16 +++++++++++++--- css/styles.css | 6 +++++- index.php | 8 ++++---- js/publicView.js | 2 +- 5 files changed, 24 insertions(+), 10 deletions(-) diff --git a/css/lexiconga.css b/css/lexiconga.css index 813aecc..59ea3fb 100644 --- a/css/lexiconga.css +++ b/css/lexiconga.css @@ -90,7 +90,7 @@ input, textarea, select, option { background: #c0c088; } -#dictionaryContainer { +#dictionaryContent { background: #bd7251; padding: 15px; border: none; diff --git a/css/mobile.css b/css/mobile.css index 0b5a9fe..0362a34 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -1,6 +1,6 @@ /* Smartphones (portrait and landscape) ----------- */ @media only screen -and (max-device-width : 480px) { +and (max-device-width : 910px) { body { font-size: 11pt; } @@ -66,8 +66,18 @@ and (max-device-width : 480px) { margin: 0px auto; } - #dictionaryContainer { - margin-bottom: 15px !important; + #dictionaryContent { + width: 100%; + margin: 0 auto; + padding: 15px; + } + + #dictionaryContent { + padding: 15px; + } + + #dictionaryDescription { + margin: 0; } #formLockButton { diff --git a/css/styles.css b/css/styles.css index abd1528..28660ad 100644 --- a/css/styles.css +++ b/css/styles.css @@ -177,10 +177,14 @@ input[type=checkbox] { #dictionaryContainer { margin: 15px 0 36px 15px; /* bottom margin must clear footer */ + padding: 0; + float: left; +} + +#dictionaryContent { width: 60%; min-width: 260px; max-width: 800px; - float: left; } #dictionaryName { diff --git a/index.php b/index.php index 2be560c..93c0bac 100644 --- a/index.php +++ b/index.php @@ -119,8 +119,8 @@ if ($display_mode != "build") { - +
@@ -192,7 +192,7 @@ if ($display_mode != "build") { -
+
Settings @@ -246,7 +246,7 @@ if ($display_mode != "build") {
-
+