alternative theme improves

This commit is contained in:
Diego Najar 2018-01-28 20:06:07 +01:00
parent c522d56f37
commit 914ddeacf5
5 changed files with 41 additions and 45 deletions

View File

@ -1,45 +1,48 @@
/*!
* Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
* Copyright 2013-2017 Start Bootstrap
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
*/
header {
padding: 154px 0 100px;
html {
position: relative;
min-height: 100%;
}
@media (min-width: 992px) {
header {
padding: 156px 0 100px;
}
body {
/* Margin bottom for footer height */
margin-bottom: 60px;
}
section {
padding: 150px 0;
padding: 150px 0;
}
.bg-dark {
background: #333 !important;
/* Home - Header */
header.welcome {
padding: 154px 0 100px;
}
.bg-light-gray {
background: #eee;
color: #444;
@media (min-width: 992px) {
header.welcome {
padding: 156px 0 100px;
}
}
/* Alternate the background color */
section.page:nth-child(even) {
/* Footer */
footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
line-height: 60px;
font-size: 0.8em;
}
.mini-logo {
height: 22px;
padding-bottom: 5px;
}
/* Home - Page */
section.home-page:nth-child(even) { /* Alternate the background color */
background: #FAFAFA;
}
a.page-title {
color: #333;
}
.page-description {
font-size: 1.25rem;
font-weight: 300;
}
.page-cover-image {
background-size: cover;
background-position: center;
@ -48,8 +51,4 @@ a.page-title {
.nav-link {
font-size: 0.8em;
text-transform: uppercase;
}
footer {
font-size: 0.8em;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1,7 +1,5 @@
<!-- Footer -->
<footer class="py-4 bg-dark">
<footer class="footer bg-dark">
<div class="container">
<p class="m-0 text-center text-white"><?php echo $site->footer(); ?></p>
<p class="m-0 text-center text-muted text-uppercase">Powered by <a target="_blank" class="text-white" href="https://www.bludit.com">Bludit</a></p>
<p class="m-0 text-center text-white text-uppercase"><?php echo $site->footer(); ?><span class="ml-5 text-warning">Powered by<img class="mini-logo" src="<?php echo DOMAIN_THEME_IMG.'favicon.png'; ?>"/><a target="_blank" class="text-white" href="https://www.bludit.com">Bludit</a></span></p>
</div>
</footer>

View File

@ -1,5 +1,5 @@
<!-- Header -->
<header class="bg-light-gray">
<!-- Welcome message -->
<header class="welcome bg-light">
<div class="container text-center">
<!-- Site title -->
<h1><?php echo $site->slogan() ?></h1>
@ -13,17 +13,17 @@
<!-- Print all the content -->
<?php foreach ($content as $page): ?>
<section class="page">
<section class="home-page">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<!-- Page title -->
<a class="page-title" href="<?php echo $page->permalink() ?>">
<h2 class="page-title"><?php echo $page->title() ?></h2>
<a class="text-dark" href="<?php echo $page->permalink() ?>">
<h2><?php echo $page->title() ?></h2>
</a>
<!-- Page content, until the pagebreak -->
<div class="page-content">
<!-- Page content until the pagebreak -->
<div>
<?php echo $page->contentBreak() ?>
</div>

View File

@ -1,5 +1,4 @@
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<div class="container">
<a class="navbar-brand" href="<?php echo $site->url() ?>">
<span class="text-white"><?php echo $site->title() ?></span>