some style updates

This commit is contained in:
chrisbell committed 2026-11-20 12:46:37 -06:00
1 parent 077c35b7ab
commit 10aee2f27f
7 files changed
+269 -66

No files matched your search

+2 -2
View File
@@ -21,8 +21,8 @@
<nav aria-label="Main">
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#community">Community</a>
<a href="#blog">Blog</a>
<!-- <a href="#community">Community</a> -->
<a href="#news">News</a>
<a href="#join">Join</a>
</nav>
</header>
+31 -25
View File
@@ -1,29 +1,33 @@
<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 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="pillar wide">
<h3>Our mission</h3>
<div>
<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>
<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="pillar wide">
<h3>Our vision</h3>
<div>
<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>
</div>
</section>
<section class="rule-section wide">
<h3>Our values</h3>
<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>
@@ -44,8 +48,10 @@
</ul>
</section>
<section class="callout wide">
<h3>Ready to get involved?</h3>
<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>
<p class="actions"><a class="btn btn-primary" href="#join">Request to join</a></p>
<div class="actions">
<a class="btn btn-primary" href="#join">Request to join</a>
</div>
</section>
+29 -23
View File
@@ -1,32 +1,38 @@
<section class="hero wide">
<img src="assets/logo.png" alt="">
<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>
<p class="actions">
<a class="btn btn-primary" href="#join">Join the community</a> |
<a class="btn btn-secondary" href="#about">Learn more</a>
</p>
</section>
<section class="pillar wide">
<h3>Our mission</h3>
<img src="assets/logo.png" alt="Alabama Progress logo">
<div>
<p class="statement">Empower Alabamians to create positive change.</p>
<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="pillar wide">
<h3>Our vision</h3>
<div>
<p class="statement">A strong and victorious future of progress.</p>
<p><a href="#about">Read more about who we are</a></p>
<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">
<h3>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>
<p class="actions"><a class="btn btn-primary" href="#join">Request to join</a></p>
<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>
+4 -3
View File
@@ -1,11 +1,12 @@
<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.
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.
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>
+3 -3
View File
@@ -1,7 +1,7 @@
<div data-blog-intro>
<h2>Blog</h2>
<div data-news-intro>
<h2>News</h2>
<p class="lead">News and updates from the Alabama Progress administrators.</p>
</div>
<div data-blog>
<div data-news>
<p class="muted">Loading posts…</p>
</div>
+1 -1
View File
@@ -6,7 +6,7 @@ const routes = {
home: { url: 'pages/home.html', title: 'Home' },
about: { url: 'pages/about.html', title: 'About' },
community: { url: 'pages/community.html', title: 'Community' },
blog: { url: 'pages/blog.html', title: 'Blog' },
news: { url: 'pages/news.html', title: 'News' },
join: { url: 'pages/join.html', title: 'Join' },
privacy: { url: 'pages/privacy-policy.html', title: 'Privacy Policy' },
};
+199 -9
View File
@@ -292,15 +292,6 @@ main :focus-visible {
}
}
/* ---------- About page ---------- */
li .stance-pro {
color: var(--green);
}
li .stance-anti {
color: var(--red);
}
/* ---------- Join form ---------- */
.form {
max-width: 44rem;
@@ -567,3 +558,202 @@ li .stance-anti {
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;
}
}