diff options
Diffstat (limited to 'app.scss')
-rw-r--r-- | app.scss | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -81,6 +81,14 @@ $theme-dark: ( | |||
81 | } | 81 | } |
82 | } | 82 | } |
83 | 83 | ||
84 | |||
85 | @mixin ellipsis() { | ||
86 | white-space: nowrap; | ||
87 | overflow: hidden; | ||
88 | text-overflow: ellipsis; | ||
89 | } | ||
90 | |||
91 | |||
84 | html { | 92 | html { |
85 | height: 100%; | 93 | height: 100%; |
86 | } | 94 | } |
@@ -205,17 +213,17 @@ body { | |||
205 | h2 { | 213 | h2 { |
206 | border-bottom: 1px dashed #ccc; | 214 | border-bottom: 1px dashed #ccc; |
207 | padding-bottom: 10px; | 215 | padding-bottom: 10px; |
216 | @include ellipsis(); | ||
208 | } | 217 | } |
209 | 218 | ||
210 | .title { | 219 | .title { |
211 | font-size: 1.1em; | 220 | font-size: 1.1em; |
221 | @include ellipsis(); | ||
212 | } | 222 | } |
213 | 223 | ||
214 | .subtitle { | 224 | .subtitle { |
215 | font-size: .9em; | 225 | font-size: .9em; |
216 | white-space: nowrap; | 226 | @include ellipsis(); |
217 | overflow: hidden; | ||
218 | text-overflow: ellipsis; | ||
219 | } | 227 | } |
220 | 228 | ||
221 | .container { | 229 | .container { |
@@ -237,7 +245,8 @@ body { | |||
237 | } | 245 | } |
238 | 246 | ||
239 | .media-content { | 247 | .media-content { |
240 | overflow: inherit; | 248 | overflow: hidden; |
249 | text-overflow: inherit; | ||
241 | } | 250 | } |
242 | 251 | ||
243 | .tag { | 252 | .tag { |