From 243a806c929457da831a2527b05353dabecef964 Mon Sep 17 00:00:00 2001 From: jonahmania Date: Mon, 30 Apr 2018 21:56:37 -0400 Subject: [PATCH] Update sidebar style --- frontend/templates/home.html | 80 +++--------------------------- static/scss/home.scss | 91 +++++++++++++++++++++++++++++++++++ static/scss/landingpage4.scss | 2 +- 3 files changed, 100 insertions(+), 73 deletions(-) diff --git a/frontend/templates/home.html b/frontend/templates/home.html index 2afecc42..f4222d40 100755 --- a/frontend/templates/home.html +++ b/frontend/templates/home.html @@ -13,8 +13,11 @@ {% block extra_css %} + + + {% endblock %} {% block extra_js %} @@ -47,7 +50,7 @@ function put_un_in_cookie2(){ {% block content %}
-
+
@@ -189,7 +192,7 @@ function put_un_in_cookie2(){
-
+ - -
-

Latest Ungluing

-
- -
-
-
+

Questions?

Read our general FAQ or Author/Publisher FAQ. diff --git a/static/scss/home.scss b/static/scss/home.scss index e69de29b..082bbb5b 100644 --- a/static/scss/home.scss +++ b/static/scss/home.scss @@ -0,0 +1,91 @@ +@import "variables.scss"; +@import "learnmore2.scss"; +@import "foundation"; + +.js-main-container { + margin-left: auto; + margin-right: auto; + max-width: 960px; +} + +#user-block1 { + #block-intro-text { + float:left; + width:702px; + font-size: $font-size-header; + } + + a#readon { + font-size: $font-size-larger; + } +} + + +@include breakpoint(small only) { + #js-maincol-fl { + display: flex; + flex-direction: column; + } +} + +@include breakpoint(medium up) { + #js-maincol-fl { + display: flex; + #js-main-continer { + flex: 1 84%; + } + + #js-rightcol { + flex: 1 16%; + } + } +} + +#js-main-container { + display: flex; + flex-direction: column; + + .book-detail { + .book-cover { + a { + } + } + } + .spacer { + } + + .featured_books { + + } + div { + } + +} + +#js-rightcol { + .js-rightcol-padd { + background-color: $pale-blue; + padding: 10px; + } +} + +.jsmodule { + margin-bottom: 14px; + .google_signup { + a { + width: 100%; + border-radius: 0px; + border: none; + } + } +} + +.sidebar_button { + margin-bottom: 10px; + input { + width: 100%; + padding: 12px; + border: none; + } + +} diff --git a/static/scss/landingpage4.scss b/static/scss/landingpage4.scss index e1548aab..68370145 100644 --- a/static/scss/landingpage4.scss +++ b/static/scss/landingpage4.scss @@ -393,4 +393,4 @@ ul#as_seen_on { #footer { clear: both; margin-top:30px; -} \ No newline at end of file +}