diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-02-18 00:23:20 -0800 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2019-02-18 00:23:20 -0800 |
commit | 9baec9aec294656fb632123906b4ac6a712267ba (patch) | |
tree | 0dff55723b3503bfc81f17bfe1d10a8f4298d56f /app.scss | |
parent | e41196e76e6b184fc918fb44adc9af0ff3fdae30 (diff) | |
download | homer-9baec9aec294656fb632123906b4ac6a712267ba.tar.gz homer-9baec9aec294656fb632123906b4ac6a712267ba.tar.zst homer-9baec9aec294656fb632123906b4ac6a712267ba.zip |
Add offline cache + improve layout
Diffstat (limited to 'app.scss')
-rw-r--r-- | app.scss | 23 |
1 files changed, 20 insertions, 3 deletions
@@ -6,7 +6,7 @@ html { height: 100%; } | |||
6 | body { | 6 | body { |
7 | font-family: 'Raleway', sans-serif; | 7 | font-family: 'Raleway', sans-serif; |
8 | background-color: #F5F5F5; | 8 | background-color: #F5F5F5; |
9 | height: 100%; | 9 | min-height: 100%; |
10 | 10 | ||
11 | h1, h2, h3, h4, h5, h6 { | 11 | h1, h2, h3, h4, h5, h6 { |
12 | font-family: 'Lato', sans-serif; | 12 | font-family: 'Lato', sans-serif; |
@@ -109,7 +109,7 @@ body { | |||
109 | text-overflow: ellipsis; | 109 | text-overflow: ellipsis; |
110 | } | 110 | } |
111 | 111 | ||
112 | .column { | 112 | .container { |
113 | padding: 1.2rem .75rem; | 113 | padding: 1.2rem .75rem; |
114 | } | 114 | } |
115 | 115 | ||
@@ -136,7 +136,7 @@ body { | |||
136 | background-color: $secondary-color; | 136 | background-color: $secondary-color; |
137 | position: absolute; | 137 | position: absolute; |
138 | top: 1rem; | 138 | top: 1rem; |
139 | right: -0.3rem; | 139 | right: -0.2rem; |
140 | width: 3px; | 140 | width: 3px; |
141 | overflow: hidden; | 141 | overflow: hidden; |
142 | transition: all 0.2s ease-out; | 142 | transition: all 0.2s ease-out; |
@@ -213,4 +213,21 @@ body { | |||
213 | } | 213 | } |
214 | } | 214 | } |
215 | 215 | ||
216 | .offline-message { | ||
217 | text-align: center; | ||
218 | margin: 35px 0; | ||
219 | |||
220 | i { | ||
221 | font-size: 2rem; | ||
222 | } | ||
223 | |||
224 | i.fa-redo-alt { | ||
225 | font-size: 1.3rem; | ||
226 | line-height: 1rem; | ||
227 | vertical-align: middle; | ||
228 | cursor: pointer; | ||
229 | color: #3273dc; | ||
230 | } | ||
231 | } | ||
232 | |||
216 | } | 233 | } |