Home shortcode layout: two-column composition and section headers
This commit is contained in:
@@ -283,6 +283,29 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
.ac-shortcode-releases,
|
||||
.ac-shortcode-artists,
|
||||
.ac-shortcode-sale-chart,
|
||||
.ac-shortcode-newsletter-form {
|
||||
border: 1px solid rgba(255,255,255,0.12);
|
||||
background: rgba(255,255,255,0.02);
|
||||
border-radius: 14px;
|
||||
padding: 12px;
|
||||
}
|
||||
.ac-shortcode-block-head {
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.22em;
|
||||
color: rgba(255,255,255,0.58);
|
||||
margin: 2px 0 10px;
|
||||
}
|
||||
.page-content {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
}
|
||||
.page-content > .ac-shortcode-hero,
|
||||
.page-content > .ac-shortcode-releases,
|
||||
.page-content > .ac-shortcode-artists,
|
||||
@@ -292,6 +315,20 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
margin: 0 0 16px;
|
||||
line-height: normal;
|
||||
}
|
||||
.page-content > .ac-shortcode-hero {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.page-content > .ac-shortcode-releases {
|
||||
grid-column: 1;
|
||||
}
|
||||
.page-content > .ac-shortcode-artists {
|
||||
grid-column: 2;
|
||||
}
|
||||
.page-content > .ac-shortcode-sale-chart,
|
||||
.page-content > .ac-shortcode-newsletter-form,
|
||||
.page-content > .ac-shortcode-empty {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
.page-content > .ac-shortcode-hero:last-child,
|
||||
.page-content > .ac-shortcode-releases:last-child,
|
||||
.page-content > .ac-shortcode-artists:last-child,
|
||||
@@ -302,7 +339,7 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
}
|
||||
.ac-shortcode-release-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(190px, 240px));
|
||||
grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
|
||||
justify-content: start;
|
||||
gap: 12px;
|
||||
}
|
||||
@@ -623,6 +660,16 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
.ac-shortcode-newsletter-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.page-content {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.page-content > .ac-shortcode-releases,
|
||||
.page-content > .ac-shortcode-artists,
|
||||
.page-content > .ac-shortcode-sale-chart,
|
||||
.page-content > .ac-shortcode-newsletter-form,
|
||||
.page-content > .ac-shortcode-empty {
|
||||
grid-column: 1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<?php if (trim($siteCustomCss) !== ''): ?>
|
||||
|
||||
Reference in New Issue
Block a user