| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // This file is part of website-defaults | 
|  | 2 // Copyright (C) 2016-present eyeo GmbH | 
|  | 3 // | 
|  | 4 // website-defaults is free software: you can redistribute it and/or | 
|  | 5 // modify 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 | 
|  | 7 // (at your option) any later version. | 
|  | 8 // | 
|  | 9 // website-defaults is distributed in the hope that it will be useful, | 
|  | 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  | 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|  | 12 // GNU General Public License for more details. | 
|  | 13 // | 
|  | 14 // You should have received a copy of the GNU General Public License | 
|  | 15 // along with website-defaults.  If not, see <http://www.gnu.org/licenses/>. | 
|  | 16 | 
|  | 17 /** | 
|  | 18  * Center within a responsive fixed width | 
|  | 19  * Use modifier classes defined in _width.scss to change said fixed width | 
|  | 20  */ | 
|  | 21 .container | 
|  | 22 { | 
|  | 23   width: $container-width; | 
|  | 24   max-width: 100%; | 
|  | 25   margin-right: auto; | 
|  | 26   margin-left: auto; | 
|  | 27   padding-right: $small-space; | 
|  | 28   padding-left: $small-space; | 
|  | 29 } | 
|  | 30 | 
|  | 31 /** Clear without collapsed margin */ | 
|  | 32 .clearfix:after, | 
|  | 33 .clearfix:before | 
|  | 34 { | 
|  | 35   display: table; | 
|  | 36   content: " "; | 
|  | 37 } | 
|  | 38 | 
|  | 39 .clearfix:after | 
|  | 40 { | 
|  | 41   clear: both; | 
|  | 42 } | 
|  | 43 | 
|  | 44 /** Align a block to the start of a line */ | 
|  | 45 .float-start { float: left; } | 
|  | 46 [dir="rtl"] .float-start { float: right; } | 
|  | 47 | 
|  | 48 /** Align a block to the end of a line */ | 
|  | 49 .float-end { float: right; } | 
|  | 50 [dir="rtl"] .float-end { float: left; } | 
| OLD | NEW | 
|---|