Files
circlewithadot.net/style.css

502 lines
9.2 KiB
CSS

:root {
color-scheme: dark;
}
*, *::before, *::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
body {
background: #000;
color: #fff;
text-align: center;
font-family: 'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
font-size: 22px;
}
img {
max-width: 100%;
height: auto;
display: inline-block;
}
a {
color: red;
text-decoration: none;
}
a:hover {
color: hotpink;
}
a:active {
text-decoration: none;
}
/* ===== Header ===== */
.site-header {
max-width: 960px;
margin: 16px auto 6px;
padding: 0 16px;
display: flex;
align-items: center;
justify-content: flex-start;
text-align: left;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
color: #fff;
}
.brand:hover {
color: #ff7aa5;
}
.brand-logo {
width: 48px;
height: 48px;
border-radius: 50%;
}
.brand-name {
font-weight: 800;
letter-spacing: .12em;
text-transform: uppercase;
font-size: 20px;
line-height: 1;
}
.site-header .brand img {
margin: 0;
transition: none;
}
.site-header .brand:hover img {
transform: none;
}
.tagline {
font-size: 1.2em;
color: #fff;
margin: 10px 0 14px;
}
/* ===== Hero in card ===== */
.hero {
display: block;
width: 100%;
max-width: 750px;
height: auto;
margin: 0 auto;
border-radius: 12px;
}
.home-card {
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.08);
box-shadow: 0 12px 40px rgba(0,0,0,.55);
border-radius: 16px;
padding: 18px 16px 22px;
backdrop-filter: blur(2px);
text-align: center;
}
.home-hero {
max-width: 960px;
margin: 16px auto 10px;
padding: 0 16px;
}
.home-hero-card {
padding: 12px;
}
.home-hero-banner {
margin: 10px auto 24px;
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.08);
box-shadow: 0 12px 40px rgba(0,0,0,.55);
border-radius: 12px;
padding: 12px 16px;
font-size: 18px;
line-height: 1.4;
}
.home-hero-banner .hero-banner-link {
color: #ff7aa5;
font-weight: 700;
}
.home-hero-banner .hero-banner-link:hover {
color: #e53935;
}
/* ===== 2-col grid with named areas ===== */
.home-sections {
max-width: 960px;
margin: 0 auto 60px;
padding: 0 16px;
display: grid;
gap: 16px;
grid-template-columns: 1fr 1fr;
grid-template-areas:
"listen watch"
"services scrobbles"
"follow scrobbles"
"contact contact";
}
.area-listen { grid-area: listen; }
.area-watch { grid-area: watch; }
.area-services { grid-area: services; }
.area-follow { grid-area: follow; }
.area-scrobbles { grid-area: scrobbles; }
.area-contact { grid-area: contact; }
.section-title {
margin: 2px 0 12px;
font-size: 16px;
letter-spacing: .28em;
color: #fff;
text-transform: uppercase;
}
.icon-row {
display: flex;
justify-content: center;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.icon-row img {
width: 50px;
height: 50px;
margin: 6px;
transition: transform .25s ease;
}
.icon-row a img:hover {
transform: scale(1.1);
}
.centralized-row img {
width: 25px;
height: 25px;
margin: 6px;
}
.centralized-row a img:hover {
transform: scale(1.05);
}
/* utility */
.hidden {
display: none;
}
/* ===== Release page carry-over ===== */
.hf-container {
max-width: 720px;
margin: 0 auto 60px;
padding: 0 16px;
text-align: left;
}
.hf-logo-link {
display: block;
text-align: center;
}
.hf-logo-link img {
opacity: .95;
}
.hf-logo-link img:hover {
opacity: 1;
}
.hf-card {
background: rgba(255,255,255,.06);
border: 1px solid rgba(255,255,255,.08);
box-shadow: 0 12px 40px rgba(0,0,0,.55);
border-radius: 16px;
padding: 20px;
margin: 16px 0;
backdrop-filter: blur(2px);
}
.hf-hero {
padding-top: 24px;
}
.hf-cover {
width: 100%;
height: auto;
border-radius: 12px;
display: block;
margin: 0 auto 14px;
}
.hf-title {
margin: 6px 0 2px;
font-size: 34px;
font-weight: 800;
color: #fff;
text-align: center;
}
.hf-subtitle {
color: #bbb;
font-size: 18px;
margin-bottom: 8px;
text-align: center;
}
.hf-blurb {
color: #ddd;
font-size: 16px;
line-height: 1.5;
margin: 8px 0 16px;
}
.hf-cta-row {
display: flex;
gap: 10px;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 8px;
}
.btn {
display: inline-block;
padding: 10px 16px;
border-radius: 999px;
font-weight: 600;
transition: transform .15s ease, opacity .15s ease, background .15s;
border: 1px solid rgba(255,255,255,.12);
}
.btn:hover {
transform: translateY(-1px);
}
.btn-red {
background: #e53935;
color: #fff !important;
border-color: transparent;
}
.btn-red:hover {
background: #ff4444;
}
.btn-ghost {
background: rgba(255,255,255,.06);
color: #fff !important;
}
.btn-ghost:hover {
background: rgba(255,255,255,.12);
}
/* ===== Scrobble widget ===== */
.scrobble-top {
margin-top: 10px;
color: #ddd;
}
.scrobble-more {
margin: 8px 0 0;
padding: 0;
list-style: none;
color: #bbb;
}
.scrobble-row {
display: grid;
grid-template-columns: minmax(0,1fr) minmax(0,1fr);
column-gap: 12px;
align-items: baseline;
line-height: 1.35;
}
.scrobble-top.scrobble-row {
font-size: 14px;
}
.scrobble-more li.scrobble-row {
font-size: 12px;
margin: 2px 0;
}
.scrobble-row .artist {
text-align: left;
overflow-wrap: anywhere;
word-break: break-word;
}
.scrobble-row .title {
text-align: right;
overflow-wrap: anywhere;
word-break: break-word;
}
.scrobble-row .title em {
font-style: italic;
}
/* ===== Responsive ===== */
@media (max-width: 860px) {
.home-sections {
grid-template-columns: 1fr;
grid-template-areas:
"listen"
"watch"
"services"
"scrobbles"
"follow"
"contact";
}
}
@media (max-width: 768px) {
.brand-logo {
width: 44px;
height: 44px;
}
.brand-name {
font-size: 18px;
}
body {
font-size: 18px;
}
}
@media (max-width: 480px) {
.brand-name {
font-size: 16px;
letter-spacing: .10em;
}
}
/* ===== Footer ===== */
.site-footer {
margin-top: 48px;
border-top: 1px solid rgba(255,255,255,.08);
background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.0));
font-family: 'Public Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.footer-inner {
max-width: 980px;
margin: 0 auto;
padding: 20px 16px 28px;
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
}
.footer-left { justify-self: start; }
.footer-center { justify-self: center; }
.footer-right { justify-self: end; }
.footer-icon {
display: inline-flex;
width: 28px;
height: 28px;
border-radius: 8px;
background: rgba(255,255,255,.04);
justify-content: center;
align-items: center;
padding: 4px;
transition: transform .15s ease, background .2s ease, opacity .2s ease;
}
.footer-icon img {
width: 100%;
height: 100%;
object-fit: contain;
opacity: .9;
}
.footer-icon:hover {
transform: translateY(-1px);
background: rgba(255,255,255,.08);
}
.footer-icon:active {
transform: translateY(0);
opacity: .8;
}
.footer-text {
font-size: 14px;
color: rgba(234,234,234,.85);
letter-spacing: .01em;
text-decoration: none;
padding: 6px 10px;
border-radius: 8px;
background: rgba(255,255,255,.04);
transition: background .2s ease, color .2s ease;
}
.footer-text:hover {
color: #fff;
background: rgba(255,255,255,.08);
}
.footer-links a {
font-size: 14px;
color: rgba(234,234,234,.82);
text-decoration: none;
padding: 6px 8px;
border-radius: 8px;
transition: color .15s ease, background .15s ease;
}
.footer-links a:hover {
color: #fff;
background: rgba(255,255,255,.06);
}
/* Mobile stacking */
@media (max-width: 640px) {
.footer-inner {
grid-template-columns: 1fr;
gap: 10px;
text-align: center;
}
.footer-left,
.footer-center,
.footer-right {
justify-self: center;
}
}
.instances-title {
margin: 0 0 10px;
font-size: 16px;
color: #9aa0a6;
}
.instances-table {
border: 1px solid #26282a;
border-radius: 12px;
overflow: hidden;
background: #0f0f10;
}
.instances-header {
display: grid;
grid-template-columns: 1fr 140px;
gap: 12px;
padding: 10px 12px;
border-bottom: 1px solid #26282a;
color: #9aa0a6;
font-size: 14px;
}
.instances-body {
max-height: 240px; /* scrolling area */
overflow: auto;
}
.instances-row {
display: grid;
grid-template-columns: 1fr 140px;
gap: 12px;
padding: 10px 12px;
border-bottom: 1px solid #1f2123;
font-size: 14px;
}
.instances-row:last-child {
border-bottom: 0;
}
.mono {
font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
word-break: break-all;
}
.instances-meta {
margin-top: 10px;
color: #9aa0a6;
font-size: 14px;
}