some style updates
This commit is contained in:
1 parent
53d3703f95
commit
43566730e7
4 files changed
+251
-18
No files matched your search
@@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<p class="tagline">Progress begins with you.</p>
|
<p class="tagline">Progress begins with you.</p>
|
||||||
|
<p>Made with ♥ by <a href="https://bellsworne.com">Bellsworne</a></p>
|
||||||
<p class="legal">© Alabama Progress</p>
|
<p class="legal">© Alabama Progress</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|||||||
+16
-15
@@ -25,21 +25,22 @@
|
|||||||
<section class="rule-section wide">
|
<section class="rule-section wide">
|
||||||
<h3>Our values</h3>
|
<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>
|
||||||
<li><strong class="stance pro">Pro</strong> Human Rights, including LGBTQ+ and Women’s Rights</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> Marijuana Legalization</li>
|
||||||
<li><strong class="stance pro">Pro</strong> Prison Reform</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> Public Transit</li>
|
||||||
<li><strong class="stance pro">Pro</strong> Environment</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> Medicare Expansion</li>
|
||||||
<li><strong class="stance pro">Pro</strong> Voting Reform</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> Voting Access Expansion</li>
|
||||||
<li><strong class="stance pro">Pro</strong> Direct Ballot Access</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> Privacy</li>
|
||||||
<li><strong class="stance pro">Pro</strong> Homesteader / Unhoused Rights</li>
|
<li><strong class="stance-pro">Pro</strong> Homesteader / Unhoused Rights</li>
|
||||||
<li><strong class="stance anti">Anti</strong> Death Penalty</li>
|
<br>
|
||||||
<li><strong class="stance anti">Anti</strong> Censorship / Government Overreach</li>
|
<li><strong class="stance-anti">Anti</strong> Death Penalty</li>
|
||||||
|
<li><strong class="stance-anti">Anti</strong> Censorship / Government Overreach</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
join</a>.</p>
|
join</a>.</p>
|
||||||
|
|
||||||
<section class="wide" aria-labelledby="events-title">
|
<section class="wide" aria-labelledby="events-title">
|
||||||
<h3 id="events-title">Events</h3>
|
<!-- <h3 id="events-title">Events</h3> -->
|
||||||
|
|
||||||
<div class="calendar" data-calendar>
|
<!-- <div class="calendar" data-calendar>
|
||||||
<div class="cal-controls">
|
<div class="cal-controls">
|
||||||
<button type="button" data-prev aria-label="Previous month">‹</button>
|
<button type="button" data-prev aria-label="Previous month">‹</button>
|
||||||
<p class="cal-month" data-month aria-live="polite"></p>
|
<p class="cal-month" data-month aria-live="polite"></p>
|
||||||
@@ -32,5 +32,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h4 class="upcoming-title">Upcoming</h4>
|
<h4 class="upcoming-title">Upcoming</h4>
|
||||||
<ol class="event-list" data-upcoming></ol>
|
<ol class="event-list" data-upcoming></ol> -->
|
||||||
</section>
|
</section>
|
||||||
+231
@@ -2,6 +2,8 @@
|
|||||||
--blue: #1b3f73;
|
--blue: #1b3f73;
|
||||||
--ink: #14233a;
|
--ink: #14233a;
|
||||||
--gold: #f0b323;
|
--gold: #f0b323;
|
||||||
|
--red: #952626;
|
||||||
|
--green: #318f31;
|
||||||
--paper: #f5f6f4;
|
--paper: #f5f6f4;
|
||||||
--white: #ffffff;
|
--white: #ffffff;
|
||||||
--rule: #c5cbd3;
|
--rule: #c5cbd3;
|
||||||
@@ -279,4 +281,233 @@ main :focus-visible {
|
|||||||
.site-header nav a {
|
.site-header nav a {
|
||||||
transition: border-color 0.12s;
|
transition: border-color 0.12s;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- About page ---------- */
|
||||||
|
li .stance-pro {
|
||||||
|
color: var(--green);
|
||||||
|
}
|
||||||
|
li .stance-anti {
|
||||||
|
color: var(--red);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ---------- 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);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ---------- 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;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user