2026-03-25 23:53:05 +00:00

169 lines
5.6 KiB
CSS

/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.0
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cardo:wght@700&family=Inter:wght@400&display=swap');
/* Page-specific brand styling: Pricing (50), About (48), Privacy Policy (112) */
body.page-id-50,
body.page-id-48,
body.page-id-112 {
background: #1c3434;
color: #f2f7f7;
font-family: "Inter", sans-serif;
}
body.page-id-50 *,
body.page-id-48 *,
body.page-id-112 * {
font-family: "Inter", sans-serif;
}
body.page-id-50 h1,
body.page-id-50 h2,
body.page-id-50 h3,
body.page-id-50 h4,
body.page-id-50 h5,
body.page-id-50 h6,
body.page-id-48 h1,
body.page-id-48 h2,
body.page-id-48 h3,
body.page-id-48 h4,
body.page-id-48 h5,
body.page-id-48 h6,
body.page-id-112 h1,
body.page-id-112 h2,
body.page-id-112 h3,
body.page-id-112 h4,
body.page-id-112 h5,
body.page-id-112 h6 {
font-family: "Cardo", serif;
font-weight: 700;
letter-spacing: 0.01em;
color: #ffffff;
}
body.page-id-50 p,
body.page-id-50 li,
body.page-id-50 a,
body.page-id-48 p,
body.page-id-48 li,
body.page-id-48 a,
body.page-id-112 p,
body.page-id-112 li,
body.page-id-112 a,
body.page-id-50 .wp-block-button__link,
body.page-id-48 .wp-block-button__link,
body.page-id-112 .wp-block-button__link,
body.page-id-50 .wp-block-navigation-item__content,
body.page-id-48 .wp-block-navigation-item__content,
body.page-id-112 .wp-block-navigation-item__content {
font-family: "Inter", sans-serif;
font-weight: 400;
}
body.page-id-50 .wp-site-blocks,
body.page-id-50 .wp-block-group,
body.page-id-50 main,
body.page-id-48 .wp-site-blocks,
body.page-id-48 .wp-block-group,
body.page-id-48 main,
body.page-id-112 .wp-site-blocks,
body.page-id-112 .wp-block-group,
body.page-id-112 main {
background: #1c3434;
}
body.page-id-50 .wp-block-group,
body.page-id-48 .wp-block-group,
body.page-id-112 .wp-block-group {
padding-top: clamp(24px, 3vw, 40px);
padding-bottom: clamp(24px, 3vw, 40px);
}
/* Pricing page: remove beige header band */
body.page-id-50 .has-base-background-color,
body.page-id-50 .has-base-2-background-color,
body.page-id-50 .wp-block-template-part,
body.page-id-50 .wp-site-blocks > header,
body.page-id-50 .wp-site-blocks > header .wp-block-group.has-background {
background-color: #1c3434 !important;
}
/* Pricing page: remove extra top gap from template title spacers */
body.page-id-50 main > .wp-block-group:first-child {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin: 0 !important;
}
body.page-id-50 main > .wp-block-group:first-child .wp-block-spacer,
body.page-id-50 main > .wp-block-group:first-child .wp-block-post-title {
display: none !important;
}
/* About page: remove beige header band */
body.page-id-48 .has-base-background-color,
body.page-id-48 .has-base-2-background-color,
body.page-id-48 .wp-block-template-part,
body.page-id-48 .wp-site-blocks > header,
body.page-id-48 .wp-site-blocks > header .wp-block-group.has-background {
background-color: #1c3434 !important;
}
/* About page: remove extra top gap from template title spacers */
body.page-id-48 main > .wp-block-group:first-child {
padding-top: 0 !important;
padding-bottom: 0 !important;
margin: 0 !important;
}
body.page-id-48 main > .wp-block-group:first-child .wp-block-spacer,
body.page-id-48 main > .wp-block-group:first-child .wp-block-post-title {
display: none !important;
}
/* Final hard override for About + Pricing top section:
force full teal header band and remove template-title gap */
body.page-id-48,
body.page-id-50 {
--wp--preset--color--base: #1c3434 !important;
--wp--preset--color--base-2: #1c3434 !important;
}
body.page-id-48 .wp-site-blocks > header,
body.page-id-50 .wp-site-blocks > header,
body.page-id-48 .wp-site-blocks > header .wp-block-group.has-background,
body.page-id-50 .wp-site-blocks > header .wp-block-group.has-background,
body.page-id-48 .wp-site-blocks > header .has-base-background-color,
body.page-id-50 .wp-site-blocks > header .has-base-background-color,
body.page-id-48 .wp-site-blocks > header .has-base-2-background-color,
body.page-id-50 .wp-site-blocks > header .has-base-2-background-color {
background: #1c3434 !important;
background-color: #1c3434 !important;
}
body.page-id-48 .wp-site-blocks > header .wp-block-group.alignwide.has-background,
body.page-id-50 .wp-site-blocks > header .wp-block-group.alignwide.has-background {
padding-top: 8px !important;
padding-bottom: 8px !important;
}
body.page-id-48 main > .wp-block-group:first-child,
body.page-id-50 main > .wp-block-group:first-child {
display: none !important;
}