style fixes

This commit is contained in:
Frank Harris 2025-10-23 19:44:24 -04:00
parent 426b32b747
commit ff0b2b2843
6 changed files with 136 additions and 104 deletions

View file

@ -3,20 +3,35 @@
.gsw-top .gsw-site-name{font-weight:700;font-size:1.1rem;color:#333}
@media(max-width:480px){.gsw-top{padding:10px}.gsw-top img{height:32px}.gsw-top .gsw-site-name{font-size:1rem}}
.gsw-header{display:flex;flex-direction:column;align-items:stretch;padding:0;background:transparent;margin-bottom:18px;}
.gsw-header-top{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#0b3b6f;backdrop-filter:blur(6px);box-shadow:0 2px 6px rgba(0,0,0,0.18);}
.gsw-header-left{display:flex;align-items:center;font-weight:700;font-size:1.4rem;color:#fff;padding-left:8px;}
/* Header: two-row layout with left/right divs on top row */
.gsw-header{display:flex;flex-direction:column;align-items:stretch;padding:0;background:transparent;margin-bottom:18px;}
/* Top row: contains left (logo/title) and right (login) divs as separate blocks */
#gsw-site .gsw-header-top{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:12px 20px;background:#0b3b6f !important;backdrop-filter:blur(6px);box-shadow:0 2px 6px rgba(0,0,0,0.18);width:100%;}
/* Left div: logo + title, takes up available space */
#gsw-site .gsw-header-left{flex:1 1 auto;display:flex;align-items:center;font-weight:700;font-size:1.4rem;color:#fff;padding-left:8px;}
/* Right div: login/logout button area, shrinks to content */
#gsw-site .gsw-header-right{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-right:8px;}
.gsw-logo{height:48px;width:auto;margin-right:12px;display:block}
.gsw-logo-link{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.gsw-header-left a{color:#fff;text-decoration:none;}
.gsw-header-bottom{display:flex;justify-content:center;padding:10px 20px;background:#0b3b6f;}
.gsw-header-nav{display:flex;gap:22px;align-items:center;}
.gsw-nav-link{color:#fff;text-decoration:none;font-size:0.98rem;transition:opacity 0.2s;padding:6px 8px;border-radius:6px;}
.gsw-nav-link:hover{opacity:0.9;text-decoration:underline;background:rgba(255,255,255,0.03);}
.gsw-header-right{display:flex;gap:12px;align-items:center;padding-right:8px;}
.gsw-user-info{color:#fff;font-size:0.95rem;margin-right:8px;}
.gsw-header-btn{padding:10px 18px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:8px;text-decoration:none;font-weight:700;transition:transform 0.2s;border:none;display:inline-block;}
.gsw-header-btn:hover{transform:translateY(-2px);}
.gsw-header-left a{color:#fff;text-decoration:none;}
/* Bottom row: centered navigation menu */
#gsw-site .gsw-header-bottom{display:flex;justify-content:center;padding:10px 20px;background:#0b3b6f !important;width:100%;}
.gsw-header-nav{display:flex;gap:22px;align-items:center;}
.gsw-nav-link{color:#fff;text-decoration:none;font-size:0.98rem;transition:opacity 0.2s;padding:6px 8px;border-radius:6px;}
.gsw-nav-link:hover{opacity:0.9;text-decoration:underline;background:rgba(255,255,255,0.03);}
.gsw-user-info{color:#fff;font-size:0.95rem;margin-right:8px;}
/* Login/Logout button with gradient */
#gsw-site .gsw-header-btn,
#gsw-site a.gsw-header-btn{padding:10px 18px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important;color:#fff !important;border-radius:8px;text-decoration:none;font-weight:700;transition:transform 0.2s;border:none;display:inline-block;cursor:pointer;}
#gsw-site .gsw-header-btn:hover,
#gsw-site a.gsw-header-btn:hover{transform:translateY(-2px);text-decoration:none;color:#fff !important;}
@media(max-width:768px){
.gsw-header{flex-direction:column;gap:12px;}
.gsw-header-nav{flex-wrap:wrap;justify-content:center;}
@ -26,10 +41,10 @@
.gsw-banner{width:100%;text-align:center;margin-bottom:18px}
.gsw-banner img{max-width:100%;height:auto;display:inline-block}
/* Footer styles */
footer.gsw-footer{background:#0b3b6f;color:#fff;padding:18px 12px;text-align:center;margin-top:28px}
footer.gsw-footer a{color:#cfe6ff;text-decoration:none}
footer.gsw-footer a:hover{text-decoration:underline}
/* Footer styles: ultra-specific to override any theme CSS */
html body #gsw-site footer.gsw-footer{background:#0b3b6f !important;color:#fff;padding:18px 12px;text-align:center;margin-top:28px;}
#gsw-site footer.gsw-footer a{color:#cfe6ff;text-decoration:none;}
#gsw-site footer.gsw-footer a:hover{text-decoration:underline;}
/* Page color scheme: prefer dark text on light backgrounds by default */
/* Dark site theme: dark background with light text */
@ -37,6 +52,11 @@ body { color: #fff; background: #0b1020; }
/* Make links readable on dark background */
a { color: #7fb3ff; }
/* But override for styled buttons/links inside our site wrapper */
#gsw-site a.gsw-btn,
#gsw-site a.gsw-btn-secondary,
#gsw-site a.gsw-header-btn,
#gsw-site .gsw-nav-link{color:#fff !important;}
/* Form inputs: light text on darker inputs by default */
input, textarea, select, button { color: #fff; background: #11141f; border: 1px solid rgba(255,255,255,0.06); }
@ -59,9 +79,19 @@ input, textarea, select, button { color: #fff; background: #11141f; border: 1px
.pad-40{padding:40px}
.btn-danger{background:#ef4444;color:#fff;border:none;padding:6px 10px;border-radius:6px}
.btn-primary{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border:none;padding:8px 14px;border-radius:8px;font-weight:700}
.gsw-btn{display:inline-block;padding:12px 24px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:white;text-decoration:none;border-radius:8px;font-weight:600;transition:transform 0.2s;}
.gsw-btn:hover{transform:translateY(-2px)}
.gsw-btn-secondary{display:inline-block;padding:10px 16px;background:rgba(255,255,255,0.06);color:#fff;text-decoration:none;border-radius:8px;border:1px solid rgba(255,255,255,0.06);}
/* Primary gradient button for links and buttons */
#gsw-site .gsw-btn,
#gsw-site a.gsw-btn,
#gsw-site button.gsw-btn{display:inline-block;padding:12px 24px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%) !important;color:#fff !important;text-decoration:none;border-radius:8px;font-weight:600;transition:transform 0.2s;border:none;cursor:pointer;}
#gsw-site .gsw-btn:hover,
#gsw-site a.gsw-btn:hover,
#gsw-site button.gsw-btn:hover{transform:translateY(-2px);color:#fff !important;text-decoration:none;}
#gsw-site .gsw-btn-secondary,
#gsw-site a.gsw-btn-secondary{display:inline-block;padding:10px 16px;background:rgba(255,255,255,0.06);color:#fff !important;text-decoration:none;border-radius:8px;border:1px solid rgba(255,255,255,0.06);cursor:pointer;}
#gsw-site .gsw-btn-secondary:hover,
#gsw-site a.gsw-btn-secondary:hover{color:#fff !important;text-decoration:none;}
.float-left{float:left}
.clearfix::after{content:"";display:table;clear:both}
.table-compact th,.table-compact td{padding:0.5rem}

View file

@ -6,3 +6,6 @@
<a href="privacy.php">Privacy</a> | <a href="tos.php">TOS</a> | <a href="server_status.php">Server Status</a> | <a href="https://worlddomination.dev" target="_blank" rel="noopener">Worlddomination.dev</a>
</div>
</footer>
<!-- close site wrapper started in menu.php -->
</div>

View file

@ -57,6 +57,9 @@ if ($is_logged_in) {
?>
<link rel="stylesheet" href="css/header.css">
<!-- site wrapper for scoping styles -->
<div id="gsw-site">
<div class="gsw-header">
<div class="gsw-header-top">
<div class="gsw-header-left">

View file

@ -1,48 +1,49 @@
<?php include(__DIR__ . '/includes/top.php'); include(__DIR__ . '/includes/menu.php'); ?>
<div class="container-wide pad-40">
<h1>Privacy</h1>
<p>
<main class="container-wide pad-40">
<h1>Privacy Policy</h1>
<p class="muted">Last updated: 2025/10/23</p>
<p>We care about your privacy. Below is a short summary of what we collect, why we collect it, and your choices.</p>
Last updated: 2025/10/23
<h2>What we collect</h2>
<ul>
<li>Basic account information (name, email).</li>
<li>Billing-related details necessary to process payments.</li>
<li>Server usage information required for diagnostics and security (for example IPs and logs).</li>
</ul>
What we collect
- Basic account info (name, email), billing-related details, and server usage info (like IPs and logs for security/diagnostics).
<h2>Why we collect it</h2>
<p>To create and run your servers, process payments, prevent fraud and abuse, and send renewal or service-related emails.</p>
Why we collect it
- To create and run your servers, process payments, fight fraud/abuse, and send renewal or service emails.
<h2>What we dont do</h2>
<p>We do NOT sell your personal information. Ever.</p>
What we dont do
- We do NOT sell your personal information. Ever.
<h2>Who sees your data</h2>
<p>Only our team and trusted service providers that help operate the service (payment processors, hosting, email). They receive only the minimum data needed to perform their tasks.</p>
Who sees your data
- Only our team and trusted providers that help us run the service (e.g., payment processors, hosting, email). They only get whats needed to do their job.
<h2>Cookies & analytics</h2>
<p>We use cookies for login sessions and basic analytics to improve the service.</p>
Cookies & analytics
- We use simple cookies for login sessions and basic analytics to improve the service.
<h2>Security</h2>
<p>We take reasonable steps to protect data. No system is perfect please keep strong passwords and dont share them.</p>
Security
- We take reasonable steps to protect data. No system is perfect, so keep strong passwords and dont share them.
<h2>Retention</h2>
<p>We keep data for as long as needed to provide the service, meet legal obligations, or to resolve disputes. You can request deletion of your account and data.</p>
Retention
- We keep data only as long as needed for the service, operations, or legal requirements. You can ask us to delete your account.
<h2>Your choices</h2>
<p>You can request a copy of your data, ask us to correct it, or delete it. Contact: <strong>{PRIVACY_EMAIL}</strong></p>
Your choices
- You can request a copy of your data, ask us to correct it, or delete it. Contact {PRIVACY_EMAIL}.
<h2>Legal requests</h2>
<p>We only disclose information when required by law or to prevent harm/abuse.</p>
Legal requests
- We only share info if required by law or to prevent harm/abuse.
<h2>Minors</h2>
<p>Our services are for users aged 13+ (or your local equivalent). Parents/guardians may contact us for assistance with minor accounts.</p>
Minors
- Our services are for users 13+ (or your local equivalent). Parents/guardians—contact us if you need help with a minors account.
<h2>Updates</h2>
<p>If we change this policy we will update the date above. Continued use of the service indicates acceptance of the changes.</p>
Updates
- If we change this policy, well update the date above. Keep using the service only if you agree with the updates.
<h2>Contact</h2>
<p>Privacy questions? Contact <strong>{PRIVACY_EMAIL}</strong>.</p>
Contact
- Privacy questions?
</p>
</div>
</main>
<?php include(__DIR__ . '/includes/footer.php'); ?>

BIN
modules/billing/site.zip Normal file

Binary file not shown.