Compare commits

...

2 Commits

Author SHA1 Message Date
e0435ffe94 tweak blog post heading style
All checks were successful
continuous-integration/drone/push Build is passing
2025-07-29 19:49:33 +05:00
95888cdbbc fix margins on single post pages on mobile 2025-07-29 19:43:03 +05:00
3 changed files with 48 additions and 33 deletions

View File

@ -61,8 +61,8 @@
} }
@media screen and (max-width: 782px) { @media screen and (max-width: 782px) {
.is-style-markdown-heading::before { .is-style-markdown-heading {
margin-inline-start: 1em; margin-inline: 1em;
} }
} }

View File

@ -21,7 +21,8 @@ Use it to make something cool, have fun, and share what you've learned
with others. with others.
*/ */
html, body { html,
body {
height: 100%; height: 100%;
} }
@ -91,7 +92,7 @@ html, body {
padding: 1em; padding: 1em;
} }
@media screen and (max-width: 782px){ @media screen and (max-width: 782px) {
.nav-menu { .nav-menu {
padding-left: 1rem; padding-left: 1rem;
padding-right: 1rem; padding-right: 1rem;
@ -104,7 +105,7 @@ html, body {
ul.what-we-offer { ul.what-we-offer {
padding-left: revert !important; padding-left: revert !important;
} }
.home .wp-site-blocks h2 { .home .wp-site-blocks h2 {
margin-top: 60px; margin-top: 60px;
} }
@ -139,11 +140,11 @@ html, body {
} }
} }
@media screen and (min-width: 600px){ @media screen and (min-width: 600px) {
.nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { .nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
display: none; display: none;
} }
.nav-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { .nav-menu .wp-block-navigation__responsive-container-open:not(.always-shown) {
display: inherit; display: inherit;
} }
@ -153,35 +154,49 @@ html, body {
TODO: integrate this with the rest of the css TODO: integrate this with the rest of the css
*/ */
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
.home-flower { .home-flower {
display: none; display: none;
} }
.wp-container-13 .wp-block-group {
padding-top: 0 !important;
}
h1, p { .wp-container-13 .wp-block-group {
padding: 1rem; padding-top: 0 !important;
} }
.footer { h1,
padding-inline: 1rem; p,
} time {
padding: 1rem;
}
.footer p { .single-post {
padding: 0; .wp-block-post-content {
} padding-inline: 1rem;
}
.wp-site-blocks .wp-block-group:nth-child(1) { .wp-block-post-content h2 {
padding-top: 24px !important; padding-inline: 1rem;
} }
}
.footer {
padding-inline: 1rem;
}
.footer p {
padding: 0;
}
.wp-site-blocks .wp-block-group:nth-child(1) {
padding-top: 24px !important;
}
} }
@media screen and (min-width: 782px){ @media screen and (min-width: 782px) {
.nav-menu { .nav-menu {
display: block; display: block;
padding-right: 30%; padding-right: 30%;
} }
.nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { .nav-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
display: block; display: block;
} }
@ -205,18 +220,18 @@ html, body {
.first-slide h1 { .first-slide h1 {
font-size: 32px !important; font-size: 32px !important;
} }
.run-up-points ul li { .run-up-points ul li {
font-size: 32px !important; font-size: 32px !important;
} }
} }
/* for free palestine block */ /* for free palestine block */
.free-palestine-banner { .free-palestine-banner {
color: var(--wp--preset--color--background); color: var(--wp--preset--color--background);
font-family: Inter, sans-serif; font-family: Inter, sans-serif;
} }
/* responsive tweaks */ /* responsive tweaks */
.wp-block-navigation__responsive-container.is-menu-open { .wp-block-navigation__responsive-container.is-menu-open {
padding: 1em padding: 1em

View File

@ -258,7 +258,7 @@
"text": "var(--wp--preset--color--secondary)" "text": "var(--wp--preset--color--secondary)"
}, },
"typography": { "typography": {
"fontSize": "16px", "fontSize": "24px",
"textTransform": "uppercase" "textTransform": "uppercase"
} }
}, },