| Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 // This file is part of help.eyeo.com. | 1 // This file is part of help.eyeo.com. | 
| 2 // Copyright (C) 2017 Eyeo GmbH | 2 // Copyright (C) 2017 Eyeo GmbH | 
| 3 // | 3 // | 
| 4 // help.eyeo.com is free software: you can redistribute it and/or modify | 4 // help.eyeo.com is free software: you can redistribute it and/or modify | 
| 5 // it under the terms of the GNU General Public License as published by | 5 // it under the terms of the GNU General Public License as published by | 
| 6 // the Free Software Foundation, either version 3 of the License, or | 6 // the Free Software Foundation, either version 3 of the License, or | 
| 7 // (at your option) any later version. | 7 // (at your option) any later version. | 
| 8 // | 8 // | 
| 9 // help.eyeo.com is distributed in the hope that it will be useful, | 9 // help.eyeo.com is distributed in the hope that it will be useful, | 
| 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 { | 25 { | 
| 26 padding-top: $lg; | 26 padding-top: $lg; | 
| 27 padding-bottom: $xl; | 27 padding-bottom: $xl; | 
| 28 | 28 | 
| 29 @media (min-width: $mobile-breakpoint) | 29 @media (min-width: $mobile-breakpoint) | 
| 30 { | 30 { | 
| 31 padding-top: $xl; | 31 padding-top: $xl; | 
| 32 } | 32 } | 
| 33 } | 33 } | 
| 34 | 34 | 
| 35 .wrapper | 35 .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
 
 | |
| 36 { | 36 { | 
| 37 width: $content-width; | 37 width: $content-width; | 
| 38 max-width: $content-max-width; | 38 max-width: $content-max-width; | 
| 39 margin-right: auto; | 39 margin-right: auto; | 
| 40 margin-left: auto; | 40 margin-left: auto; | 
| 41 } | 41 } | 
| 42 | 42 | 
| 43 .wrapper-sm | |
| 44 { | |
| 45 width: $tablet-width; | |
| 46 max-width: $content-max-width; | |
| 47 margin-right: auto; | |
| 48 margin-left: auto; | |
| 49 } | |
| 50 | |
| 43 .section | 51 .section | 
| 44 { | 52 { | 
| 45 margin-bottom: $lg; | 53 margin-bottom: $lg; | 
| 46 | 54 | 
| 47 @media (min-width: $mobile-breakpoint) | 55 @media (min-width: $mobile-breakpoint) | 
| 48 { | 56 { | 
| 49 margin-bottom: $xl; | 57 margin-bottom: $xl; | 
| 50 } | 58 } | 
| 51 } | 59 } | 
| 60 | |
| 61 .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.
 
 | |
| 62 { | |
| 63 padding-top: $xl; | |
| 64 padding-bottom: $xl; | |
| 65 background-image: url("/img/png/accent-bg.png"); | |
| 66 background-repeat: no-repeat; | |
| 67 background-position: center 0; | |
| 68 } | |
| 69 | |
| 70 .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
 
 | |
| 71 { | |
| 72 display: inline-block; | |
| 73 margin-right: $md; | |
| 74 font-weight: $bold-weight; | |
| 75 text-transform: uppercase; | |
| 76 } | |
| 77 | |
| 78 [dir="rtl"] | |
| 79 { | |
| 80 .section-accent a | |
| 81 { | |
| 82 margin-right: 0; | |
| 83 margin-left: $md; | |
| 84 } | |
| 85 } | |
| OLD | NEW |