|
| 1 | +@use "sass:math"; |
| 2 | + |
1 | 3 | .about__logo { |
2 | 4 | @include themify() { |
3 | 5 | & path { |
|
11 | 13 | flex-direction: row; |
12 | 14 | justify-content: space-between; |
13 | 15 | flex-wrap: wrap; |
14 | | - padding-top: #{17 / $base-font-size}rem; |
15 | | - padding-right: #{78 / $base-font-size}rem; |
16 | | - padding-bottom: #{20 / $base-font-size}rem; |
17 | | - padding-left: #{20 / $base-font-size}rem; |
18 | | - width: #{720 / $base-font-size}rem; |
| 16 | + padding-top: #{math.div(17, $base-font-size)}rem; |
| 17 | + padding-right: #{math.div(78, $base-font-size)}rem; |
| 18 | + padding-bottom: #{math.div(20, $base-font-size)}rem; |
| 19 | + padding-left: #{math.div(20, $base-font-size)}rem; |
| 20 | + width: #{math.div(720, $base-font-size)}rem; |
19 | 21 | } |
20 | 22 |
|
21 | 23 | .about__content-column { |
|
36 | 38 |
|
37 | 39 | .about__footer { |
38 | 40 | flex-direction: column; |
39 | | - padding-left: #{20 / $base-font-size}rem; |
40 | | - padding-right: #{20 / $base-font-size}rem; |
| 41 | + padding-left: #{math.div(20, $base-font-size)}rem; |
| 42 | + padding-right: #{math.div(20, $base-font-size)}rem; |
41 | 43 | } |
42 | 44 | } |
43 | 45 |
|
44 | 46 | .about__content-column-title { |
45 | | - font-size: #{21 / $base-font-size}rem; |
46 | | - padding-left: #{17 / $base-font-size}rem; |
| 47 | + font-size: #{math.div(21, $base-font-size)}rem; |
| 48 | + padding-left: #{math.div(17, $base-font-size)}rem; |
47 | 49 | } |
48 | 50 |
|
49 | 51 | .about__content-column-asterisk { |
50 | | - padding-right: #{5 / $base-font-size}rem; |
| 52 | + padding-right: #{math.div(5, $base-font-size)}rem; |
51 | 53 | @include themify() { |
52 | 54 | & path { |
53 | 55 | fill: getThemifyVariable('logo-color'); |
|
58 | 60 |
|
59 | 61 | .about__content-column-list { |
60 | 62 | @include themify() { |
61 | | - padding-top: #{10 / $base-font-size}rem; |
62 | | - font-size: #{16 / $base-font-size}rem; |
| 63 | + padding-top: #{math.div(10, $base-font-size)}rem; |
| 64 | + font-size: #{math.div(16, $base-font-size)}rem; |
63 | 65 | } |
64 | 66 | } |
65 | 67 |
|
66 | 68 | .about__version-info { |
67 | 69 | @include themify() { |
68 | | - padding-top: #{8 / $base-font-size}rem; |
69 | | - font-size: #{16 / $base-font-size}rem; |
| 70 | + padding-top: #{math.div(8, $base-font-size)}rem; |
| 71 | + font-size: #{math.div(16, $base-font-size)}rem; |
70 | 72 | span { |
71 | 73 | color: getThemifyVariable('logo-color'); |
72 | 74 | } |
73 | 75 | &:first-child { |
74 | | - padding-top: #{30 /$base-font-size}rem; |
| 76 | + padding-top: #{math.div(30, $base-font-size)}rem; |
75 | 77 | } |
76 | 78 | } |
77 | 79 | // span { |
|
84 | 86 | .about__footer { |
85 | 87 | display: flex; |
86 | 88 | justify-content: space-between; |
87 | | - padding-top: #{18 / $base-font-size}rem; |
88 | | - padding-right: #{20 / $base-font-size}rem; |
89 | | - padding-bottom: #{21 / $base-font-size}rem; |
90 | | - padding-left: #{20 / $base-font-size}rem; |
| 89 | + padding-top: #{math.div(18, $base-font-size)}rem; |
| 90 | + padding-right: #{math.div(20, $base-font-size)}rem; |
| 91 | + padding-bottom: #{math.div(21, $base-font-size)}rem; |
| 92 | + padding-left: #{math.div(20, $base-font-size)}rem; |
91 | 93 | width: 100%; |
92 | 94 | } |
93 | 95 |
|
94 | 96 | .about__footer-list { |
95 | | - padding-top: #{12 / $base-font-size}rem; |
| 97 | + padding-top: #{math.div(12, $base-font-size)}rem; |
96 | 98 | } |
0 commit comments