diff options
-rw-r--r-- | app/assets/stylesheets/quotes/layout.css.sass | 26 | ||||
-rw-r--r-- | app/views/layouts/quotes.html.haml | 1 |
2 files changed, 15 insertions, 12 deletions
diff --git a/app/assets/stylesheets/quotes/layout.css.sass b/app/assets/stylesheets/quotes/layout.css.sass index 0f4a87f..f620304 100644 --- a/app/assets/stylesheets/quotes/layout.css.sass +++ b/app/assets/stylesheets/quotes/layout.css.sass | |||
@@ -3,11 +3,13 @@ body | |||
3 | background-color: rgb(102,102,102) | 3 | background-color: rgb(102,102,102) |
4 | 4 | ||
5 | #wrap | 5 | #wrap |
6 | width: 80% | ||
7 | margin: 1em auto | ||
8 | background-color: white | 6 | background-color: white |
9 | border: 1px solid black | 7 | border: 1px solid black |
10 | 8 | ||
9 | @media only screen and (min-width: 768px) | ||
10 | width: 80% | ||
11 | margin: 1em auto | ||
12 | |||
11 | #banner | 13 | #banner |
12 | background-color: rgb(153,0,0) | 14 | background-color: rgb(153,0,0) |
13 | font-size: 1.25em | 15 | font-size: 1.25em |
@@ -91,7 +93,6 @@ body | |||
91 | margin: 0.5em 0.75em | 93 | margin: 0.5em 0.75em |
92 | padding: 0 | 94 | padding: 0 |
93 | position: static | 95 | position: static |
94 | width: 100% | ||
95 | .quote-speaker | 96 | .quote-speaker |
96 | font-weight: bold | 97 | font-weight: bold |
97 | color: green | 98 | color: green |
@@ -135,15 +136,16 @@ body | |||
135 | margin: 0.5em | 136 | margin: 0.5em |
136 | textarea | 137 | textarea |
137 | width: 100% | 138 | width: 100% |
138 | #about-left | 139 | @media only screen and (min-width: 768px) |
139 | float: left | 140 | #about-left |
140 | width: 48% | 141 | float: left |
141 | margin-right: 1em | 142 | width: 48% |
142 | #about-right | 143 | margin-right: 1em |
143 | float: right | 144 | #about-right |
144 | width: 48% | 145 | float: right |
145 | margin-left: 1em | 146 | width: 48% |
146 | margin-bottom: 1em | 147 | margin-left: 1em |
148 | margin-bottom: 1em | ||
147 | 149 | ||
148 | #error-messages | 150 | #error-messages |
149 | margin: .5em | 151 | margin: .5em |
diff --git a/app/views/layouts/quotes.html.haml b/app/views/layouts/quotes.html.haml index 37d6847..4a7681e 100644 --- a/app/views/layouts/quotes.html.haml +++ b/app/views/layouts/quotes.html.haml | |||
@@ -9,6 +9,7 @@ | |||
9 | = auto_discovery_link_tag :atom, latest_quotes_url(:atom) | 9 | = auto_discovery_link_tag :atom, latest_quotes_url(:atom) |
10 | = display_meta_tags og: { site_name: "Four Island" } | 10 | = display_meta_tags og: { site_name: "Four Island" } |
11 | %link{rel: "alternate", type: "application/atom+xml", href: latest_quotes_url(:atom)} | 11 | %link{rel: "alternate", type: "application/atom+xml", href: latest_quotes_url(:atom)} |
12 | %meta{name: "viewport", content: "width=device-width, initial-scale=1.0"} | ||
12 | %body | 13 | %body |
13 | #wrap | 14 | #wrap |
14 | %header#banner | 15 | %header#banner |