File tree 4 files changed +16
-15
lines changed
packages/gravity-ui-web/src/sass
05-components/03-organisms
4 files changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,13 @@ $grav-sp-inset-squished-l: $grav-sp-l $grav-sp-xl;
49
49
$grav-sp-page-content-inset : $grav-sp-m ;
50
50
51
51
// Multiplier for ostentatious copy on medium and above viewports
52
- $grav-sp-ostentatious-padding-multiplier : 8 ;
52
+ $grav-sp-ostentatious-padding-left- multiplier : 8 ;
53
53
54
54
// Standard vertical gap between successive block elements
55
55
// Note that is expressed as an `em` value, so it will scale according to the
56
56
// `font-size` of the block elements it affects.
57
- $grav-sp-vertical-gap : 1em ;
57
+ $grav-sp-vertical-gap : 1.5em ;
58
+ // Larger vertical gap for use on specific block elements
59
+ // Note that is expressed as an `em` value, so it will scale according to the
60
+ // `font-size` of the block elements it affects.
61
+ $grav-sp-vertical-gap-l : 2.5em ;
Original file line number Diff line number Diff line change 5
5
6
6
blockquote {
7
7
@include grav-font-size (3 );
8
- margin-bottom : 2 * $grav-sp-vertical-gap ;
9
-
10
- & :last-child {
11
- margin-bottom : $grav-sp-vertical-gap ;
12
- }
13
- }
14
-
15
- * + blockquote {
16
- margin-top : 2 * $grav-sp-vertical-gap ;
8
+ margin-top : $grav-sp-vertical-gap-l ;
9
+ margin-bottom : $grav-sp-vertical-gap-l ;
17
10
}
18
11
19
12
hr {
20
13
@include grav-font-size (3 );
21
- margin-top : 2 * $grav-sp-vertical-gap ;
14
+ margin-top : $grav-sp-vertical-gap-l ;
22
15
}
Original file line number Diff line number Diff line change 2
2
$grav-c-page-intro-notch-size : var (--grav-fs-plus-4 );
3
3
4
4
@media all and (min-width : grav-breakpoint (medium )) {
5
- margin-top : 2 * $grav-sp-vertical-gap ;
5
+ margin-top : $grav-sp-vertical-gap-l ;
6
6
}
7
7
8
8
> * {
39
39
}
40
40
41
41
@media all and (min-width : grav-breakpoint (medium )) {
42
- @include grav-decoration-notch-out ($grav-c-page-intro-notch-size , calc ( #{ $grav-sp-l } * #{ $grav-sp-ostentatious-padding-multiplier } ) );
42
+ @include grav-decoration-notch-out ($grav-c-page-intro-notch-size , $grav-sp-l * $grav-sp-ostentatious-padding-left- multiplier );
43
43
}
44
44
}
45
45
}
Original file line number Diff line number Diff line change 4
4
5
5
> * {
6
6
display : block ;
7
+
8
+ + * {
9
+ margin-top : $grav-sp-vertical-gap-l ;
10
+ }
7
11
}
8
12
9
13
img {
29
33
}
30
34
31
35
@media all and (min-width : grav-breakpoint (large )) {
32
- padding-left : calc ( #{ $grav-sp-l } * #{ $grav-sp-ostentatious-padding-multiplier } ) ;
36
+ padding-left : $grav-sp-l * $grav-sp-ostentatious-padding-left- multiplier ;
33
37
}
34
38
}
You can’t perform that action at this time.
0 commit comments