@formant/aesthetics 0.1.1 → 0.1.2
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/formant-aesthetics.css +13 -3
- package/package.json +1 -1
package/formant-aesthetics.css
CHANGED
|
@@ -1322,6 +1322,16 @@ section > header {
|
|
|
1322
1322
|
border-bottom-right-radius: var(--formant-radius-md);
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
+
/* Unset h1, h2 margins when inside content headers */
|
|
1326
|
+
main > header h1,
|
|
1327
|
+
main > header h2,
|
|
1328
|
+
article > header h1,
|
|
1329
|
+
article > header h2,
|
|
1330
|
+
section > header h1,
|
|
1331
|
+
section > header h2 {
|
|
1332
|
+
margin: 0;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1325
1335
|
/* Site footer (direct child of body) */
|
|
1326
1336
|
body > footer {
|
|
1327
1337
|
margin-top: var(--formant-space-12);
|
|
@@ -1766,7 +1776,7 @@ body > footer {
|
|
|
1766
1776
|
margin-top: 0;
|
|
1767
1777
|
}
|
|
1768
1778
|
|
|
1769
|
-
body > footer >
|
|
1779
|
+
body > footer > * {
|
|
1770
1780
|
max-width: 1200px;
|
|
1771
1781
|
margin: 0 auto;
|
|
1772
1782
|
padding: 0 2.5rem;
|
|
@@ -1874,7 +1884,7 @@ input[type="time"]::-webkit-calendar-picker-indicator {
|
|
|
1874
1884
|
min-height: 60vh;
|
|
1875
1885
|
}
|
|
1876
1886
|
|
|
1877
|
-
body > footer >
|
|
1887
|
+
body > footer > * {
|
|
1878
1888
|
padding: 0 var(--formant-space-5);
|
|
1879
1889
|
}
|
|
1880
1890
|
}
|
|
@@ -1910,7 +1920,7 @@ input[type="time"]::-webkit-calendar-picker-indicator {
|
|
|
1910
1920
|
padding: var(--formant-space-4);
|
|
1911
1921
|
}
|
|
1912
1922
|
|
|
1913
|
-
body > footer >
|
|
1923
|
+
body > footer > * {
|
|
1914
1924
|
flex-direction: column;
|
|
1915
1925
|
align-items: flex-start;
|
|
1916
1926
|
gap: var(--formant-space-8);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formant/aesthetics",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Classless CSS framework based on the Formant Design System. Styles standard HTML elements without requiring any classes.",
|
|
5
5
|
"main": "formant-aesthetics.css",
|
|
6
6
|
"files": [
|