Browse Source
Stuff #2
Trying to fix the footer, still needs work
added a few more default images
Added user image to post , on post page.
master
No known key found for this signature in database
GPG Key ID: F4D11954ECAEF495
4 changed files with
10 additions and
3 deletions
-
css/gray-matter.css
-
BIN
img/graymatter.png
-
BIN
img/no-image.jpg
-
php/page.php
|
@ -13,12 +13,12 @@ html { |
|
|
font-weight: 300; |
|
|
font-weight: 300; |
|
|
height: 105%; |
|
|
height: 105%; |
|
|
margin: 0; |
|
|
margin: 0; |
|
|
padding: 0; |
|
|
|
|
|
text-shadow: 0 1px 3px rgb(0 0 0 / 50%); |
|
|
text-shadow: 0 1px 3px rgb(0 0 0 / 50%); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
body { |
|
|
body { |
|
|
background-color: #333333; |
|
|
background-color: #333333; |
|
|
|
|
|
padding-bottom: 2.5em; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
h1 { |
|
|
h1 { |
|
@ -44,6 +44,11 @@ h3, a:link, a:visited { |
|
|
transition: color 250ms; |
|
|
transition: color 250ms; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
h6.card-subtitle { |
|
|
|
|
|
color: #7e7d7e; |
|
|
|
|
|
font-size: 14px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
.home { |
|
|
.home { |
|
|
margin: 0 0 2.0em 0; |
|
|
margin: 0 0 2.0em 0; |
|
|
padding: 1.5em 1em 1em 1em; |
|
|
padding: 1.5em 1em 1em 1em; |
|
|
Width:
|
Height:
|
Size: 64 KiB
|
Width:
|
Height:
|
Size: 5.9 KiB
|
|
@ -24,8 +24,10 @@ |
|
|
|
|
|
|
|
|
<?php echo $page->content(); ?> |
|
|
<?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-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->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"> |
|
|
<div class="text-right"> |
|
|
<?php foreach (Theme::socialNetworks() as $key=>$label): ?> |
|
|
<?php foreach (Theme::socialNetworks() as $key=>$label): ?> |
|
|