Skip to content
Snippets Groups Projects
Commit 8b49fc66 authored by xaralis's avatar xaralis
Browse files

Battle content-block style bleed even more

parent 3c41089e
Branches
Tags
No related merge requests found
<ul class="unordered-list unordered-list--linked {{ classes }}"> <ul class="unordered-list unordered-list--linked {{ classes }}">
<li> <li>
<a href="#" class="font-bold">{{ cta }}</a> <a href="#" class="font-bold content-block--nostyle">{{ cta }}</a>
</li> </li>
<li> <li>
<a href="#">{{ cta }}</a> <a href="#" class="content-block--nostyle">{{ cta }}</a>
</li> </li>
<li> <li>
<a href="#">{{ cta }}</a> <a href="#" class="content-block--nostyle">{{ cta }}</a>
</li> </li>
<li> <li>
<a href="#">{{ cta }}</a> <a href="#" class="content-block--nostyle">{{ cta }}</a>
</li> </li>
</ul> </ul>
...@@ -46,7 +46,8 @@ ...@@ -46,7 +46,8 @@
@apply row-gap-0; @apply row-gap-0;
} }
.unordered-list--linked { .unordered-list--linked,
.content-block .unordered-list--linked {
li { li {
grid-template-columns: auto 1fr auto; grid-template-columns: auto 1fr auto;
} }
......
...@@ -31,6 +31,16 @@ ...@@ -31,6 +31,16 @@
} }
} }
/* Horizontal rule starts new block */
hr + h1,
hr + h2,
hr + h3,
hr + h4,
hr + h5,
hr + h6 {
@apply mt-0;
}
h1 { h1 {
@apply text-3xl; @apply text-3xl;
} }
...@@ -56,7 +66,7 @@ ...@@ -56,7 +66,7 @@
} }
/* Contact lines are quite frequent so these are blacklisted for anchor style specifically. */ /* Contact lines are quite frequent so these are blacklisted for anchor style specifically. */
a:not(.contact-line) { a:not(.contact-line):not(.content-block--nostyle) {
@apply underline; @apply underline;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment