Compare commits
7 Commits
b3b03bdf88
...
53f76e20f5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
53f76e20f5 | ||
|
|
b11dfc0337 | ||
|
|
a6f11e08ab | ||
|
|
d99a706689 | ||
|
|
c1c572fdce | ||
|
|
d772a3c8aa | ||
|
|
70b33b59bd |
|
|
@ -32,9 +32,11 @@
|
|||
@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';
|
||||
|
|
|
|||
3
resources/css/blocks/wp-block-pullquote.css
Normal file
3
resources/css/blocks/wp-block-pullquote.css
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
.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,7 +1,8 @@
|
|||
.post-header {
|
||||
@apply bg-purple-50 text-primary py-32;
|
||||
|
||||
h1 {
|
||||
h1.post-header__title,
|
||||
h2.post-header__title {
|
||||
@apply uppercase font-medium text-7xl;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
|
|
|||
5
resources/css/pages/single-articles.css
Normal file
5
resources/css/pages/single-articles.css
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
.page--single-articles {
|
||||
h1 {
|
||||
@apply mb-6;
|
||||
}
|
||||
}
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
}
|
||||
}
|
||||
article {
|
||||
@apply py-12 my-12;
|
||||
/* @apply py-12 my-12; */
|
||||
.article-title {
|
||||
@apply mb-8;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ $articleContent = get_the_content($articleID);
|
|||
$articleTitle = get_the_title($articleID);
|
||||
?>
|
||||
|
||||
<div class="article-content">
|
||||
<article class="article-content">
|
||||
<h1><?php echo $articleTitle; ?></h1>
|
||||
<?php echo $articleContent; ?>
|
||||
</div>
|
||||
</article>
|
||||
|
|
@ -39,7 +39,11 @@ $hasThumbnail = has_post_thumbnail();
|
|||
</p>
|
||||
|
||||
</div>
|
||||
<h1> <?php echo $revueTitle; ?></h1>
|
||||
<?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; ?>
|
||||
|
||||
<div class="post-details">
|
||||
<?php if ($post_type === 'revues') : ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user