Compare commits

..

No commits in common. "255717ff4bbefc41128c3333ef117ed4182c76e6" and "b60292bb2056941ee94f1e934e1215406615af10" have entirely different histories.

7 changed files with 20 additions and 26 deletions

View File

@ -19,7 +19,6 @@ body.front-end {
h2 { h2 {
@apply text-4xl; @apply text-4xl;
line-height: 1.2;
} }
} }
@ -75,11 +74,8 @@ h2.chapter-section__title {
font-family: 'Nunito Sans', sans-serif !important; font-family: 'Nunito Sans', sans-serif !important;
} }
.subtitle-big { .subtitle-big {
@apply text-4xl md:text-5xl font-normal uppercase fjalla pb-6; @apply text-5xl font-normal uppercase fjalla pb-6;
line-height: 1.2;
@screen lg {
line-height: 1.3; line-height: 1.3;
} text-rendering: geometricPrecision;
/* text-rendering: geometricPrecision; */ font-weight: 100 !important;
font-weight: 400 !important;
} }

View File

@ -59,7 +59,7 @@
} }
&__issue-title { &__issue-title {
@apply text-3xl lg:text-5xl uppercase pb-6 md:pb-12; @apply lg:text-5xl text-4xl uppercase pb-6 md:pb-12;
line-height: 1.2; line-height: 1.2;
font-weight: 100 !important; font-weight: 100 !important;
} }

View File

@ -2,9 +2,6 @@
@apply w-fit bg-transparent px-3 py-2 relative text-primary border border-primary; @apply w-fit bg-transparent px-3 py-2 relative text-primary border border-primary;
&:hover { &:hover {
a {
@apply text-white;
}
@apply bg-primary text-white; @apply bg-primary text-white;
} }
} }

View File

@ -1,5 +1,5 @@
footer { footer {
@apply w-full mx-auto px-4 md:px-12 pb-6 md:pb-32; @apply w-full mx-auto px-4 md:px-12 pb-32;
.section-title { .section-title {
@apply text-lg nunito uppercase font-bold tracking-widest mb-6; @apply text-lg nunito uppercase font-bold tracking-widest mb-6;

View File

@ -36,12 +36,12 @@
@apply flex @apply flex
flex-col flex-col
lg:flex-row lg:flex-row
lg:items-center items-center
justify-around justify-around
lg:justify-between; lg:justify-between;
ul { ul {
@apply flex flex-col lg:flex-row @apply lg:flex
gap-x-2 gap-x-2
lg:gap-x-4 lg:gap-x-4
xl:gap-x-8 xl:gap-x-8
@ -192,8 +192,8 @@
font-medium font-medium
py-8 py-8
text-lg text-lg
pb-2
lg:pb-0; pb-0;
.sub-menu li { .sub-menu li {
@apply text-sm; @apply text-sm;
@ -226,8 +226,8 @@
} */ } */
.primary-menu-container { .primary-menu-container {
li.menu-item { li.menu-item {
/* @apply mx-auto */ @apply mx-auto
/* !text-left */ /* !text-left */;
} }
} }
} }

View File

@ -10,7 +10,7 @@
@apply max-w-screen-2xl w-full mx-auto flex justify-between items-center; @apply max-w-screen-2xl w-full mx-auto flex justify-between items-center;
ul { ul {
@apply flex flex-col lg:flex-row justify-between gap-4; @apply block lg:flex justify-between gap-4;
} }
a { a {
@apply font-normal text-lg; @apply font-normal text-lg;
@ -44,6 +44,12 @@
@apply hidden lg:block; @apply hidden lg:block;
} }
/* @media (max-width: 1024px) {
header[nav-open='true'] .secondary-menu-container {
@apply block;
}
} */
@media (max-width: 960px) { @media (max-width: 960px) {
.secondary-menu-container { .secondary-menu-container {
@apply w-fit mx-0; @apply w-fit mx-0;

View File

@ -20,12 +20,7 @@ $cover = get_the_post_thumbnail_url($articleID);
$terms = get_the_terms($articleID, 'etiquettes'); $terms = get_the_terms($articleID, 'etiquettes');
if ($terms): ?> if ($terms): ?>
<?php foreach ($terms as $term): ?> <?php foreach ($terms as $term): ?>
<li class="article-card__tag article-tag"><?php echo esc_html($term->name); ?></li>
<li class="article-card__tag article-tag">
<a href="<?php echo add_query_arg('etiquette', $tag->slug, get_post_type_archive_link('articles')); ?>">
<?php echo esc_html($term->name); ?>
</a>
</li>
<?php endforeach; ?> <?php endforeach; ?>
<?php endif; ?> <?php endif; ?>