mirror of
https://git.coop/cotech/website.git
synced 2025-12-17 17:37:33 +00:00
Simplify co-op page markup
Now we no longer have two columns of content.
This commit is contained in:
@ -13,16 +13,9 @@
|
||||
<a class="slice_subtitle" href="{{ page.website }}" target="_blank">{{ page.website }}</a>
|
||||
</section>
|
||||
|
||||
<div class="two-column">
|
||||
<div class="two-column_left">
|
||||
</div>
|
||||
|
||||
<div class="two-column_right">
|
||||
<section>
|
||||
<p>{{ content }}</p>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
<section class="slice">
|
||||
<p>{{ content }}</p>
|
||||
</section>
|
||||
|
||||
{% include footer.html %}
|
||||
</body>
|
||||
|
||||
@ -410,36 +410,3 @@ section.content h2 {
|
||||
display: flex;
|
||||
gap: var(--space-lg);
|
||||
}
|
||||
|
||||
.two-column {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
gap: var(--space-xl);
|
||||
padding: var(--space-lg)
|
||||
}
|
||||
|
||||
@media screen and (width >= 480px) {
|
||||
.two-column {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
|
||||
.two-column p {
|
||||
max-width: 70ch;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.two-column_left {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm);
|
||||
}
|
||||
|
||||
.two-column_right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-lg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user