101 lines
2.7 KiB
CSS
Executable file
101 lines
2.7 KiB
CSS
Executable file
/* custom.css */
|
||
|
||
/* Base background behavior */
|
||
body {
|
||
background-size: cover !important;
|
||
background-position: center center !important;
|
||
background-attachment: fixed !important;
|
||
}
|
||
|
||
/* Per-tab backgrounds */
|
||
body.tab-glance {
|
||
background-image: url("/images/bg-glance.jpg") !important;
|
||
}
|
||
|
||
body.tab-pncharris {
|
||
background-image: url("/images/pncharris-bg.png") !important;
|
||
}
|
||
|
||
body.tab-netgrimoire {
|
||
background-image: url("/images/Netgrimoire-bg.png") !important;
|
||
}
|
||
|
||
body.tab-wasted-bandwidth {
|
||
background-image: url("/images/Wasted-bandwidth-bg.png") !important;
|
||
}
|
||
|
||
body.tab-nucking-futz {
|
||
background-image: url("/images/Nucking-futz-bg.png") !important;
|
||
}
|
||
|
||
/* ----------------------------- */
|
||
/* Readability / tone-down layer */
|
||
/* ----------------------------- */
|
||
|
||
/* Let more background show through (was 0.55) */
|
||
#page-wrapper {
|
||
background-color: rgba(0, 0, 0, 0.40);
|
||
}
|
||
|
||
/* Make service cards and widgets pop (but more transparent than before) */
|
||
.service-card,
|
||
.widget {
|
||
background: rgba(20, 20, 20, 0.70) !important; /* was 0.85 */
|
||
backdrop-filter: blur(2px);
|
||
border-radius: 10px;
|
||
}
|
||
|
||
/* ----------------------------- */
|
||
/* PNCHarris: narrow centered column */
|
||
/* ----------------------------- */
|
||
|
||
/* Constrain the real content container */
|
||
body.tab-pncharris main {
|
||
max-width: 900px; /* adjust: 760px narrower, 1100px wider */
|
||
margin: 0 auto !important;
|
||
padding-left: 16px;
|
||
padding-right: 16px;
|
||
}
|
||
|
||
/* Some builds wrap groups/sections full-width; constrain them too */
|
||
body.tab-pncharris section,
|
||
body.tab-pncharris .group {
|
||
max-width: 900px;
|
||
margin-left: auto !important;
|
||
margin-right: auto !important;
|
||
}
|
||
|
||
/* If cards are being forced to stretch, relax that on PNCHarris */
|
||
body.tab-pncharris .service-card,
|
||
body.tab-pncharris .widget {
|
||
width: auto !important;
|
||
max-width: 100% !important;
|
||
}
|
||
|
||
/* ========================================================= */
|
||
/* GLANCE TAB: ONLY make the Glance iframe bigger (safe) */
|
||
/* ========================================================= */
|
||
|
||
/* Optional: make Glance tab use full width */
|
||
body.tab-glance main {
|
||
max-width: none !important;
|
||
margin: 0 !important;
|
||
padding-left: 12px !important;
|
||
padding-right: 12px !important;
|
||
}
|
||
|
||
/* Force a single wide column on the Glance tab */
|
||
body.tab-glance .service-grid,
|
||
body.tab-glance .services {
|
||
grid-template-columns: 1fr !important;
|
||
}
|
||
|
||
/* Make ONLY the glance iframe tall.
|
||
This avoids touching parent wrappers that can blank the iframe on some builds. */
|
||
body.tab-glance iframe[name="glance"],
|
||
body.tab-glance iframe[src*="home.netgrimoire.com"] {
|
||
width: 100% !important;
|
||
height: calc(100vh - 170px) !important; /* tweak 140–220px if needed */
|
||
border: 0 !important;
|
||
display: block !important;
|
||
}
|