Commit 73dda1ac authored by colmoneill's avatar colmoneill
Browse files

page styles

parent 3522433c
......@@ -238,6 +238,12 @@ blockquote {
margin:0px auto;
margin-bottom:1.5rem;
}
.hero-image{
height: 300px;
width: 100%;
background-position: center center;
background-repeat: no-repeat;
}
.share {
text-align:center;
margin-top:20px;
......
......@@ -13,7 +13,6 @@
<h1 class="posttitle"><?php echo $page->title(); ?></h1>
<div class="wrapfooter">
<span class="author-meta">
<span class="post-name">by <?php echo $page->user('nickname'); ?></span><br/>
<span class="post-date"><?php echo $page->date(); ?></span><span class="dot"></span><span class="post-read"><?php echo $page->readingTime(); ?></span>
</span>
</div>
......@@ -21,7 +20,9 @@
<!-- Begin Cover Image -->
<?php if ($page->coverImage()): ?>
<img class="featured-image img-fluid" src="<?php echo $page->coverImage(); ?>" alt="<?php echo $page->title(); ?>">
<div class="hero-image" style="background-image": url("<?php echo $page->coverImage();?> ")>
<!-- <img class="featured-image img-fluid" src="<?php echo $page->coverImage(); ?>" alt="<?php echo $page->title(); ?>"> -->
</div>
<?php endif ?>
<!-- End Cover Image -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment