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; 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 */ /* Type */
@ -2188,6 +2178,9 @@
cursor: default; cursor: default;
list-style: none; list-style: none;
padding-left: 0; padding-left: 0;
margin: 2em auto 0 auto;
text-align: center;
font-size: 150%;
} }
ul.icons li { ul.icons li {
@ -3002,7 +2995,7 @@
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; width: 100%;
z-index: 10000; z-index: 2000;
} }
#header a { #header a {
@ -3251,7 +3244,7 @@
#sidebar > * { #sidebar > * {
border-top: solid 1px rgba(160, 160, 160, 0.3); 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; padding: 3em 0 0 0;
} }
@ -3277,31 +3270,17 @@
#intro .logo { #intro .logo {
border-bottom: 0; border-bottom: 0;
display: inline-block;
margin: 0 0 1em 0; margin: 0 0 1em 0;
overflow: hidden; overflow: hidden;
position: relative; 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 { #intro .logo img {
display: block; display: block;
margin-left: -0.25em; margin: 0 auto;
width: 4.5em; width: 15em;
} }
#intro header h2 { #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 <?php
echo '<li>'; echo '<li>';
echo '<a href="'.$site->url().'">'; echo '<a href="'.$site->url().'">';
echo '<h3>'.$L->get('Homepage').'</h3>'; echo '<h3>'.$site->title().'</h3>';
echo '<p>'.$site->description().'</p>'; echo '<p>'.$site->slogan().'</p>';
echo '</a>'; echo '</a>';
echo '</li>'; echo '</li>';

View File

@ -1,4 +1,4 @@
<article class="post"> <article class="post" id="page_content">
<!-- Plugins Page Begin --> <!-- Plugins Page Begin -->
<?php Theme::plugins('pageBegin') ?> <?php Theme::plugins('pageBegin') ?>
@ -14,7 +14,7 @@
<!-- Cover Image --> <!-- Cover Image -->
<?php <?php
if($page->coverImage()) { 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,15 +1,11 @@
<!-- Intro --> <!-- Intro -->
<section id="intro"> <section id="intro">
<header> <header>
<h2><?php echo $site->title() ?></h2> <a class="logo" href="<?php echo $site->url(); ?>">
<p><?php echo $site->slogan() ?></p> <img src="<?php echo $site->logo(); ?>" alt="<?php echo $site->title(); ?>">
</header> </a>
</section>
<?php Theme::plugins('siteSidebar') ?>
<!-- Footer -->
<section id="footer">
<ul class="icons"> <ul class="icons">
<?php <?php
if($site->twitter()) { if($site->twitter()) {
@ -51,7 +47,17 @@
if( $plugins['all']['pluginSitemap']->installed() ) { 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="'.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> </ul>
</header>
</section>
<?php Theme::plugins('siteSidebar') ?>
<!-- Footer -->
<section id="footer">
<p class="copyright"><?php echo $site->footer() ?> | <a href="http://www.bludit.com">BLUDIT</a></p> <p class="copyright"><?php echo $site->footer() ?> | <a href="http://www.bludit.com">BLUDIT</a></p>
</section> </section>