Compare commits

...

3 Commits

Author SHA1 Message Date
061c69c62c style single post template
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-13 16:19:28 +05:00
bc6809c177 turn off fluid type and fix font import 2024-06-13 16:19:17 +05:00
aec4094401 remove default font sizes 2024-06-13 14:33:01 +05:00
3 changed files with 26 additions and 6 deletions

View File

@ -81,4 +81,17 @@ ul.wp-block-navigation.mobile-header-nav li {
.site-footer ul.is-style-arrow li {
font-size: 18px !important;
}
}
/* styling blog post template */
.post-content-container {
width: fit-content;
}
.post-header {
max-width: 1480px;
}
.post-bio-container {
max-width: 640px;
}

7
templates/single.html Normal file
View File

@ -0,0 +1,7 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:post-content /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer","area":"footer"} /-->

View File

@ -67,7 +67,8 @@
"wideSize": "1760px"
},
"typography": {
"fluid": true,
"defaultFontSizes": false,
"fluid": false,
"fontFamilies": [
{
"fontFace": [
@ -281,7 +282,7 @@
"fontFamily": "Instrument Sans SemiCondensed",
"fontStyle": "normal",
"fontWeight": "700",
"src": "file:./assets/fonts/instrument-sans/InstrumentSansSemiCondensed-Bold.otf"
"src": "file:./assets/fonts/instrument-sans/semicondensed/InstrumentSansSemiCondensed-Bold.otf"
},
{
"fontFamily": "Instrument Sans SemiCondensed",
@ -507,10 +508,6 @@
"slug": "xx-large"
},
{
"fluid" : {
"min": "43px",
"max": "54px"
},
"name": "Huge",
"size": "54px",
"slug": "huge"
@ -520,6 +517,9 @@
"useRootPaddingAwareAlignments": true
},
"styles": {
"color": {
"background": "var(--wp--preset--color--white)"
},
"blocks": {
"core/button": {
"border": {