File tree Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Expand file tree Collapse file tree 3 files changed +20
-13
lines changed Original file line number Diff line number Diff line change 69
69
/* ------------------------------------*\
70
70
#Core components
71
71
\*------------------------------------*/
72
+ @import " sass/50-core-components/component" ;
72
73
@import " sass/50-core-components/avatars" ;
73
74
@import " sass/50-core-components/header" ;
74
75
@import " sass/50-core-components/archive-banner" ;
Original file line number Diff line number Diff line change
1
+ /* ------------------------------------*\
2
+ #Component
3
+
4
+ Extra vertical margin on anything with a class of `.component`
5
+ \*------------------------------------*/
6
+
7
+ .component {
8
+ margin-block : rem (80 );
9
+
10
+ @include mq ($bp-tab-small ) {
11
+ margin-block : rem (100 );
12
+ }
13
+ }
14
+
15
+ /* Full width components tend to have a background colour, where we don't want white space in between */
16
+ .component.u-full-width + .component.u-full-width {
17
+ margin-block : 0 ;
18
+ }
Original file line number Diff line number Diff line change 15
15
max-inline-size : rem ($max-width );
16
16
padding-block : rem (24 ) rem (100 );
17
17
padding-inline : 5vw ;
18
- }
19
-
20
- // #main .component + .component {
21
- // margin-block-start: rem(80);
22
- //
23
- // @include mq($bp-tab-small) {
24
- // margin-block-start: rem(100);
25
- // }
26
- // }
27
-
28
- // #main .component.u-full-width + .component.u-full-width {
29
- // margin-block-start: 0;
30
- // }
18
+ }
You can’t perform that action at this time.
0 commit comments