theme changes before release

This commit is contained in:
Christian Ulrich 2022-08-29 19:40:59 +02:00
parent 59b827784e
commit 12529d05d5
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
5 changed files with 65 additions and 80 deletions

View File

@ -1408,16 +1408,6 @@
background: #f4f4f4;
}
body.is-loading *, body.is-loading *:before, body.is-loading *:after {
-moz-animation: none !important;
-webkit-animation: none !important;
-ms-animation: none !important;
animation: none !important;
-moz-transition: none !important;
-webkit-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}
/* Type */
@ -2188,6 +2178,9 @@
cursor: default;
list-style: none;
padding-left: 0;
margin: 2em auto 0 auto;
text-align: center;
font-size: 150%;
}
ul.icons li {
@ -3002,7 +2995,7 @@
position: fixed;
top: 0;
width: 100%;
z-index: 10000;
z-index: 2000;
}
#header a {
@ -3251,7 +3244,7 @@
#sidebar > * {
border-top: solid 1px rgba(160, 160, 160, 0.3);
margin: 3em 0 0 0;
margin: 1em 0 0 0;
padding: 3em 0 0 0;
}
@ -3277,31 +3270,17 @@
#intro .logo {
border-bottom: 0;
display: inline-block;
margin: 0 0 1em 0;
overflow: hidden;
position: relative;
width: 4em;
width: 15em;
text-align: center;
}
#intro .logo:before {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px' viewBox='0 0 100 100' preserveAspectRatio='none' zoomAndPan='disable'%3E%3Cpolygon points='0,0 100,0 100,25 50,0 0,25' style='fill:%23f4f4f4' /%3E%3Cpolygon points='0,100 100,100 100,75 50,100 0,75' style='fill:%23f4f4f4' /%3E%3C/svg%3E");
background-position: top left;
background-repeat: no-repeat;
background-size: 100% 100%;
content: '';
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
#intro .logo img {
display: block;
margin-left: -0.25em;
width: 4.5em;
margin: 0 auto;
width: 15em;
}
#intro header h2 {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -37,8 +37,8 @@
<?php
echo '<li>';
echo '<a href="'.$site->url().'">';
echo '<h3>'.$L->get('Homepage').'</h3>';
echo '<p>'.$site->description().'</p>';
echo '<h3>'.$site->title().'</h3>';
echo '<p>'.$site->slogan().'</p>';
echo '</a>';
echo '</li>';

View File

@ -1,4 +1,4 @@
<article class="post">
<article class="post" id="page_content">
<!-- Plugins Page Begin -->
<?php Theme::plugins('pageBegin') ?>
@ -14,7 +14,7 @@
<!-- Cover Image -->
<?php
if($page->coverImage()) {
echo '<a href="'.$page->permalink().'" class="image featured"><img src="'.$page->coverImage().'" alt="Cover Image"></a>';
echo '<img src="'.$page->coverImage().'" alt="Cover Image">';
}
?>

View File

@ -1,8 +1,57 @@
<!-- Intro -->
<section id="intro">
<header>
<h2><?php echo $site->title() ?></h2>
<p><?php echo $site->slogan() ?></p>
<a class="logo" href="<?php echo $site->url(); ?>">
<img src="<?php echo $site->logo(); ?>" alt="<?php echo $site->title(); ?>">
</a>
<ul class="icons">
<?php
if($site->twitter()) {
echo '<li><a href="'.$site->twitter().'" class="fa-twitter"><span class="label">Twitter</span></a></li>';
}
if($site->facebook()) {
echo '<li><a href="'.$site->facebook().'" class="fa-facebook"><span class="label">Facebook</span></a></li>';
}
if($site->codepen()) {
echo '<li><a href="'.$site->codepen().'" class="fa-codepen"><span class="label">CodePen</span></a></li>';
}
if($site->instagram()) {
echo '<li><a href="'.$site->instagram().'" class="fa-instagram"><span class="label">Instagram</span></a></li>';
}
if($site->gitlab()) {
echo '<li><a href="'.$site->gitlab().'" class="fa-gitlab"><span class="label">GitLab</span></a></li>';
}
if($site->github()) {
echo '<li><a href="'.$site->github().'" class="fa-github"><span class="label">GitHub</span></a></li>';
}
if($site->linkedin()) {
echo '<li><a href="'.$site->linkedin().'" class="fa-linkedin"><span class="label">LinkedIn</span></a></li>';
}
if($site->mastodon()) {
echo '<li><a href="'.$site->mastodon().'" class="fa-mastodon"><span class="label">Mastodon</span></a></li>';
}
if( $plugins['all']['pluginRSS']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'rss.xml'.'" class="fa-rss"><span class="label">RSS</span></a></li>';
}
if( $plugins['all']['pluginSitemap']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'sitemap.xml'.'" class="fa-sitemap"><span class="label">Sitemap</span></a></li>';
}
echo '<li><a href="http://schleifengarten.us20.list-manage.com/subscribe?u=5f12c2d7ceffc72c129715765&id=4e698646d4" class="fa-bullhorn"><span class="label">Newsletter</span></a></li>';
?>
</ul>
</header>
</section>
@ -10,48 +59,5 @@
<!-- Footer -->
<section id="footer">
<ul class="icons">
<?php
if($site->twitter()) {
echo '<li><a href="'.$site->twitter().'" class="fa-twitter"><span class="label">Twitter</span></a></li>';
}
if($site->facebook()) {
echo '<li><a href="'.$site->facebook().'" class="fa-facebook"><span class="label">Facebook</span></a></li>';
}
if($site->codepen()) {
echo '<li><a href="'.$site->codepen().'" class="fa-codepen"><span class="label">CodePen</span></a></li>';
}
if($site->instagram()) {
echo '<li><a href="'.$site->instagram().'" class="fa-instagram"><span class="label">Instagram</span></a></li>';
}
if($site->gitlab()) {
echo '<li><a href="'.$site->gitlab().'" class="fa-gitlab"><span class="label">GitLab</span></a></li>';
}
if($site->github()) {
echo '<li><a href="'.$site->github().'" class="fa-github"><span class="label">GitHub</span></a></li>';
}
if($site->linkedin()) {
echo '<li><a href="'.$site->linkedin().'" class="fa-linkedin"><span class="label">LinkedIn</span></a></li>';
}
if($site->mastodon()) {
echo '<li><a href="'.$site->mastodon().'" class="fa-mastodon"><span class="label">Mastodon</span></a></li>';
}
if( $plugins['all']['pluginRSS']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'rss.xml'.'" class="fa-rss"><span class="label">RSS</span></a></li>';
}
if( $plugins['all']['pluginSitemap']->installed() ) {
echo '<li><a href="'.DOMAIN_BASE.'sitemap.xml'.'" class="fa-sitemap"><span class="label">Sitemap</span></a></li>';
}
?>
</ul>
<p class="copyright"><?php echo $site->footer() ?> | <a href="http://www.bludit.com">BLUDIT</a></p>
</section>