Compare commits
No commits in common. "53f76e20f5906f7b491844c5e939f898cdab1c72" and "b3b03bdf88bbee261c24918371c7cee7f6dfd36c" have entirely different histories.
53f76e20f5
...
b3b03bdf88
|
|
@ -32,11 +32,9 @@
|
||||||
@import './pages/single-revues.css';
|
@import './pages/single-revues.css';
|
||||||
@import './pages/archive-revues.css';
|
@import './pages/archive-revues.css';
|
||||||
@import './pages/archive-articles.css';
|
@import './pages/archive-articles.css';
|
||||||
@import './pages/single-articles.css';
|
|
||||||
|
|
||||||
/* ########### LAYOUT ############ */
|
/* ########### LAYOUT ############ */
|
||||||
@import './layout/nav.css';
|
@import './layout/nav.css';
|
||||||
|
|
||||||
/* ########### BLOCKS ############ */
|
/* ########### BLOCKS ############ */
|
||||||
@import './blocks/explore-tags.css';
|
@import './blocks/explore-tags.css';
|
||||||
@import './blocks/wp-block-pullquote.css';
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
.post-header {
|
.post-header {
|
||||||
@apply bg-purple-50 text-primary py-32;
|
@apply bg-purple-50 text-primary py-32;
|
||||||
|
|
||||||
h1.post-header__title,
|
h1 {
|
||||||
h2.post-header__title {
|
|
||||||
@apply uppercase font-medium text-7xl;
|
@apply uppercase font-medium text-7xl;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
.page--single-articles {
|
|
||||||
h1 {
|
|
||||||
@apply mb-6;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -51,7 +51,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
article {
|
article {
|
||||||
/* @apply py-12 my-12; */
|
@apply py-12 my-12;
|
||||||
.article-title {
|
.article-title {
|
||||||
@apply mb-8;
|
@apply mb-8;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ $articleContent = get_the_content($articleID);
|
||||||
$articleTitle = get_the_title($articleID);
|
$articleTitle = get_the_title($articleID);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<article class="article-content">
|
<div class="article-content">
|
||||||
<h1><?php echo $articleTitle; ?></h1>
|
<h1><?php echo $articleTitle; ?></h1>
|
||||||
<?php echo $articleContent; ?>
|
<?php echo $articleContent; ?>
|
||||||
</article>
|
</div>
|
||||||
|
|
@ -39,11 +39,7 @@ $hasThumbnail = has_post_thumbnail();
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php if ($post_type === 'revues') : ?>
|
<h1> <?php echo $revueTitle; ?></h1>
|
||||||
<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; ?>
|
|
||||||
|
|
||||||
<div class="post-details">
|
<div class="post-details">
|
||||||
<?php if ($post_type === 'revues') : ?>
|
<?php if ($post_type === 'revues') : ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user