py project init
This commit is contained in:
1 parent
3030627214
commit
65f63b05d3
26 files changed
+138
-1224
No files matched your search
+6
-4
@@ -1,4 +1,6 @@
|
||||
/.continue/rules
|
||||
/.direnv
|
||||
/.envrc
|
||||
/.old
|
||||
.direnv
|
||||
.envrc
|
||||
.old
|
||||
public/
|
||||
__pycache__/
|
||||
.continue/
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.1 MiB |
File renamed without changes.
File renamed without changes.
@@ -1,77 +0,0 @@
|
||||
# Alabama Progress - New Website
|
||||
|
||||
## Design
|
||||
|
||||
- Use the old site as inspiration: [https://alabamaprogress.org](https://alabamaprogress.org)
|
||||
- A basic layout that outlines information about the Alabama Progress community.
|
||||
- A navy and gold color scheme
|
||||
|
||||
## Stack
|
||||
|
||||
- HTML
|
||||
- CSS
|
||||
- Vanilla JavaScript (if possible)
|
||||
|
||||
## Content
|
||||
|
||||
### Logo
|
||||
|
||||

|
||||
|
||||
### Tagline
|
||||
|
||||
Progress begins with you.
|
||||
|
||||
### Description
|
||||
|
||||
Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current social and political issues, and also connecting, organizing, and collaborating on political actions of consequence primarily in our local communities.
|
||||
|
||||
### Mission Statement
|
||||
|
||||
Empower Alabamians to create positive change.
|
||||
|
||||
Our mission is to empower Alabamians to create positive change and pursue forward progress by creating connections, building coalitions, encouraging active participation in processes both political and non-political, and dissolving the barrier between those who seek to represent and the represented.
|
||||
|
||||
### Vision Statement
|
||||
|
||||
A strong and victorious future of progress.
|
||||
|
||||
Our vision is to see an Alabama working towards a strong and victorious future of progress for the people and places we call home.
|
||||
|
||||
### Values
|
||||
|
||||
- Pro Racial Justice
|
||||
- Pro Union
|
||||
- Pro Human Rights, including LGBTQ+ and Women’s Rights
|
||||
- Pro Marijuana Legalization
|
||||
- Pro Prison Reform
|
||||
- Pro Public Transit
|
||||
- Pro Environment
|
||||
- Pro Medicare Expansion
|
||||
- Pro Voting Reform
|
||||
- Pro Voting Access Expansion
|
||||
- Pro Direct Ballot Access
|
||||
- Pro Privacy
|
||||
- Pro Homesteader / Unhoused Rights
|
||||
- Anti Death Penalty
|
||||
- Anti Censorship / Government Overreach
|
||||
|
||||
### Getting involved
|
||||
|
||||
Ready to get involved?
|
||||
|
||||
If you’re interested in becoming a part of our community, reach out and say hello. We’d love to have you.
|
||||
|
||||
We run a private discord community for our members. You can request to join by filling out this application form below:
|
||||
|
||||
-> Have an application form that asks for the user's name, discord username, and a brief description of their interest in joining the community that will send an email to AlabamaProgressOrg@gmail.com or send a discord message to a discord server channel somehow, maybe through the custom discord bot.
|
||||
|
||||
### Community
|
||||
|
||||
#### Events
|
||||
|
||||
This section should include a calendar of community events.
|
||||
|
||||
### Blog
|
||||
|
||||
This section should be a blog from the administrators including news, etc.
|
||||
@@ -1,39 +1,117 @@
|
||||
{
|
||||
description = "Simple vanilla web dev shell: VSCodium + HTML/JS extensions + Python http.server";
|
||||
description = "Alabama Progress dev shell: Python static site builder + Discord bot + VSCodium";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs }:
|
||||
outputs =
|
||||
{ self, nixpkgs }:
|
||||
let
|
||||
systems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
"aarch64-linux"
|
||||
"x86_64-darwin"
|
||||
"aarch64-darwin"
|
||||
];
|
||||
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
|
||||
in
|
||||
{
|
||||
devShells = forAllSystems (pkgs:
|
||||
devShells = forAllSystems (
|
||||
pkgs:
|
||||
let
|
||||
lib = pkgs.lib;
|
||||
|
||||
# Python with everything the builder and the bot will need.
|
||||
# Declared here so the dev shell and (later) the server module can share it.
|
||||
python = pkgs.python3.withPackages (
|
||||
ps: with ps; [
|
||||
jinja2 # templates
|
||||
mistune # Markdown -> HTML for news posts
|
||||
python-frontmatter # parse front matter in .md files
|
||||
pyyaml # config / front matter
|
||||
nh3 # HTML sanitizer for rendered post bodies
|
||||
pillow # resize/convert uploaded images to WebP
|
||||
python-slugify # safe slugs from titles
|
||||
discordpy # the bot
|
||||
watchfiles # rebuild on change during development
|
||||
pytest # tests for the builder / slugging / validation
|
||||
]
|
||||
);
|
||||
|
||||
# Extensions as attribute paths under pkgs.vscode-extensions.
|
||||
# Any that don't exist in your nixpkgs revision are silently skipped
|
||||
# instead of breaking the whole shell.
|
||||
wanted = [
|
||||
[ "esbenp" "prettier-vscode" ] # formatter
|
||||
[ "dbaeumer" "vscode-eslint" ] # JS linting
|
||||
[ "ritwickdey" "liveserver" ] # live reload server
|
||||
[ "formulahendry" "auto-rename-tag" ] # rename paired HTML tags
|
||||
[ "formulahendry" "auto-close-tag" ] # auto-close HTML tags
|
||||
[ "christian-kohler" "path-intellisense" ] # file path autocomplete
|
||||
[ "usernamehw" "errorlens" ] # inline error messages
|
||||
[ "editorconfig" "editorconfig" ] # .editorconfig support
|
||||
[ "bradlc" "vscode-tailwindcss" ] # harmless if unused
|
||||
[ "ms-python" "python" ] # Python support
|
||||
[ "continue" "continue" ] # local line-completion
|
||||
[
|
||||
"esbenp"
|
||||
"prettier-vscode"
|
||||
] # formatter (HTML/CSS/JS/MD)
|
||||
[
|
||||
"dbaeumer"
|
||||
"vscode-eslint"
|
||||
] # JS linting (join form, etc.)
|
||||
[
|
||||
"ritwickdey"
|
||||
"liveserver"
|
||||
] # live reload for public/
|
||||
[
|
||||
"formulahendry"
|
||||
"auto-rename-tag"
|
||||
] # rename paired HTML tags
|
||||
[
|
||||
"formulahendry"
|
||||
"auto-close-tag"
|
||||
] # auto-close HTML tags
|
||||
[
|
||||
"christian-kohler"
|
||||
"path-intellisense"
|
||||
] # file path autocomplete
|
||||
[
|
||||
"usernamehw"
|
||||
"errorlens"
|
||||
] # inline error messages
|
||||
[
|
||||
"editorconfig"
|
||||
"editorconfig"
|
||||
] # .editorconfig support
|
||||
[
|
||||
"ms-python"
|
||||
"python"
|
||||
] # Python support
|
||||
[
|
||||
"charliermarsh"
|
||||
"ruff"
|
||||
] # Python lint + format
|
||||
[
|
||||
"samuelcolvin"
|
||||
"jinjahtml"
|
||||
] # Jinja2 syntax highlighting
|
||||
[
|
||||
"jnoortheen"
|
||||
"nix-ide"
|
||||
] # Nix syntax/LSP
|
||||
[
|
||||
"mkhl"
|
||||
"direnv"
|
||||
] # auto-load the flake env (if you use direnv)
|
||||
[
|
||||
"redhat"
|
||||
"vscode-yaml"
|
||||
] # YAML (front matter, configs)
|
||||
[
|
||||
"yzhang"
|
||||
"markdown-all-in-one"
|
||||
] # Markdown preview/shortcuts for posts
|
||||
[
|
||||
"continue"
|
||||
"continue"
|
||||
] # local line-completion
|
||||
];
|
||||
|
||||
extensions = lib.filter (e: e != null)
|
||||
(map (path: lib.attrByPath path null pkgs.vscode-extensions) wanted);
|
||||
extensions = lib.filter (e: e != null) (
|
||||
map (path: lib.attrByPath path null pkgs.vscode-extensions) wanted
|
||||
);
|
||||
|
||||
codium = pkgs.vscode-with-extensions.override {
|
||||
vscode = pkgs.vscodium;
|
||||
@@ -42,27 +120,53 @@
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
name = "web-dev";
|
||||
name = "alabama-progress";
|
||||
|
||||
packages = [
|
||||
codium
|
||||
pkgs.python3 # `python -m http.server` for static serving
|
||||
pkgs.nodejs # optional: npm, eslint, prettier CLIs, etc.
|
||||
python
|
||||
pkgs.ruff # CLI for lint/format
|
||||
pkgs.djlint # lint/format Jinja + HTML templates
|
||||
pkgs.lychee # link checker: catches broken links in public/ (good for SEO)
|
||||
pkgs.prettier
|
||||
pkgs.git
|
||||
pkgs.nixpkgs-fmt
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
# Serve current directory: `serve` or `serve 3000`
|
||||
serve() {
|
||||
local port="''${1:-8000}"
|
||||
echo "Serving $(pwd) at http://localhost:$port"
|
||||
python3 -m http.server "$port"
|
||||
# Build the site (expects build.py in the current directory)
|
||||
build() {
|
||||
python build.py "$@"
|
||||
}
|
||||
|
||||
echo "Web dev shell ready."
|
||||
# Build, then serve public/ at http://localhost:8000 (or `serve 3000`)
|
||||
serve() {
|
||||
local port="''${1:-8000}"
|
||||
python build.py || return 1
|
||||
echo "Serving public/ at http://localhost:$port"
|
||||
python -m http.server "$port" --directory public
|
||||
}
|
||||
|
||||
# Rebuild automatically whenever templates, pages, static files, or posts change.
|
||||
# Run `serve` in one terminal and `watch` in another.
|
||||
watch() {
|
||||
watchfiles "python build.py" templates pages static ../content
|
||||
}
|
||||
|
||||
# Check public/ for broken internal links
|
||||
linkcheck() {
|
||||
lychee --offline --no-progress public
|
||||
}
|
||||
|
||||
echo "Alabama Progress dev shell ready."
|
||||
echo " codium . - open the editor in this directory"
|
||||
echo " serve [p] - start a static server (default port 8000)"
|
||||
echo " build - generate public/"
|
||||
echo " serve [p] - build, then serve public/ (default port 8000)"
|
||||
echo " watch - rebuild on file changes"
|
||||
echo " linkcheck - scan public/ for broken links"
|
||||
'';
|
||||
};
|
||||
});
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
-43
@@ -1,43 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Alabama Progress</title>
|
||||
<meta name="description"
|
||||
content="A community of like-minded Alabamians working to create positive change and pursue forward progress across our state.">
|
||||
<link rel="stylesheet" href="styles/main.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a class="skip-link" href="#page-content">Skip to content</a>
|
||||
|
||||
<header class="site-header">
|
||||
<div class="masthead">
|
||||
<img src="assets/logo.png" alt="Alabama Progress logo" id="header-icon" width="56" height="56">
|
||||
<h1>Alabama Progress</h1>
|
||||
</div>
|
||||
<nav aria-label="Main">
|
||||
<a href="#home">Home</a>
|
||||
<a href="#about">About</a>
|
||||
<!-- <a href="#community">Community</a> -->
|
||||
<a href="#news">News</a>
|
||||
<a href="#join">Join</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<div id="loader" hidden>Loading…</div>
|
||||
<main id="page-content" aria-live="polite" tabindex="-1"></main>
|
||||
|
||||
<footer class="site-footer">
|
||||
<p class="tagline">Progress begins with you.</p>
|
||||
<p>Made with ♥ by <a href="https://bellsworne.com">Bellsworne</a></p>
|
||||
<p>View our <a href="#privacy">Privacy Policy</a></p>
|
||||
<p class="legal">©2026 Alabama Progress</p>
|
||||
</footer>
|
||||
|
||||
<script src="scripts/app.js" defer></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,57 +0,0 @@
|
||||
<header class="page-intro wide">
|
||||
<h2>About Alabama Progress</h2>
|
||||
<p class="lead">Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current
|
||||
social and political issues, and also connecting, organizing, and collaborating on political actions of consequence
|
||||
primarily in our local communities.</p>
|
||||
</header>
|
||||
|
||||
<section class="pillars wide" aria-labelledby="about-pillars-heading">
|
||||
<h3 id="about-pillars-heading">What drives our work</h3>
|
||||
<div class="pillars-grid">
|
||||
<article class="pillar">
|
||||
<h4>Our mission</h4>
|
||||
<p class="statement">Empower Alabamians to create positive change.</p>
|
||||
<p>Our mission is to empower Alabamians to create positive change and pursue forward progress by creating
|
||||
connections, building coalitions, encouraging active participation in processes both political and
|
||||
non-political,
|
||||
and dissolving the barrier between those who seek to represent and the represented.</p>
|
||||
</article>
|
||||
|
||||
<article class="pillar">
|
||||
<h4>Our vision</h4>
|
||||
<p class="statement">A strong and victorious future of progress.</p>
|
||||
<p>Our vision is to see an Alabama working towards a strong and victorious future of progress for the people and
|
||||
places we call home.</p>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="values-section wide" aria-labelledby="values-heading">
|
||||
<h3 id="values-heading">Our values</h3>
|
||||
<ul class="values">
|
||||
<li><strong class="stance-pro">Pro</strong> Racial Justice</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Union</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Human Rights, including LGBTQ+ and Women’s Rights</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Marijuana Legalization</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Prison Reform</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Public Transit</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Environment</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Medicare Expansion</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Voting Reform</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Voting Access Expansion</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Direct Ballot Access</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Privacy</li>
|
||||
<li><strong class="stance-pro">Pro</strong> Homesteader / Unhoused Rights</li>
|
||||
<br>
|
||||
<li><strong class="stance-anti">Anti</strong> Death Penalty</li>
|
||||
<li><strong class="stance-anti">Anti</strong> Censorship / Government Overreach</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="callout wide" aria-labelledby="about-callout-heading">
|
||||
<h3 id="about-callout-heading">Ready to get involved?</h3>
|
||||
<p>Reach out and say hello. We’d love to have you.</p>
|
||||
<div class="actions">
|
||||
<a class="btn btn-primary" href="#join">Request to join</a>
|
||||
</div>
|
||||
</section>
|
||||
@@ -1,36 +0,0 @@
|
||||
<h2>Community</h2>
|
||||
<p class="lead">Members talk, plan, and organize together in our private Discord. Want in? <a href="#join">Request to
|
||||
join</a>.</p>
|
||||
|
||||
<section class="wide" aria-labelledby="events-title">
|
||||
<!-- <h3 id="events-title">Events</h3> -->
|
||||
|
||||
<!-- <div class="calendar" data-calendar>
|
||||
<div class="cal-controls">
|
||||
<button type="button" data-prev aria-label="Previous month">‹</button>
|
||||
<p class="cal-month" data-month aria-live="polite"></p>
|
||||
<button type="button" data-today>Today</button>
|
||||
<button type="button" data-next aria-label="Next month">›</button>
|
||||
</div>
|
||||
|
||||
<table class="cal-grid">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><abbr title="Sunday">Sun</abbr></th>
|
||||
<th scope="col"><abbr title="Monday">Mon</abbr></th>
|
||||
<th scope="col"><abbr title="Tuesday">Tue</abbr></th>
|
||||
<th scope="col"><abbr title="Wednesday">Wed</abbr></th>
|
||||
<th scope="col"><abbr title="Thursday">Thu</abbr></th>
|
||||
<th scope="col"><abbr title="Friday">Fri</abbr></th>
|
||||
<th scope="col"><abbr title="Saturday">Sat</abbr></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody data-grid></tbody>
|
||||
</table>
|
||||
|
||||
<div class="cal-detail" data-detail aria-live="polite"></div>
|
||||
</div>
|
||||
|
||||
<h4 class="upcoming-title">Upcoming</h4>
|
||||
<ol class="event-list" data-upcoming></ol> -->
|
||||
</section>
|
||||
@@ -1,38 +0,0 @@
|
||||
<section class="hero wide">
|
||||
<img src="assets/logo.png" alt="Alabama Progress logo">
|
||||
<div>
|
||||
<h2>Progress begins with you.</h2>
|
||||
<p class="lead">Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current
|
||||
social and political issues, and also connecting, organizing, and collaborating on political actions of
|
||||
consequence
|
||||
primarily in our local communities.</p>
|
||||
<div class="actions">
|
||||
<a class="btn btn-primary" href="#join">Join the community</a>
|
||||
<a class="btn btn-secondary" href="#about">Learn more</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="pillars wide" aria-labelledby="pillars-heading">
|
||||
<h3 id="pillars-heading">What drives our work</h3>
|
||||
<div class="pillars-grid">
|
||||
<article class="pillar">
|
||||
<h4>Our mission</h4>
|
||||
<p class="statement">Empower Alabamians to create positive change.</p>
|
||||
</article>
|
||||
|
||||
<article class="pillar">
|
||||
<h4>Our vision</h4>
|
||||
<p class="statement">A strong and victorious future of progress.</p>
|
||||
<p><a href="#about">Read more about who we are</a></p>
|
||||
</article>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="callout wide" aria-labelledby="callout-heading">
|
||||
<h3 id="callout-heading">Ready to get involved?</h3>
|
||||
<p>If you're interested in becoming a part of our community, reach out and say hello. We'd love to have you.</p>
|
||||
<div class="actions">
|
||||
<a class="btn btn-primary" href="#join">Request to join</a>
|
||||
</div>
|
||||
</section>
|
||||
Whitespace-only changes.
@@ -1,86 +0,0 @@
|
||||
<h2>Ready to get involved?</h2>
|
||||
<p class="lead">
|
||||
If you're interested in becoming a part of our community, reach out and say
|
||||
hello. We'd love to have you.
|
||||
</p>
|
||||
<p>
|
||||
We run a private Discord community for our members. You can request to join by
|
||||
filling out the application below. View our <a href="#privacy">Privacy Policy</a> for information on how your data is
|
||||
handled when submitting this form.
|
||||
</p>
|
||||
|
||||
<form class="form" data-join>
|
||||
<div class="field">
|
||||
<label for="f-discord">Discord username<span class="required-field-asterix">*</span></label>
|
||||
<input id="f-discord" name="discord" type="text" autocomplete="off" maxlength="64" required />
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="f-name">Your name (optional)</label>
|
||||
<input id="f-name" name="name" type="text" autocomplete="name" maxlength="100" />
|
||||
</div>
|
||||
|
||||
<fieldset class="field">
|
||||
<legend>
|
||||
Are you registered to vote in the state of Alabama?<span class="required-field-asterix">*</span>
|
||||
</legend>
|
||||
<div class="radio-group">
|
||||
<label>
|
||||
<input type="radio" name="vote_registration" value="yes" required />
|
||||
Yes
|
||||
</label>
|
||||
<label>
|
||||
<input type="radio" name="vote_registration" value="no" required />
|
||||
No
|
||||
</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div class="field">
|
||||
<label for="f-interest">Why do you want to join?<span class="required-field-asterix">*</span></label>
|
||||
<p class="hint" id="f-interest-hint">
|
||||
A sentence or two about your interest is plenty.
|
||||
</p>
|
||||
<textarea id="f-interest" name="interest" rows="5" maxlength="1000" aria-describedby="f-interest-hint"
|
||||
required></textarea>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="f-references">Referrals</label>
|
||||
<p>If you have any contacts that are already a member of the Alabama Progress discord server, please list their
|
||||
discord usernames here (seperated by a comma).</p>
|
||||
<input id="f-references" name="references" type="text" autocomplete="off" maxlength="100" />
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="f-organisation">Political organisations</label>
|
||||
<p>If you are a memeber of any political organisations, please list them here.</p>
|
||||
<input id="f-organisation" name="organisation" type="text" autocomplete="off" maxlength="100" />
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label for="f-links">Social media/links</label>
|
||||
<p>If you have any links or social media you want to be associated with, please put them here.</p>
|
||||
<textarea id="f-links" name="links" rows="5" maxlength="1000" aria-describedby="f-links-hint"></textarea>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<p>
|
||||
<em><span class="required-field-asterix">*</span> Required field</em>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="hp" aria-hidden="true">
|
||||
<label>Leave this empty
|
||||
<input type="text" name="website" tabindex="-1" autocomplete="off" /></label>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-primary" type="submit">Send application</button>
|
||||
|
||||
<p class="form-status" role="status" data-status></p>
|
||||
</form>
|
||||
|
||||
<p>
|
||||
Prefer email? Write to
|
||||
<a href="mailto:AlabamaProgressOrg@gmail.com">AlabamaProgressOrg@gmail.com</a>.
|
||||
</p>
|
||||
@@ -1,9 +0,0 @@
|
||||
<div data-news-intro>
|
||||
<h2>News</h2>
|
||||
<p class="lead">News and updates from the Alabama Progress administrators.</p>
|
||||
</div>
|
||||
<div data-news>
|
||||
<p class="muted">Loading posts…</p>
|
||||
</div>
|
||||
|
||||
<script src="scripts/news.js"></script>
|
||||
@@ -1,34 +0,0 @@
|
||||
<h2>Privacy Policy</h2>
|
||||
<p class="lead">Alabama Progress respects your privacy and collects the bare minimum amount of information needed to run
|
||||
our community.</p>
|
||||
<p><em>Last updated: November 20, 2026</em></p>
|
||||
|
||||
<h3>Browsing and Cookies</h3>
|
||||
<p>No personal information is collected simply by visiting or browsing this website. This site does not use cookies,
|
||||
tracking pixels, behavioral analytics, or advertising trackers.</p>
|
||||
|
||||
<h3>Information Collected via the Join Form</h3>
|
||||
<p>Personal information is only collected if you voluntarily choose to submit the community join request form. The form
|
||||
collects the following details:</p>
|
||||
<ul>
|
||||
<li><strong>Discord username</strong> (required)</li>
|
||||
<li><strong>Name</strong> (optional)</li>
|
||||
<li><strong>Alabama voter registration status</strong> (required)</li>
|
||||
<li><strong>Reason for wanting to join</strong> (required)</li>
|
||||
<li><strong>Referrals from existing server members</strong> (optional)</li>
|
||||
<li><strong>Political organization memberships</strong> (optional)</li>
|
||||
<li><strong>Social media or personal links</strong> (optional)</li>
|
||||
</ul>
|
||||
|
||||
<h3>How Information Is Used and Retained</h3>
|
||||
<p>Information submitted through the join form is transmitted solely to the administrators of the Alabama Progress
|
||||
Discord server for the purpose of reviewing and approving your membership request. Submitted form data is not stored
|
||||
in a database or retained after your application is reviewed.</p>
|
||||
|
||||
<h3>Third-Party Sharing</h3>
|
||||
<p>Alabama Progress does not sell, rent, trade, or share any submitted information with third parties, data brokers, or
|
||||
outside organizations.</p>
|
||||
|
||||
<h3>Contact</h3>
|
||||
<p>If you have any questions about this privacy policy or how join requests are handled, contact <a
|
||||
href="mailto:AlabamaProgressOrg@gmail.com">AlabamaProgressOrg@gmail.com</a>.</p>
|
||||
Whitespace-only changes.
@@ -1,53 +0,0 @@
|
||||
const content = document.getElementById('page-content');
|
||||
const loader = document.getElementById('loader');
|
||||
|
||||
// Whitelist of pages: name -> file (and title)
|
||||
const routes = {
|
||||
home: { url: 'pages/home.html', title: 'Home' },
|
||||
about: { url: 'pages/about.html', title: 'About' },
|
||||
community: { url: 'pages/community.html', title: 'Community' },
|
||||
news: { url: 'pages/news.html', title: 'News' },
|
||||
join: { url: 'pages/join.html', title: 'Join' },
|
||||
privacy: { url: 'pages/privacy-policy.html', title: 'Privacy Policy' },
|
||||
};
|
||||
|
||||
let controller;
|
||||
|
||||
async function loadPage() {
|
||||
const name = location.hash.slice(1) || 'home';
|
||||
|
||||
document.querySelectorAll('nav a').forEach(a => {
|
||||
if (a.getAttribute('href') === `#${name}`) a.setAttribute('aria-current', 'page');
|
||||
else a.removeAttribute('aria-current');
|
||||
});
|
||||
|
||||
const route = routes[name];
|
||||
|
||||
if (!route) {
|
||||
content.innerHTML = '<h2>Page not found</h2>';
|
||||
return;
|
||||
}
|
||||
|
||||
// Cancel the previous request if the user clicks quickly
|
||||
controller?.abort();
|
||||
controller = new AbortController();
|
||||
|
||||
loader.hidden = false;
|
||||
try {
|
||||
const res = await fetch(route.url, { signal: controller.signal });
|
||||
if (!res.ok) throw new Error(`HTTP ${res.status}`);
|
||||
|
||||
content.innerHTML = await res.text();
|
||||
document.title = `${route.title} | Alabama Progress`;
|
||||
content.focus();
|
||||
} catch (err) {
|
||||
if (err.name === 'AbortError') return; // superseded by a newer request
|
||||
content.innerHTML = '<p>Sorry, that page failed to load.</p>';
|
||||
console.error(err);
|
||||
} finally {
|
||||
loader.hidden = true;
|
||||
}
|
||||
}
|
||||
|
||||
window.addEventListener('hashchange', loadPage);
|
||||
loadPage();
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
-759
@@ -1,759 +0,0 @@
|
||||
:root {
|
||||
--blue: #1b3f73;
|
||||
--ink: #14233a;
|
||||
--gold: #f0b323;
|
||||
--red: #952626;
|
||||
--green: #318f31;
|
||||
--paper: #f5f6f4;
|
||||
--white: #ffffff;
|
||||
--rule: #c5cbd3;
|
||||
--muted: #46546a;
|
||||
|
||||
--measure: 68rem;
|
||||
/* max content width */
|
||||
--gutter: 1.25rem;
|
||||
/* side padding */
|
||||
|
||||
--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||
--font-sign: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif;
|
||||
}
|
||||
|
||||
/* ---------- Reset-ish ---------- */
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-text-size-adjust: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100dvh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--paper);
|
||||
color: var(--ink);
|
||||
font-family: var(--font-body);
|
||||
font-size: 1.0625rem;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--gold);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Lets full-width bars keep their text aligned to the content column */
|
||||
.site-header,
|
||||
.site-footer,
|
||||
main {
|
||||
padding-inline: max(var(--gutter), calc((100% - var(--measure)) / 2));
|
||||
}
|
||||
|
||||
/* ---------- Skip link ---------- */
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
left: var(--gutter);
|
||||
top: -4rem;
|
||||
z-index: 10;
|
||||
padding: 0.6rem 1rem;
|
||||
background: var(--gold);
|
||||
color: var(--ink);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
top: 0.5rem;
|
||||
}
|
||||
|
||||
/* ---------- Header ---------- */
|
||||
.site-header {
|
||||
background: var(--blue);
|
||||
color: var(--white);
|
||||
border-bottom: 6px solid var(--gold);
|
||||
padding-block: 1rem 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem 2rem;
|
||||
}
|
||||
|
||||
.masthead {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.9rem;
|
||||
padding-bottom: 0.9rem;
|
||||
}
|
||||
|
||||
#header-icon {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
object-fit: contain;
|
||||
background: var(--white);
|
||||
padding: 4px;
|
||||
border-radius: 4px;
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.site-header h1 {
|
||||
margin: 0;
|
||||
font-family: var(--font-sign);
|
||||
font-weight: 900;
|
||||
font-size: clamp(1.5rem, 4.5vw, 2.25rem);
|
||||
line-height: 1;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
/* ---------- Nav ---------- */
|
||||
.site-header nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.site-header nav a {
|
||||
display: block;
|
||||
padding: 0.7rem 1rem 0.8rem;
|
||||
color: var(--white);
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
border-bottom: 4px solid transparent;
|
||||
margin-bottom: -6px;
|
||||
/* sits on top of the gold rule */
|
||||
}
|
||||
|
||||
.site-header nav a:hover {
|
||||
border-bottom-color: var(--gold);
|
||||
}
|
||||
|
||||
/* Set by app.js for the current page */
|
||||
.site-header nav a[aria-current="page"] {
|
||||
background: var(--gold);
|
||||
color: var(--ink);
|
||||
border-bottom-color: var(--gold);
|
||||
}
|
||||
|
||||
/* ---------- Loader ---------- */
|
||||
#loader {
|
||||
padding: 0.6rem var(--gutter);
|
||||
background: var(--ink);
|
||||
color: var(--white);
|
||||
font-weight: 600;
|
||||
font-size: 0.95rem;
|
||||
border-left: 8px solid var(--gold);
|
||||
}
|
||||
|
||||
/* ---------- Main content area ---------- */
|
||||
main {
|
||||
flex: 1;
|
||||
padding-block: 2.5rem 4rem;
|
||||
}
|
||||
|
||||
main:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* Baseline styles so loaded pages look right without extra work */
|
||||
main>* {
|
||||
max-width: 44rem;
|
||||
}
|
||||
|
||||
main>.wide {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
main h2,
|
||||
main h3 {
|
||||
font-family: var(--font-sign);
|
||||
font-weight: 900;
|
||||
line-height: 1.1;
|
||||
letter-spacing: -0.015em;
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
main h2 {
|
||||
font-size: clamp(1.75rem, 5vw, 2.75rem);
|
||||
margin: 0 0 1rem;
|
||||
}
|
||||
|
||||
main h3 {
|
||||
font-size: 1.35rem;
|
||||
margin: 2.25rem 0 0.5rem;
|
||||
}
|
||||
|
||||
main p {
|
||||
margin: 0 0 1.1rem;
|
||||
}
|
||||
|
||||
main a {
|
||||
color: var(--blue);
|
||||
text-decoration-thickness: 2px;
|
||||
text-underline-offset: 0.2em;
|
||||
}
|
||||
|
||||
main a:hover {
|
||||
background: var(--gold);
|
||||
text-decoration-color: transparent;
|
||||
}
|
||||
|
||||
main ul {
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
main li {
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
/* ---------- Footer ---------- */
|
||||
.site-footer {
|
||||
background: var(--ink);
|
||||
color: #d8dee8;
|
||||
border-top: 6px solid var(--gold);
|
||||
padding-block: 1.5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
gap: 0.25rem 2rem;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
.site-footer p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.site-footer .tagline {
|
||||
font-family: var(--font-sign);
|
||||
font-weight: 900;
|
||||
color: var(--white);
|
||||
}
|
||||
|
||||
/* ---------- Focus ---------- */
|
||||
:focus-visible {
|
||||
outline: 3px solid var(--gold);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
main :focus-visible {
|
||||
outline-color: var(--blue);
|
||||
}
|
||||
|
||||
/* ---------- Small screens ---------- */
|
||||
@media (max-width: 36rem) {
|
||||
.site-header {
|
||||
padding-top: 0.75rem;
|
||||
}
|
||||
|
||||
.masthead {
|
||||
padding-bottom: 0.6rem;
|
||||
}
|
||||
|
||||
#header-icon {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.site-header nav {
|
||||
width: 100%;
|
||||
margin-inline: calc(var(--gutter) * -1);
|
||||
width: calc(100% + var(--gutter) * 2);
|
||||
}
|
||||
|
||||
.site-header nav a {
|
||||
flex: 1 1 auto;
|
||||
text-align: center;
|
||||
padding-inline: 0.5rem;
|
||||
}
|
||||
|
||||
main {
|
||||
padding-block: 1.75rem 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: no-preference) {
|
||||
.site-header nav a {
|
||||
transition: border-color 0.12s;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- Join form ---------- */
|
||||
.form {
|
||||
max-width: 44rem;
|
||||
margin: 0 auto 2rem;
|
||||
background: var(--white);
|
||||
padding: 1.5rem;
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.form h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.form p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.form .field {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.form .field label {
|
||||
display: block;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.form .field input,
|
||||
.form .field textarea {
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.3rem;
|
||||
font-size: 1rem;
|
||||
color: var(--ink);
|
||||
background: var(--paper);
|
||||
transition: border-color 0.2s;
|
||||
}
|
||||
|
||||
.form .field input:focus,
|
||||
.form .field textarea:focus {
|
||||
border-color: var(--gold);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.form .field textarea {
|
||||
resize: vertical;
|
||||
min-height: 8rem;
|
||||
}
|
||||
|
||||
.form .field .hint {
|
||||
display: block;
|
||||
margin: 0.5rem 0 1rem 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.form .hp {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form .btn {
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
background: var(--gold);
|
||||
color: var(--ink);
|
||||
border: none;
|
||||
border-radius: 0.3rem;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
|
||||
.form .btn:hover {
|
||||
background: #e6a800;
|
||||
}
|
||||
|
||||
.form .form-status {
|
||||
margin-top: 1rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.form fieldset.field {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.required-field-asterix {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.form fieldset.field legend {
|
||||
padding: 0;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 600;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.form .field .radio-group input[type="radio"] {
|
||||
width: auto;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
accent-color: var(--blue);
|
||||
}
|
||||
|
||||
.form .field .radio-group {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.25rem;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.radio-group label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0;
|
||||
font-weight: 600;
|
||||
color: var(--ink);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.radio-group label:has(input[type="radio"]:checked) {
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* ---------- Community section ---------- */
|
||||
.community {
|
||||
max-width: 44rem;
|
||||
margin: 2rem auto 0;
|
||||
}
|
||||
|
||||
.community h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.community p {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.community a {
|
||||
color: var(--blue);
|
||||
text-decoration-thickness: 2px;
|
||||
text-underline-offset: 0.2em;
|
||||
}
|
||||
|
||||
.community a:hover {
|
||||
background: var(--gold);
|
||||
text-decoration-color: transparent;
|
||||
}
|
||||
|
||||
/* ---------- Calendar styles ---------- */
|
||||
.calendar {
|
||||
background: var(--white);
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.5rem;
|
||||
padding: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.calendar .cal-controls {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.calendar .cal-controls button {
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--blue);
|
||||
font-size: 1.2rem;
|
||||
cursor: pointer;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.calendar .cal-controls button:hover {
|
||||
color: var(--gold);
|
||||
}
|
||||
|
||||
.calendar .cal-month {
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.calendar .cal-grid {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.calendar .cal-grid th,
|
||||
.calendar .cal-grid td {
|
||||
padding: 0.5rem;
|
||||
text-align: center;
|
||||
border: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
.calendar .cal-grid th {
|
||||
background-color: var(--paper);
|
||||
}
|
||||
|
||||
.calendar .cal-grid td {
|
||||
background-color: var(--paper);
|
||||
}
|
||||
|
||||
.calendar .cal-grid .day {
|
||||
font-weight: 600;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.calendar .cal-grid .today {
|
||||
background-color: var(--gold);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.calendar .cal-grid .event {
|
||||
background-color: var(--gold);
|
||||
color: var(--ink);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.calendar .cal-detail {
|
||||
margin-top: 1rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
.calendar .cal-detail p {
|
||||
margin: 0;
|
||||
font-size: 0.95rem;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
/* ---------- Upcoming events ---------- */
|
||||
.upcoming-title {
|
||||
margin-top: 2rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: 600;
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.event-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.event-list li {
|
||||
padding: 0.75rem 1rem;
|
||||
margin-bottom: 0.5rem;
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.3rem;
|
||||
}
|
||||
|
||||
.event-list li:hover {
|
||||
background: var(--gold);
|
||||
color: var;
|
||||
}
|
||||
|
||||
/* ---------- Landing page ---------- */
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 1.5rem 2.5rem;
|
||||
padding: 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
background: var(--white);
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.hero img {
|
||||
width: 100%;
|
||||
max-width: 11rem;
|
||||
max-height: 11rem;
|
||||
object-fit: contain;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.hero .actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
|
||||
.pillars {
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.pillars-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1.5rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.pillar {
|
||||
background: var(--white);
|
||||
padding: 1.5rem;
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.pillar h4 {
|
||||
margin: 0 0 0.5rem;
|
||||
font-family: var(--font-sign);
|
||||
font-weight: 900;
|
||||
font-size: 1.15rem;
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.pillar .statement {
|
||||
margin: 0 0 0.75rem;
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.callout {
|
||||
background: var(--white);
|
||||
padding: 1.75rem 2rem;
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.callout .actions {
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
padding: 0.7rem 1.25rem;
|
||||
border-radius: 0.3rem;
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--gold);
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: #e6a800;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: var(--paper);
|
||||
color: var(--blue);
|
||||
border: 1px solid var(--rule);
|
||||
}
|
||||
|
||||
.btn-secondary:hover {
|
||||
background: var(--gold);
|
||||
color: var(--ink);
|
||||
border-color: var(--gold);
|
||||
}
|
||||
|
||||
@media (max-width: 48rem) {
|
||||
.hero {
|
||||
grid-template-columns: 1fr;
|
||||
text-align: center;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.hero img {
|
||||
max-width: 7.5rem;
|
||||
max-height: 7.5rem;
|
||||
}
|
||||
|
||||
.hero .actions {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.pillars-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------- About page ---------- */
|
||||
.page-intro {
|
||||
margin-bottom: 2.5rem;
|
||||
}
|
||||
|
||||
.page-intro .lead {
|
||||
max-width: 48rem;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.values-section {
|
||||
background: var(--white);
|
||||
padding: 1.75rem 2rem;
|
||||
margin-bottom: 2.5rem;
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.5rem;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.values-section h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.values {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 1rem 0 0;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0.65rem 1.5rem;
|
||||
}
|
||||
|
||||
.values li {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 0.55rem;
|
||||
margin: 0;
|
||||
padding: 0.55rem 0.75rem;
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--rule);
|
||||
border-radius: 0.35rem;
|
||||
}
|
||||
|
||||
.values-break {
|
||||
grid-column: 1 / -1;
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
li .stance-pro {
|
||||
color: var(--green);
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
li .stance-anti {
|
||||
color: var(--red);
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.85rem;
|
||||
letter-spacing: 0.03em;
|
||||
}
|
||||
|
||||
@media (max-width: 48rem) {
|
||||
.values-section {
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
.values {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Whitespace-only changes.
Reference in new issue
Block a user