Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklan committed Oct 30, 2024
1 parent 668da7d commit 79c1c17
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
8 changes: 8 additions & 0 deletions app/Drupal/laszlo/assets/css/03-component/ui/prose.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
border-bottom: 1px solid var(--color-surface-container-high);
}

.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child,
.prose h5:first-child,
.prose h6:first-child {
margin-top: 0;
}

.prose h2 + h3,
.prose h3 + h4,
.prose h4 + h5,
Expand Down
2 changes: 1 addition & 1 deletion app/Drupal/laszlo/components/content/about/about.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.about {
display: flex;
flex-direction: column;
gap: var(--spacing-6);
gap: var(--author-page-content-gap, var(--spacing-12));
}

.about__head {
Expand Down
2 changes: 1 addition & 1 deletion app/Drupal/laszlo/components/content/contact/contact.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.contact {
display: flex;
flex-direction: column;
gap: var(--spacing-6);
gap: var(--author-page-content-gap, var(--spacing-12));
}

.contact__items {
Expand Down
2 changes: 1 addition & 1 deletion app/Drupal/laszlo/components/content/support/support.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.support {
display: flex;
flex-direction: column;
gap: var(--spacing-6);
gap: var(--author-page-content-gap, var(--spacing-12));
}

.support__cta {
Expand Down
2 changes: 2 additions & 0 deletions app/Drupal/laszlo/components/content/support/support.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
{% embed 'laszlo:button' with {
attributes: create_attribute({
'class': ['support__cta'],
'target': '_blank',
'rel': 'noopener noreferrer',
}),
component: 'a',
href: donate_url,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.author-page {
--author-page-content-gap: var(--spacing-12);

display: grid;
gap: var(--spacing-6);
grid-template-columns: 1fr 320px;
Expand All @@ -10,7 +12,7 @@
padding: var(--spacing-16) var(--spacing-12);
border-radius: var(--spacing-4);
background-color: var(--color-surface-container-low);
gap: var(--spacing-12);
gap: var(--author-page-content-gap);
}

.author-page__navigation {
Expand Down

0 comments on commit 79c1c17

Please sign in to comment.