Frontend shortcode polish: spacing, card sizing, newsletter styles
This commit is contained in:
@@ -283,6 +283,23 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
.page-content > .ac-shortcode-hero,
|
||||
.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 {
|
||||
margin: 0 0 16px;
|
||||
line-height: normal;
|
||||
}
|
||||
.page-content > .ac-shortcode-hero:last-child,
|
||||
.page-content > .ac-shortcode-releases:last-child,
|
||||
.page-content > .ac-shortcode-artists:last-child,
|
||||
.page-content > .ac-shortcode-sale-chart:last-child,
|
||||
.page-content > .ac-shortcode-newsletter-form:last-child,
|
||||
.page-content > .ac-shortcode-empty:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.ac-shortcode-release-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(190px, 240px));
|
||||
@@ -298,6 +315,12 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
min-height: 100%;
|
||||
transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
|
||||
}
|
||||
.ac-shortcode-release-card:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: rgba(57,244,179,0.35);
|
||||
box-shadow: 0 10px 24px rgba(0,0,0,.25);
|
||||
}
|
||||
.ac-shortcode-release-cover {
|
||||
aspect-ratio: 1 / 1;
|
||||
@@ -348,6 +371,12 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
min-height: 100%;
|
||||
transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
|
||||
}
|
||||
.ac-shortcode-artist-card:hover {
|
||||
transform: translateY(-2px);
|
||||
border-color: rgba(57,244,179,0.35);
|
||||
box-shadow: 0 10px 24px rgba(0,0,0,.25);
|
||||
}
|
||||
.ac-shortcode-artist-avatar {
|
||||
aspect-ratio: 1 / 1;
|
||||
@@ -462,6 +491,68 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
color: var(--muted);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.ac-shortcode-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 10px 14px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(255,255,255,.15);
|
||||
background: rgba(15,18,24,.6);
|
||||
color: #f5f7ff;
|
||||
text-decoration: none;
|
||||
font-size: 12px;
|
||||
letter-spacing: .08em;
|
||||
text-transform: uppercase;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
.ac-shortcode-link:hover {
|
||||
border-color: rgba(57,244,179,.6);
|
||||
color: #9ff8d8;
|
||||
}
|
||||
.ac-shortcode-newsletter-form {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
border: 1px solid rgba(255,255,255,.15);
|
||||
border-radius: 14px;
|
||||
background: rgba(15,18,24,.6);
|
||||
padding: 14px;
|
||||
}
|
||||
.ac-shortcode-newsletter-title {
|
||||
font-size: 13px;
|
||||
letter-spacing: .14em;
|
||||
text-transform: uppercase;
|
||||
color: #9aa0b2;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
}
|
||||
.ac-shortcode-newsletter-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: 8px;
|
||||
}
|
||||
.ac-shortcode-newsletter-input {
|
||||
height: 40px;
|
||||
border: 1px solid rgba(255,255,255,.16);
|
||||
border-radius: 10px;
|
||||
background: rgba(8,10,16,.6);
|
||||
color: #f5f7ff;
|
||||
padding: 0 12px;
|
||||
font-size: 14px;
|
||||
width: 100%;
|
||||
}
|
||||
.ac-shortcode-newsletter-btn {
|
||||
height: 40px;
|
||||
padding: 0 14px;
|
||||
border: 1px solid rgba(57,244,179,.6);
|
||||
border-radius: 999px;
|
||||
background: rgba(57,244,179,.16);
|
||||
color: #9ff8d8;
|
||||
font-size: 12px;
|
||||
letter-spacing: .14em;
|
||||
text-transform: uppercase;
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
cursor: pointer;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.shell {
|
||||
padding: 12px 14px 18px;
|
||||
@@ -529,6 +620,9 @@ if (session_status() === PHP_SESSION_ACTIVE && isset($_SESSION['ac_site_notice']
|
||||
.shell-main {
|
||||
padding-top: 2px;
|
||||
}
|
||||
.ac-shortcode-newsletter-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<?php if (trim($siteCustomCss) !== ''): ?>
|
||||
|
||||
Reference in New Issue
Block a user