Compare commits

..

No commits in common. "53f76e20f5906f7b491844c5e939f898cdab1c72" and "b3b03bdf88bbee261c24918371c7cee7f6dfd36c" have entirely different histories.

7 changed files with 5 additions and 20 deletions

View File

@ -32,11 +32,9 @@
@import './pages/single-revues.css';
@import './pages/archive-revues.css';
@import './pages/archive-articles.css';
@import './pages/single-articles.css';
/* ########### LAYOUT ############ */
@import './layout/nav.css';
/* ########### BLOCKS ############ */
@import './blocks/explore-tags.css';
@import './blocks/wp-block-pullquote.css';

View File

@ -1,3 +0,0 @@
.wp-block-pullquote {
@apply text-carhop-purple-500 py-6 fjalla font-bold text-3xl my-6 border-primary pl-4 border-t border-b;
}

View File

@ -1,8 +1,7 @@
.post-header {
@apply bg-purple-50 text-primary py-32;
h1.post-header__title,
h2.post-header__title {
h1 {
@apply uppercase font-medium text-7xl;
line-height: 1.2;
}

View File

@ -1,5 +0,0 @@
.page--single-articles {
h1 {
@apply mb-6;
}
}

View File

@ -51,7 +51,7 @@
}
}
article {
/* @apply py-12 my-12; */
@apply py-12 my-12;
.article-title {
@apply mb-8;
}

View File

@ -4,7 +4,7 @@ $articleContent = get_the_content($articleID);
$articleTitle = get_the_title($articleID);
?>
<article class="article-content">
<div class="article-content">
<h1><?php echo $articleTitle; ?></h1>
<?php echo $articleContent; ?>
</article>
</div>

View File

@ -39,11 +39,7 @@ $hasThumbnail = has_post_thumbnail();
</p>
</div>
<?php if ($post_type === 'revues') : ?>
<h1 class="post-header__title"> <?php echo $revueTitle; ?></h1>
<?php elseif ($post_type === 'articles') : ?>
<h2 class="post-header__title"> <?php echo $revueTitle; ?></h2>
<?php endif; ?>
<h1> <?php echo $revueTitle; ?></h1>
<div class="post-details">
<?php if ($post_type === 'revues') : ?>