Skip to content

Commit 71549f1

Browse files
committed
Refactor CSS files to update modulate-advanced-page-grid.css to modulate-module-grid.css
1 parent 59d5db2 commit 71549f1

3 files changed

Lines changed: 27 additions & 37 deletions

File tree

src/modulate-base.css

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,6 @@
1818
}
1919
}
2020

21-
/* ====================================================================================================
22-
Localization
23-
==================================================================================================== */
24-
@layer base {
25-
blockquote,
26-
q {
27-
quotes: var(--quotes-primary-open) var(--quotes-primary-close) var(--quotes-secondary-open) var(--quotes-secondary-close);
28-
}
29-
30-
blockquote:not(:has(p))::before,
31-
q:not(:has(p))::before,
32-
blockquote:has(p) p:first-of-type::before,
33-
q:has(p) p:first-of-type::before {
34-
content: open-quote;
35-
margin-inline-end: var(--quotes-spacing);
36-
}
37-
38-
blockquote:not(:has(p))::after,
39-
q:not(:has(p))::after,
40-
blockquote:has(p) p:last-of-type::after,
41-
q:has(p) p:last-of-type::after {
42-
content: close-quote;
43-
margin-inline-start: var(--quotes-spacing);
44-
}
45-
}
4621

4722
/* ====================================================================================================
4823
Reset
@@ -188,3 +163,30 @@
188163
scroll-behavior: smooth;
189164
}
190165
}
166+
167+
168+
/* ====================================================================================================
169+
Localization
170+
==================================================================================================== */
171+
@layer base {
172+
blockquote,
173+
q {
174+
quotes: var(--quotes-primary-open) var(--quotes-primary-close) var(--quotes-secondary-open) var(--quotes-secondary-close);
175+
}
176+
177+
blockquote:not(:has(p))::before,
178+
q:not(:has(p))::before,
179+
blockquote:has(p) p:first-of-type::before,
180+
q:has(p) p:first-of-type::before {
181+
content: open-quote;
182+
margin-inline-end: var(--quotes-spacing);
183+
}
184+
185+
blockquote:not(:has(p))::after,
186+
q:not(:has(p))::after,
187+
blockquote:has(p) p:last-of-type::after,
188+
q:has(p) p:last-of-type::after {
189+
content: close-quote;
190+
margin-inline-start: var(--quotes-spacing);
191+
}
192+
}

src/modulate-fluid-sizing-classic.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
Fluid Sizing
33
==================================================================================================== */
44
@layer base {
5-
:root {
6-
--rem: 16; /* Pixel per REM for General Fluid Sizing */
7-
--s-min: 400; /* Screen Size Min for General Fluid Sizing */
8-
--s-max: 1400; /* Screen Size Max for General Fluid Sizing */
9-
}
10-
115
body * {
126
/* ----------------------------------------------------------------------------------------
137
Block

src/modulate-fluid-sizing-modern.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22
Fluid Sizing
33
==================================================================================================== */
44
@layer base {
5-
:root {
6-
--rem: 16; /* Pixel per REM for General Fluid Sizing */
7-
--s-min: 400; /* Screen Size Min for General Fluid Sizing */
8-
--s-max: 1400; /* Screen Size Max for General Fluid Sizing */
9-
}
10-
115
body * {
126
/* ----------------------------------------------------------------------------------------
137
Block

0 commit comments

Comments
 (0)