diff --git a/.gitignore b/.gitignore index 494087f..41eb940 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ pom.xml.asc .lein-env .nrepl-port smeagol.log* -/node_modules/ \ No newline at end of file +/node_modules/ +.DS_Store diff --git a/project.clj b/project.clj index a5a784c..5b3236a 100644 --- a/project.clj +++ b/project.clj @@ -32,7 +32,7 @@ [lein-ancient "0.5.5" :exclusions [org.clojure/clojure org.clojure/data.xml]] [lein-marginalia "0.7.1" :exclusions [org.clojure/clojure]] [io.sarnowski/lein-docker "1.1.0"]] - :bower-dependencies [[simplemde "1.11.2"]["bootstrap" "3.3.7"]] + :bower-dependencies [[simplemde "1.11.2"]] :docker {:image-name "simonbrooke/smeagol" :dockerfile "Dockerfile"} :ring {:handler smeagol.handler/app diff --git a/resources/public/content/stylesheet.css b/resources/public/content/stylesheet.css index a99315b..a9d64f9 100644 --- a/resources/public/content/stylesheet.css +++ b/resources/public/content/stylesheet.css @@ -82,6 +82,12 @@ header h1 { margin-top: 0; } +img { + border: 0; + padding: 0; + vertical-align: middle; +} + input { background-color: white; } @@ -302,7 +308,13 @@ th { /* tablets, primarily. Adapted to touch; targets are larger */ @media all and (min-device-width: 769px) and (max-device-width: 1024px) { -/* content of the current in the Wiki - editable, provided by users. Within main-container */ + h1 { + /* I wouldn't normally use a px value, but the menu icon is 49px wide */ + padding: 0.25em 5%; + padding-left: 100px; + } + + /* content of the current page in the Wiki - editable, provided by users. Within main-container */ #content { border: thin solid silver; width: 80%; @@ -315,39 +327,48 @@ th { padding: 0; position: fixed; z-index: 149; - background:rgba(40,40,40,0.8); - font-size: larger; + color: silver; + background:rgba(40,40,40,0.9); } - #nav:hover #nav-menu { - display: inline; - } - - #nav-icon { - padding: 0.25em; - float: left; - } - - #nav-menu { - display: none; - } - - #nav ul li { - padding: 0; - margin: 0; - display: inline; - } - - #nav ul li a { + #nav a { color: white; text-decoration: none; font-weight: bold; - padding: 0.1em 0.75em; - margin: 0; } + + #nav:hover #nav-menu { + display: block; + list-style-type: none; + width: 100%; + } + + #nav-icon { + padding: 0; + } + + #nav-menu, #phone-side-bar { + display: none; + } + + #nav menu li { + padding: 0.5em; + margin: 0.5 em; + font-size: 150%; + } + + #nav menu li a { + } + #nav ul li.active a { background: silver;} li.nav-item a:hover { background: rgb( 240, 240, 240) } li.nav-item a:active { background: gray; color: white; } + + #nav menu #user { + text-decoration: none; + font-weight: bold; + margin: 0; + } } /* phones, and, indeed, smaller phones. Adapted to touch; display radically @@ -360,6 +381,7 @@ th { h1 { /* I wouldn't normally use a px value, but the menu icon is 49px wide */ padding: 0.25em 5%; + padding-left: 100px; text-align: right; } @@ -388,7 +410,6 @@ th { z-index: 149; color: silver; background:rgba(40,40,40,0.9); - font-size: 200%; } #nav a { diff --git a/resources/public/img/three-lines.png b/resources/public/img/three-lines.png index a46f20e..c7895a9 100644 Binary files a/resources/public/img/three-lines.png and b/resources/public/img/three-lines.png differ diff --git a/resources/templates/base.html b/resources/templates/base.html index 146e193..c6c5f56 100644 --- a/resources/templates/base.html +++ b/resources/templates/base.html @@ -5,11 +5,8 @@ - - - {% block extra-headers %} {% endblock %} @@ -18,7 +15,7 @@