some style updates
This commit is contained in:
1 parent
077c35b7ab
commit
10aee2f27f
7 files changed
+269
-66
No files matched your search
+2
-2
@@ -21,8 +21,8 @@
|
|||||||
<nav aria-label="Main">
|
<nav aria-label="Main">
|
||||||
<a href="#home">Home</a>
|
<a href="#home">Home</a>
|
||||||
<a href="#about">About</a>
|
<a href="#about">About</a>
|
||||||
<a href="#community">Community</a>
|
<!-- <a href="#community">Community</a> -->
|
||||||
<a href="#blog">Blog</a>
|
<a href="#news">News</a>
|
||||||
<a href="#join">Join</a>
|
<a href="#join">Join</a>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|||||||
+31
-25
@@ -1,29 +1,33 @@
|
|||||||
<h2>About Alabama Progress</h2>
|
<header class="page-intro wide">
|
||||||
<p class="lead">Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current
|
<h2>About Alabama Progress</h2>
|
||||||
social and political issues, and also connecting, organizing, and collaborating on political actions of consequence
|
<p class="lead">Alabama Progress is a community of like-minded Alabamians who enjoy discussing and debating current
|
||||||
primarily in our local communities.</p>
|
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">
|
<section class="pillars wide" aria-labelledby="about-pillars-heading">
|
||||||
<h3>Our mission</h3>
|
<h3 id="about-pillars-heading">What drives our work</h3>
|
||||||
<div>
|
<div class="pillars-grid">
|
||||||
<p class="statement">Empower Alabamians to create positive change.</p>
|
<article class="pillar">
|
||||||
<p>Our mission is to empower Alabamians to create positive change and pursue forward progress by creating
|
<h4>Our mission</h4>
|
||||||
connections, building coalitions, encouraging active participation in processes both political and non-political,
|
<p class="statement">Empower Alabamians to create positive change.</p>
|
||||||
and dissolving the barrier between those who seek to represent and the represented.</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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="pillar wide">
|
<section class="values-section wide" aria-labelledby="values-heading">
|
||||||
<h3>Our vision</h3>
|
<h3 id="values-heading">Our values</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>
|
|
||||||
<ul class="values">
|
<ul class="values">
|
||||||
<li><strong class="stance-pro">Pro</strong> Racial Justice</li>
|
<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> Union</li>
|
||||||
@@ -44,8 +48,10 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="callout wide">
|
<section class="callout wide" aria-labelledby="about-callout-heading">
|
||||||
<h3>Ready to get involved?</h3>
|
<h3 id="about-callout-heading">Ready to get involved?</h3>
|
||||||
<p>Reach out and say hello. We’d love to have you.</p>
|
<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>
|
</section>
|
||||||
+29
-23
@@ -1,32 +1,38 @@
|
|||||||
<section class="hero wide">
|
<section class="hero wide">
|
||||||
<img src="assets/logo.png" alt="">
|
<img src="assets/logo.png" alt="Alabama Progress logo">
|
||||||
<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>
|
|
||||||
<div>
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="pillar wide">
|
<section class="pillars wide" aria-labelledby="pillars-heading">
|
||||||
<h3>Our vision</h3>
|
<h3 id="pillars-heading">What drives our work</h3>
|
||||||
<div>
|
<div class="pillars-grid">
|
||||||
<p class="statement">A strong and victorious future of progress.</p>
|
<article class="pillar">
|
||||||
<p><a href="#about">Read more about who we are</a></p>
|
<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>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="callout wide">
|
<section class="callout wide" aria-labelledby="callout-heading">
|
||||||
<h3>Ready to get involved?</h3>
|
<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>
|
<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>
|
<div class="actions">
|
||||||
|
<a class="btn btn-primary" href="#join">Request to join</a>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
+4
-3
@@ -1,11 +1,12 @@
|
|||||||
<h2>Ready to get involved?</h2>
|
<h2>Ready to get involved?</h2>
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
If you’re interested in becoming a part of our community, reach out and say
|
If you're interested in becoming a part of our community, reach out and say
|
||||||
hello. We’d love to have you.
|
hello. We'd love to have you.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
We run a private Discord community for our members. You can request to join by
|
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>
|
</p>
|
||||||
|
|
||||||
<form class="form" data-join>
|
<form class="form" data-join>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<div data-blog-intro>
|
<div data-news-intro>
|
||||||
<h2>Blog</h2>
|
<h2>News</h2>
|
||||||
<p class="lead">News and updates from the Alabama Progress administrators.</p>
|
<p class="lead">News and updates from the Alabama Progress administrators.</p>
|
||||||
</div>
|
</div>
|
||||||
<div data-blog>
|
<div data-news>
|
||||||
<p class="muted">Loading posts…</p>
|
<p class="muted">Loading posts…</p>
|
||||||
</div>
|
</div>
|
||||||
+1
-1
@@ -6,7 +6,7 @@ const routes = {
|
|||||||
home: { url: 'pages/home.html', title: 'Home' },
|
home: { url: 'pages/home.html', title: 'Home' },
|
||||||
about: { url: 'pages/about.html', title: 'About' },
|
about: { url: 'pages/about.html', title: 'About' },
|
||||||
community: { url: 'pages/community.html', title: 'Community' },
|
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' },
|
join: { url: 'pages/join.html', title: 'Join' },
|
||||||
privacy: { url: 'pages/privacy-policy.html', title: 'Privacy Policy' },
|
privacy: { url: 'pages/privacy-policy.html', title: 'Privacy Policy' },
|
||||||
};
|
};
|
||||||
|
|||||||
+199
-9
@@ -292,15 +292,6 @@ main :focus-visible {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------- About page ---------- */
|
|
||||||
li .stance-pro {
|
|
||||||
color: var(--green);
|
|
||||||
}
|
|
||||||
li .stance-anti {
|
|
||||||
color: var(--red);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ---------- Join form ---------- */
|
/* ---------- Join form ---------- */
|
||||||
.form {
|
.form {
|
||||||
max-width: 44rem;
|
max-width: 44rem;
|
||||||
@@ -566,4 +557,203 @@ li .stance-anti {
|
|||||||
.event-list li:hover {
|
.event-list li:hover {
|
||||||
background: var(--gold);
|
background: var(--gold);
|
||||||
color: var;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user