maverick-wave 4.28.0 → 5.0.0
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/.claude/settings.local.json +29 -1
- package/.claude/skills/mw-maverick-wave/SKILL.md +39 -24
- package/.claude/skills/mw-maverick-wave/examples/angular-services.md +16 -4
- package/.claude/skills/mw-maverick-wave/examples/static-landing-page.md +13 -4
- package/.claude/skills/mw-maverick-wave/references/components.md +42 -5
- package/.claude/skills/mw-maverick-wave/references/forms.md +14 -2
- package/.claude/skills/mw-maverick-wave/references/javascript.md +17 -4
- package/.claude/skills/mw-maverick-wave/references/layout.md +53 -19
- package/.claude/skills/mw-maverick-wave/references/theming.md +38 -1
- package/.impeccable/config.local.json +5 -0
- package/.impeccable/hook.cache.json +1 -0
- package/CHANGELOG.md +11 -0
- package/CLAUDE.md +5 -5
- package/README.md +48 -4
- package/index.html +19 -38
- package/maverick-wave.min.css +14 -12
- package/maverick-wave.min.js +1 -1
- package/package.json +2 -2
- package/scripts/verify.js +27 -2
- package/src/js/main.js +223 -83
- package/src/partials/accordions-container.html +6 -10
- package/src/partials/alerts-container.html +6 -6
- package/src/partials/announcement-container.html +5 -5
- package/src/partials/avatars-container.html +85 -17
- package/src/partials/badges-container.html +6 -6
- package/src/partials/blog-posts-container.html +11 -12
- package/src/partials/buttons-container.html +3 -3
- package/src/partials/cards-container.html +26 -9
- package/src/partials/code-container.html +5 -5
- package/src/partials/content-slider-container.html +5 -4
- package/src/partials/divider-container.html +7 -7
- package/src/partials/dropdown-container.html +2 -2
- package/src/partials/empty-state-container.html +5 -5
- package/src/partials/footer-container.html +21 -18
- package/src/partials/form-elements-container.html +14 -14
- package/src/partials/gallery-container.html +16 -8
- package/src/partials/get-started-container.html +4 -8
- package/src/partials/header-container.html +18 -7
- package/src/partials/home-container.html +10 -20
- package/src/partials/input-group-container.html +11 -2
- package/src/partials/kbd-container.html +1 -1
- package/src/partials/login-container.html +5 -1
- package/src/partials/media-container.html +2 -2
- package/src/partials/modals-container.html +22 -32
- package/src/partials/pricing-container.html +9 -9
- package/src/partials/skeleton-container.html +6 -6
- package/src/partials/stepper-container.html +2 -2
- package/src/partials/tables-container.html +12 -12
- package/src/partials/tabs-container.html +17 -27
- package/src/partials/tags-container.html +23 -17
- package/src/partials/techstack-bucket-container.html +13 -0
- package/src/partials/tiles-container.html +26 -9
- package/src/partials/typography-container.html +7 -6
- package/src/partials/utilities-container.html +35 -15
- package/src/scss/_layers.scss +10 -0
- package/src/scss/abstracts/_index.scss +6 -0
- package/src/scss/abstracts/_mixins.scss +61 -153
- package/src/scss/abstracts/_variables.scss +123 -319
- package/src/scss/base/_base.scss +170 -190
- package/src/scss/base/_reset.scss +106 -104
- package/src/scss/base/_typography.scss +153 -151
- package/src/scss/components/_accordions.scss +97 -97
- package/src/scss/components/_alerts.scss +71 -70
- package/src/scss/components/_announcement.scss +71 -70
- package/src/scss/components/_avatars.scss +130 -142
- package/src/scss/components/_badge.scss +131 -132
- package/src/scss/components/_blog-post.scss +223 -220
- package/src/scss/components/_breadcrumbs.scss +93 -92
- package/src/scss/components/_button-bar.scss +102 -110
- package/src/scss/components/_buttons.scss +319 -324
- package/src/scss/components/_calendar.scss +251 -252
- package/src/scss/components/_cards.scss +359 -386
- package/src/scss/components/_code.scss +190 -194
- package/src/scss/components/_coming-soon.scss +77 -75
- package/src/scss/components/_content-slider.scss +90 -89
- package/src/scss/components/_divider.scss +55 -53
- package/src/scss/components/_dropdown.scss +179 -185
- package/src/scss/components/_empty-state.scss +57 -57
- package/src/scss/components/_flag.scss +294 -278
- package/src/scss/components/_gallery.scss +131 -133
- package/src/scss/components/_info.scss +151 -167
- package/src/scss/components/_kanban.scss +332 -341
- package/src/scss/components/_kbd.scss +40 -38
- package/src/scss/components/_lang-switch.scss +89 -97
- package/src/scss/components/_links.scss +21 -28
- package/src/scss/components/_lists.scss +510 -514
- package/src/scss/components/_localhost-indicator.scss +26 -24
- package/src/scss/components/_media.scss +22 -20
- package/src/scss/components/_meta-info.scss +35 -33
- package/src/scss/components/_modals.scss +277 -186
- package/src/scss/components/_pagination.scss +81 -87
- package/src/scss/components/_panels.scss +99 -97
- package/src/scss/components/_pricing.scss +183 -241
- package/src/scss/components/_progress.scss +112 -89
- package/src/scss/components/_prose.scss +35 -33
- package/src/scss/components/_ratings.scss +40 -38
- package/src/scss/components/_segmented.scss +82 -84
- package/src/scss/components/_skeleton.scss +66 -72
- package/src/scss/components/_spinners.scss +155 -159
- package/src/scss/components/_stepper.scss +116 -116
- package/src/scss/components/_tables.scss +155 -148
- package/src/scss/components/_tabs.scss +232 -141
- package/src/scss/components/_tags.scss +109 -107
- package/src/scss/components/_techstack-bucket.scss +123 -122
- package/src/scss/components/_testimonial.scss +72 -70
- package/src/scss/components/_theme-toggle.scss +53 -51
- package/src/scss/components/_tiles.scss +174 -174
- package/src/scss/components/_timelines.scss +282 -280
- package/src/scss/components/_toasts.scss +66 -72
- package/src/scss/form-elements/_checkbox.scss +117 -132
- package/src/scss/form-elements/_form.scss +149 -115
- package/src/scss/form-elements/_input-group.scss +99 -103
- package/src/scss/form-elements/_input.scss +74 -74
- package/src/scss/form-elements/_login.scss +48 -48
- package/src/scss/form-elements/_prefilled.scss +53 -51
- package/src/scss/form-elements/_radio.scss +95 -107
- package/src/scss/form-elements/_select.scss +42 -42
- package/src/scss/form-elements/_slider.scss +117 -132
- package/src/scss/form-elements/_textarea.scss +68 -54
- package/src/scss/form-elements/_toggle.scss +127 -140
- package/src/scss/layout/_footer.scss +172 -171
- package/src/scss/layout/_grid.scss +268 -302
- package/src/scss/layout/_header.scss +426 -427
- package/src/scss/layout/_home.scss +28 -27
- package/src/scss/layout/_main.scss +275 -238
- package/src/scss/layout/_page-header.scss +38 -36
- package/src/scss/layout/_section.scss +150 -124
- package/src/scss/main.scss +1 -1
- package/src/scss/utilities/_accessibility.scss +46 -45
- package/src/scss/utilities/_aspect.scss +22 -20
- package/src/scss/utilities/_corner.scss +23 -5
- package/src/scss/utilities/_display.scss +76 -70
- package/src/scss/utilities/_elevation.scss +13 -11
- package/src/scss/utilities/_flex.scss +83 -85
- package/src/scss/utilities/_reveal.scss +40 -63
- package/src/scss/utilities/_spacing.scss +63 -64
- package/src/scss/utilities/_text.scss +139 -141
- package/src/scss/utilities/_touch-targets.scss +130 -147
|
@@ -1,309 +1,325 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
11
|
-
// Every flag gets the same 4:3 box regardless of its real ratio - Switzerland
|
|
12
|
-
// is square, the US is 10:19 - because a column of switcher rows has to line
|
|
13
|
-
// up, and a correct aspect ratio per country is what breaks it.
|
|
14
|
-
//
|
|
15
|
-
// The set below covers the languages a European project actually offers. For
|
|
16
|
-
// anything else, the class is a slot: put an <img> or an inline <svg> inside
|
|
17
|
-
// and it inherits the box, the corner and the hairline.
|
|
18
|
-
// ---------------------------------------------------------------------------
|
|
3
|
+
@layer mw.components {
|
|
4
|
+
// Drawn in CSS gradients, not emoji: Windows ships no flag glyphs at all, and an
|
|
5
|
+
// emoji cannot be sized to line up with text. Every flag gets the same 4:3 box
|
|
6
|
+
// whatever its real ratio, or a column of switcher rows stops lining up.
|
|
7
|
+
//
|
|
8
|
+
// For anything not in the set below the class is a slot - put an <img> or an
|
|
9
|
+
// inline <svg> inside and it inherits the box, the corner and the hairline.
|
|
19
10
|
|
|
20
|
-
// Shape values, in px - these draw a picture and have nothing to do with the
|
|
21
|
-
// spacing scale
|
|
22
|
-
$_flag-width: 20px;
|
|
23
|
-
$_flag-height: 15px;
|
|
11
|
+
// Shape values, in px - these draw a picture and have nothing to do with the
|
|
12
|
+
// spacing scale
|
|
13
|
+
$_flag-width: 20px;
|
|
14
|
+
$_flag-height: 15px;
|
|
24
15
|
|
|
25
|
-
.mw-flag {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
16
|
+
.mw-flag {
|
|
17
|
+
display: inline-block;
|
|
18
|
+
width: $_flag-width;
|
|
19
|
+
height: $_flag-height;
|
|
20
|
+
flex-shrink: 0;
|
|
21
|
+
border-radius: radius('xs');
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
// Drawn on top rather than as a border: a border would shrink the painting
|
|
24
|
+
// area and shift every gradient stop inward by a pixel. Two rings, because
|
|
25
|
+
// each theme loses a different edge - the dark one keeps white flags (Japan,
|
|
26
|
+
// Poland) off a light card, the light one keeps the black band of Germany and
|
|
27
|
+
// Belgium off a dark header. Each is invisible where it is not needed.
|
|
28
|
+
box-shadow:
|
|
29
|
+
inset 0 0 0 1px rgb(0 0 0 / 0.2),
|
|
30
|
+
0 0 0 1px rgb(255 255 255 / 0.14);
|
|
31
|
+
background-repeat: no-repeat;
|
|
32
|
+
background-size: 100% 100%;
|
|
33
|
+
vertical-align: middle;
|
|
43
34
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
35
|
+
// The slot: a real flag asset fills the same box
|
|
36
|
+
> img,
|
|
37
|
+
> svg {
|
|
38
|
+
display: block;
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
object-fit: cover;
|
|
42
|
+
}
|
|
51
43
|
}
|
|
52
|
-
}
|
|
53
44
|
|
|
54
|
-
// --- Three horizontal bands ------------------------------------------------
|
|
55
|
-
.mw-flag-de {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
45
|
+
// --- Three horizontal bands ------------------------------------------------
|
|
46
|
+
.mw-flag-de {
|
|
47
|
+
background-image: linear-gradient(
|
|
48
|
+
to bottom,
|
|
49
|
+
#000 0 33.34%,
|
|
50
|
+
#dd0000 33.34% 66.67%,
|
|
51
|
+
#ffce00 66.67%
|
|
52
|
+
);
|
|
53
|
+
}
|
|
63
54
|
|
|
64
|
-
.mw-flag-at {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
55
|
+
.mw-flag-at {
|
|
56
|
+
background-image: linear-gradient(
|
|
57
|
+
to bottom,
|
|
58
|
+
#ed2939 0 33.34%,
|
|
59
|
+
#fff 33.34% 66.67%,
|
|
60
|
+
#ed2939 66.67%
|
|
61
|
+
);
|
|
62
|
+
}
|
|
72
63
|
|
|
73
|
-
.mw-flag-nl {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
64
|
+
.mw-flag-nl {
|
|
65
|
+
background-image: linear-gradient(
|
|
66
|
+
to bottom,
|
|
67
|
+
#ae1c28 0 33.34%,
|
|
68
|
+
#fff 33.34% 66.67%,
|
|
69
|
+
#21468b 66.67%
|
|
70
|
+
);
|
|
71
|
+
}
|
|
81
72
|
|
|
82
|
-
.mw-flag-hu {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
73
|
+
.mw-flag-hu {
|
|
74
|
+
background-image: linear-gradient(
|
|
75
|
+
to bottom,
|
|
76
|
+
#ce2939 0 33.34%,
|
|
77
|
+
#fff 33.34% 66.67%,
|
|
78
|
+
#477050 66.67%
|
|
79
|
+
);
|
|
80
|
+
}
|
|
90
81
|
|
|
91
|
-
.mw-flag-bg {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
82
|
+
.mw-flag-bg {
|
|
83
|
+
background-image: linear-gradient(
|
|
84
|
+
to bottom,
|
|
85
|
+
#fff 0 33.34%,
|
|
86
|
+
#00966e 33.34% 66.67%,
|
|
87
|
+
#d62612 66.67%
|
|
88
|
+
);
|
|
89
|
+
}
|
|
99
90
|
|
|
100
|
-
// Spain's bands are 1:2:1, not equal thirds - the civil flag, without the arms
|
|
101
|
-
.mw-flag-es {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
91
|
+
// Spain's bands are 1:2:1, not equal thirds - the civil flag, without the arms
|
|
92
|
+
.mw-flag-es {
|
|
93
|
+
background-image: linear-gradient(
|
|
94
|
+
to bottom,
|
|
95
|
+
#aa151b 0 25%,
|
|
96
|
+
#f1bf00 25% 75%,
|
|
97
|
+
#aa151b 75%
|
|
98
|
+
);
|
|
99
|
+
}
|
|
109
100
|
|
|
110
|
-
// --- Three vertical bands --------------------------------------------------
|
|
111
|
-
.mw-flag-fr {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
101
|
+
// --- Three vertical bands --------------------------------------------------
|
|
102
|
+
.mw-flag-fr {
|
|
103
|
+
background-image: linear-gradient(
|
|
104
|
+
to right,
|
|
105
|
+
#002654 0 33.34%,
|
|
106
|
+
#fff 33.34% 66.67%,
|
|
107
|
+
#ed2939 66.67%
|
|
108
|
+
);
|
|
109
|
+
}
|
|
119
110
|
|
|
120
|
-
.mw-flag-it {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
111
|
+
.mw-flag-it {
|
|
112
|
+
background-image: linear-gradient(
|
|
113
|
+
to right,
|
|
114
|
+
#009246 0 33.34%,
|
|
115
|
+
#fff 33.34% 66.67%,
|
|
116
|
+
#ce2b37 66.67%
|
|
117
|
+
);
|
|
118
|
+
}
|
|
128
119
|
|
|
129
|
-
.mw-flag-be {
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
120
|
+
.mw-flag-be {
|
|
121
|
+
background-image: linear-gradient(
|
|
122
|
+
to right,
|
|
123
|
+
#000 0 33.34%,
|
|
124
|
+
#fae042 33.34% 66.67%,
|
|
125
|
+
#ed2939 66.67%
|
|
126
|
+
);
|
|
127
|
+
}
|
|
137
128
|
|
|
138
|
-
.mw-flag-ro {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
129
|
+
.mw-flag-ro {
|
|
130
|
+
background-image: linear-gradient(
|
|
131
|
+
to right,
|
|
132
|
+
#002b7f 0 33.34%,
|
|
133
|
+
#fcd116 33.34% 66.67%,
|
|
134
|
+
#ce1126 66.67%
|
|
135
|
+
);
|
|
136
|
+
}
|
|
146
137
|
|
|
147
|
-
.mw-flag-ie {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
}
|
|
138
|
+
.mw-flag-ie {
|
|
139
|
+
background-image: linear-gradient(
|
|
140
|
+
to right,
|
|
141
|
+
#169b62 0 33.34%,
|
|
142
|
+
#fff 33.34% 66.67%,
|
|
143
|
+
#ff883e 66.67%
|
|
144
|
+
);
|
|
145
|
+
}
|
|
155
146
|
|
|
156
|
-
// --- Two bands -------------------------------------------------------------
|
|
157
|
-
.mw-flag-pl {
|
|
158
|
-
|
|
159
|
-
}
|
|
147
|
+
// --- Two bands -------------------------------------------------------------
|
|
148
|
+
.mw-flag-pl {
|
|
149
|
+
background-image: linear-gradient(to bottom, #fff 0 50%, #dc143c 50%);
|
|
150
|
+
}
|
|
160
151
|
|
|
161
|
-
.mw-flag-ua {
|
|
162
|
-
|
|
163
|
-
}
|
|
152
|
+
.mw-flag-ua {
|
|
153
|
+
background-image: linear-gradient(to bottom, #0057b7 0 50%, #ffd700 50%);
|
|
154
|
+
}
|
|
164
155
|
|
|
165
|
-
// --- Nordic cross ----------------------------------------------------------
|
|
166
|
-
// The arm sits left of centre, as it does on the real flags. Two bars laid over
|
|
167
|
-
// a solid field: the horizontal one first so the intersection is one colour.
|
|
168
|
-
@mixin nordic-cross($field, $cross) {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
156
|
+
// --- Nordic cross ----------------------------------------------------------
|
|
157
|
+
// The arm sits left of centre, as it does on the real flags. Two bars laid over
|
|
158
|
+
// a solid field: the horizontal one first so the intersection is one colour.
|
|
159
|
+
@mixin nordic-cross($field, $cross) {
|
|
160
|
+
background-image:
|
|
161
|
+
linear-gradient(
|
|
162
|
+
to bottom,
|
|
163
|
+
transparent 40%,
|
|
164
|
+
$cross 40% 60%,
|
|
165
|
+
transparent 60%
|
|
166
|
+
),
|
|
167
|
+
linear-gradient(
|
|
168
|
+
to right,
|
|
169
|
+
transparent 26%,
|
|
170
|
+
$cross 26% 46%,
|
|
171
|
+
transparent 46%
|
|
172
|
+
),
|
|
173
|
+
linear-gradient($field 0 0);
|
|
174
|
+
}
|
|
179
175
|
|
|
180
|
-
.mw-flag-se {
|
|
181
|
-
|
|
182
|
-
}
|
|
176
|
+
.mw-flag-se {
|
|
177
|
+
@include nordic-cross(#005293, #fecb00);
|
|
178
|
+
}
|
|
183
179
|
|
|
184
|
-
.mw-flag-dk {
|
|
185
|
-
|
|
186
|
-
}
|
|
180
|
+
.mw-flag-dk {
|
|
181
|
+
@include nordic-cross(#c8102e, #fff);
|
|
182
|
+
}
|
|
187
183
|
|
|
188
|
-
.mw-flag-fi {
|
|
189
|
-
|
|
190
|
-
}
|
|
184
|
+
.mw-flag-fi {
|
|
185
|
+
@include nordic-cross(#fff, #003580);
|
|
186
|
+
}
|
|
191
187
|
|
|
192
|
-
// Norway's blue cross sits inside the white one, so it takes a second, thinner
|
|
193
|
-
// pair of bars on top
|
|
194
|
-
.mw-flag-no {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
188
|
+
// Norway's blue cross sits inside the white one, so it takes a second, thinner
|
|
189
|
+
// pair of bars on top
|
|
190
|
+
.mw-flag-no {
|
|
191
|
+
background-image:
|
|
192
|
+
linear-gradient(
|
|
193
|
+
to bottom,
|
|
194
|
+
transparent 44%,
|
|
195
|
+
#00205b 44% 56%,
|
|
196
|
+
transparent 56%
|
|
197
|
+
),
|
|
198
|
+
linear-gradient(
|
|
199
|
+
to right,
|
|
200
|
+
transparent 30%,
|
|
201
|
+
#00205b 30% 42%,
|
|
202
|
+
transparent 42%
|
|
203
|
+
),
|
|
204
|
+
linear-gradient(
|
|
205
|
+
to bottom,
|
|
206
|
+
transparent 40%,
|
|
207
|
+
#fff 40% 60%,
|
|
208
|
+
transparent 60%
|
|
209
|
+
),
|
|
210
|
+
linear-gradient(to right, transparent 26%, #fff 26% 46%, transparent 46%),
|
|
211
|
+
linear-gradient(#ba0c2f 0 0);
|
|
212
|
+
}
|
|
212
213
|
|
|
213
|
-
// Switzerland is square in reality; in a 4:3 box the arms are widened so the
|
|
214
|
-
// cross still reads as one
|
|
215
|
-
.mw-flag-ch {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
214
|
+
// Switzerland is square in reality; in a 4:3 box the arms are widened so the
|
|
215
|
+
// cross still reads as one
|
|
216
|
+
.mw-flag-ch {
|
|
217
|
+
background-image:
|
|
218
|
+
linear-gradient(
|
|
219
|
+
to bottom,
|
|
220
|
+
transparent 36%,
|
|
221
|
+
#fff 36% 64%,
|
|
222
|
+
transparent 64%
|
|
223
|
+
),
|
|
224
|
+
linear-gradient(to right, transparent 39%, #fff 39% 61%, transparent 61%),
|
|
225
|
+
linear-gradient(#d52b1e 0 0);
|
|
226
|
+
}
|
|
221
227
|
|
|
222
|
-
// --- Everything else -------------------------------------------------------
|
|
223
|
-
// The Union Jack, from the back forward: white diagonals, red diagonals over
|
|
224
|
-
// them, then the white and red arms of St George's cross on top. The
|
|
225
|
-
// counterchange of the red diagonals is dropped - at 20px nobody sees it, and
|
|
226
|
-
// it would cost four more layers.
|
|
227
|
-
.mw-flag-gb {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
228
|
+
// --- Everything else -------------------------------------------------------
|
|
229
|
+
// The Union Jack, from the back forward: white diagonals, red diagonals over
|
|
230
|
+
// them, then the white and red arms of St George's cross on top. The
|
|
231
|
+
// counterchange of the red diagonals is dropped - at 20px nobody sees it, and
|
|
232
|
+
// it would cost four more layers.
|
|
233
|
+
.mw-flag-gb {
|
|
234
|
+
background-image:
|
|
235
|
+
linear-gradient(
|
|
236
|
+
to right,
|
|
237
|
+
transparent 42%,
|
|
238
|
+
#c8102e 42% 58%,
|
|
239
|
+
transparent 58%
|
|
240
|
+
),
|
|
241
|
+
linear-gradient(
|
|
242
|
+
to bottom,
|
|
243
|
+
transparent 38%,
|
|
244
|
+
#c8102e 38% 62%,
|
|
245
|
+
transparent 62%
|
|
246
|
+
),
|
|
247
|
+
linear-gradient(to right, transparent 36%, #fff 36% 64%, transparent 64%),
|
|
248
|
+
linear-gradient(
|
|
249
|
+
to bottom,
|
|
250
|
+
transparent 30%,
|
|
251
|
+
#fff 30% 70%,
|
|
252
|
+
transparent 70%
|
|
253
|
+
),
|
|
254
|
+
linear-gradient(
|
|
255
|
+
to bottom right,
|
|
256
|
+
transparent 45%,
|
|
257
|
+
#c8102e 45% 55%,
|
|
258
|
+
transparent 55%
|
|
259
|
+
),
|
|
260
|
+
linear-gradient(
|
|
261
|
+
to bottom left,
|
|
262
|
+
transparent 45%,
|
|
263
|
+
#c8102e 45% 55%,
|
|
264
|
+
transparent 55%
|
|
265
|
+
),
|
|
266
|
+
linear-gradient(
|
|
267
|
+
to bottom right,
|
|
268
|
+
transparent 38%,
|
|
269
|
+
#fff 38% 62%,
|
|
270
|
+
transparent 62%
|
|
271
|
+
),
|
|
272
|
+
linear-gradient(
|
|
273
|
+
to bottom left,
|
|
274
|
+
transparent 38%,
|
|
275
|
+
#fff 38% 62%,
|
|
276
|
+
transparent 62%
|
|
277
|
+
),
|
|
278
|
+
linear-gradient(#012169 0 0);
|
|
279
|
+
}
|
|
269
280
|
|
|
270
|
-
// 13 stripes and the canton. The stars are left out - at 15px tall they would
|
|
271
|
-
// be a grey smear, and the blue block already says which flag this is.
|
|
272
|
-
.mw-flag-us {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
281
|
+
// 13 stripes and the canton. The stars are left out - at 15px tall they would
|
|
282
|
+
// be a grey smear, and the blue block already says which flag this is.
|
|
283
|
+
.mw-flag-us {
|
|
284
|
+
background-image:
|
|
285
|
+
linear-gradient(#3c3b6e 0 0),
|
|
286
|
+
repeating-linear-gradient(
|
|
287
|
+
to bottom,
|
|
288
|
+
#b31942 0 7.693%,
|
|
289
|
+
#fff 7.693% 15.385%
|
|
290
|
+
);
|
|
291
|
+
background-size:
|
|
292
|
+
40% 53.85%,
|
|
293
|
+
100% 100%;
|
|
294
|
+
background-position:
|
|
295
|
+
top left,
|
|
296
|
+
top left;
|
|
297
|
+
}
|
|
283
298
|
|
|
284
|
-
.mw-flag-jp {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}
|
|
299
|
+
.mw-flag-jp {
|
|
300
|
+
background-image:
|
|
301
|
+
radial-gradient(circle at 50% 50%, #bc002d 0 29%, transparent 30%),
|
|
302
|
+
linear-gradient(#fff 0 0);
|
|
303
|
+
}
|
|
289
304
|
|
|
290
|
-
// Two overlapping circles make the crescent; the star is dropped for the same
|
|
291
|
-
// reason as the US stars
|
|
292
|
-
.mw-flag-tr {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
}
|
|
305
|
+
// Two overlapping circles make the crescent; the star is dropped for the same
|
|
306
|
+
// reason as the US stars
|
|
307
|
+
.mw-flag-tr {
|
|
308
|
+
background-image:
|
|
309
|
+
radial-gradient(circle at 47% 50%, #e30a17 0 20%, transparent 21%),
|
|
310
|
+
radial-gradient(circle at 40% 50%, #fff 0 25%, transparent 26%),
|
|
311
|
+
linear-gradient(#e30a17 0 0);
|
|
312
|
+
}
|
|
298
313
|
|
|
299
|
-
// Portugal without the armillary sphere - the ring alone carries it at this size
|
|
300
|
-
.mw-flag-pt {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
314
|
+
// Portugal without the armillary sphere - the ring alone carries it at this size
|
|
315
|
+
.mw-flag-pt {
|
|
316
|
+
background-image:
|
|
317
|
+
radial-gradient(
|
|
318
|
+
circle at 40% 50%,
|
|
319
|
+
transparent 0 12%,
|
|
320
|
+
#ffe900 13% 21%,
|
|
321
|
+
transparent 22%
|
|
322
|
+
),
|
|
323
|
+
linear-gradient(to right, #046a38 0 40%, #da291c 40%);
|
|
324
|
+
}
|
|
309
325
|
}
|