@internetstiftelsen/styleguide 2.23.9-beta.1.4 → 2.23.9-beta.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/structures/_article.scss +17 -21
package/package.json
CHANGED
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
@include e(content) {
|
|
32
|
+
> p:not(.preamble),
|
|
32
33
|
> h2,
|
|
33
34
|
> h3,
|
|
34
35
|
> h4,
|
|
@@ -36,25 +37,24 @@
|
|
|
36
37
|
> h6,
|
|
37
38
|
> ul,
|
|
38
39
|
> ol,
|
|
39
|
-
>
|
|
40
|
-
> div,
|
|
40
|
+
> div:not(.wp-block-iis-info):not(.wp-block-image):not(.wp-block-iis-hero):not(.wp-block-iis-grid):not([class*='accordion']),
|
|
41
41
|
> .wp-block-iis-card,
|
|
42
|
+
> .wp-block-image > figure,
|
|
43
|
+
> figure,
|
|
42
44
|
> blockquote {
|
|
43
|
-
&:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide)
|
|
45
|
+
&:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide) {
|
|
44
46
|
max-width: calc(#{rem(612px)} + #{($indent * 2)});
|
|
45
47
|
margin-right: math.div($grid-gutter-width, 2);
|
|
46
48
|
margin-left: $indent * 2;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
|
|
50
|
-
>
|
|
51
|
-
|
|
52
|
-
max-width: rem(612px);
|
|
53
|
-
margin-right: math.div($grid-gutter-width, 2);
|
|
54
|
-
margin-left: $indent * 2;
|
|
52
|
+
> [class*='meta'] {
|
|
53
|
+
margin-left: $indent;
|
|
55
54
|
}
|
|
56
55
|
|
|
57
|
-
>
|
|
56
|
+
> p.preamble {
|
|
57
|
+
max-width: rem(612px);
|
|
58
58
|
margin-left: $indent;
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
@include m(full-width) {
|
|
69
|
-
> p,
|
|
69
|
+
> p:not(.preamble),
|
|
70
70
|
> h2,
|
|
71
71
|
> h3,
|
|
72
72
|
> h4,
|
|
@@ -74,10 +74,11 @@
|
|
|
74
74
|
> h6,
|
|
75
75
|
> ul,
|
|
76
76
|
> ol,
|
|
77
|
-
>
|
|
77
|
+
> div:not(.wp-block-iis-info):not(.wp-block-image):not(.wp-block-iis-hero):not(.wp-block-iis-grid):not([class*='accordion']),
|
|
78
78
|
> .wp-block-iis-card,
|
|
79
|
+
> figure,
|
|
79
80
|
> blockquote {
|
|
80
|
-
&:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide)
|
|
81
|
+
&:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide) {
|
|
81
82
|
max-width: 46.364%;
|
|
82
83
|
}
|
|
83
84
|
}
|
|
@@ -87,18 +88,13 @@
|
|
|
87
88
|
margin-left: $indent;
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
|
-
|
|
91
|
-
> p.preamble {
|
|
92
|
-
max-width: rem(612px);
|
|
93
|
-
margin-left: $indent;
|
|
94
|
-
}
|
|
95
91
|
}
|
|
96
92
|
|
|
97
93
|
@include e(indent) {
|
|
98
94
|
$grid-indent: 5.6703%;
|
|
99
95
|
$grid-margin-right: 20.335%;
|
|
100
96
|
|
|
101
|
-
> p,
|
|
97
|
+
> p:not(.preamble),
|
|
102
98
|
> h2,
|
|
103
99
|
> h3,
|
|
104
100
|
> h4,
|
|
@@ -106,11 +102,11 @@
|
|
|
106
102
|
> h6,
|
|
107
103
|
> ul,
|
|
108
104
|
> ol,
|
|
109
|
-
>
|
|
110
|
-
> div,
|
|
105
|
+
> div:not(.wp-block-iis-info):not(.wp-block-image):not(.wp-block-iis-hero):not(.wp-block-iis-grid):not([class*='accordion']),
|
|
111
106
|
> .wp-block-iis-card,
|
|
107
|
+
> figure,
|
|
112
108
|
> blockquote {
|
|
113
|
-
&:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide)
|
|
109
|
+
&:not(.alignfull):not(.alignleft):not(.alignright):not(.alignwide) {
|
|
114
110
|
margin-right: $grid-margin-right;
|
|
115
111
|
margin-left: $grid-indent * 2;
|
|
116
112
|
}
|