Index: static/scss/layout/_body.scss |
=================================================================== |
--- a/static/scss/layout/_body.scss |
+++ b/static/scss/layout/_body.scss |
@@ -35,17 +35,51 @@ |
.wrapper |
juliandoucette
2017/08/30 11:33:06
NIT: Wouldn't it would be simpler to just add marg
ire
2017/09/25 08:47:35
I modified this slightly to make use of the `conta
|
{ |
width: $content-width; |
max-width: $content-max-width; |
margin-right: auto; |
margin-left: auto; |
} |
+.wrapper-sm |
+{ |
+ width: $tablet-width; |
+ max-width: $content-max-width; |
+ margin-right: auto; |
+ margin-left: auto; |
+} |
+ |
.section |
{ |
margin-bottom: $lg; |
@media (min-width: $mobile-breakpoint) |
{ |
margin-bottom: $xl; |
} |
} |
+ |
+.section-accent |
ire
2017/08/18 12:34:30
These styles are pretty much exclusive to the cont
juliandoucette
2017/08/30 11:33:06
No strong opinion. I think it makes sense to have
ire
2017/09/25 08:47:35
I'll leave it the way it is for now then.
|
+{ |
+ padding-top: $xl; |
+ padding-bottom: $xl; |
+ background-image: url("/img/png/accent-bg.png"); |
+ background-repeat: no-repeat; |
+ background-position: center 0; |
+} |
+ |
+.section-accent a |
juliandoucette
2017/08/30 11:33:06
NIT: I think that these links are link buttons at
ire
2017/09/25 08:47:35
I changed this to a horizontal list, and styled th
|
+{ |
+ display: inline-block; |
+ margin-right: $md; |
+ font-weight: $bold-weight; |
+ text-transform: uppercase; |
+} |
+ |
+[dir="rtl"] |
+{ |
+ .section-accent a |
+ { |
+ margin-right: 0; |
+ margin-left: $md; |
+ } |
+} |