STYLE Add typography styles with Google Fonts integration and reset rules for admin headings
This commit is contained in:
parent
2b5aac0611
commit
5386c03348
|
|
@ -0,0 +1,47 @@
|
|||
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
|
||||
|
||||
body {
|
||||
font-family: 'Nunito Sans', sans-serif;
|
||||
@apply text-primary;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: 'Fjalla One', sans-serif;
|
||||
@apply text-primary;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@apply text-6xl;
|
||||
}
|
||||
|
||||
h2 {
|
||||
@apply text-5xl;
|
||||
}
|
||||
|
||||
body.wp-admin h1:not(.editor-visual-editor h1),
|
||||
body.wp-admin h2:not(.editor-visual-editor h2),
|
||||
body.wp-admin h3:not(.editor-visual-editor h3),
|
||||
body.wp-admin h4:not(.editor-visual-editor h4),
|
||||
body.wp-admin h5:not(.editor-visual-editor h5),
|
||||
body.wp-admin h6:not(.editor-visual-editor h6) {
|
||||
font-family: unset !important;
|
||||
font-style: unset !important;
|
||||
font-size: unset !important;
|
||||
line-height: unset !important;
|
||||
letter-spacing: unset !important;
|
||||
text-transform: unset !important;
|
||||
text-align: unset !important;
|
||||
}
|
||||
|
||||
.nunito {
|
||||
font-family: 'Nunito Sans', sans-serif;
|
||||
}
|
||||
|
||||
.fjalla {
|
||||
font-family: 'Fjalla One', sans-serif;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user