Stuff #2
Trying to fix the footer, still needs work added a few more default images Added user image to post , on post page.
This commit is contained in:
@@ -13,12 +13,12 @@ html {
|
||||
font-weight: 300;
|
||||
height: 105%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-shadow: 0 1px 3px rgb(0 0 0 / 50%);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #333333;
|
||||
padding-bottom: 2.5em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
@@ -44,6 +44,11 @@ h3, a:link, a:visited {
|
||||
transition: color 250ms;
|
||||
}
|
||||
|
||||
h6.card-subtitle {
|
||||
color: #7e7d7e;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.home {
|
||||
margin: 0 0 2.0em 0;
|
||||
padding: 1.5em 1em 1em 1em;
|
||||
|
||||
BIN
img/graymatter.png
Normal file
BIN
img/graymatter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
BIN
img/no-image.jpg
Normal file
BIN
img/no-image.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
@@ -24,8 +24,10 @@
|
||||
|
||||
<?php echo $page->content(); ?>
|
||||
|
||||
<h6 class="card-subtitle mb-3 text-muted text-right"><?php echo $page->date(); ?> - <?php echo $L->get('Reading time') . ': ' . $page->readingTime(); ?></h6>
|
||||
<h6 class="card-subtitle mb-3 text-muted text-right"><?php echo 'Author: ' . $page->username(); ?></h6>
|
||||
<h6 class="card-subtitle mb-3 text-right"><?php echo $page->date(); ?> - <?php echo $L->get('Reading time') . ': ' . $page->readingTime(); ?></h6>
|
||||
<h6 class="card-subtitle mb-3 text-right">
|
||||
<?php echo $page->user('nickname'); ?> <img src="<?php echo ($page->user('profilePicture')?$page->user('profilePicture'):Theme::src('img/no-image.jpg')) ?>" alt="mdo" width="45" height="45" class="rounded-circle">
|
||||
</h6>
|
||||
|
||||
<div class="text-right">
|
||||
<?php foreach (Theme::socialNetworks() as $key=>$label): ?>
|
||||
|
||||
Reference in New Issue
Block a user