alternative theme improves
This commit is contained in:
parent
c522d56f37
commit
914ddeacf5
|
@ -1,45 +1,48 @@
|
||||||
/*!
|
html {
|
||||||
* Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
|
position: relative;
|
||||||
* Copyright 2013-2017 Start Bootstrap
|
min-height: 100%;
|
||||||
* Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
|
|
||||||
*/
|
|
||||||
|
|
||||||
header {
|
|
||||||
padding: 154px 0 100px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
body {
|
||||||
header {
|
/* Margin bottom for footer height */
|
||||||
padding: 156px 0 100px;
|
margin-bottom: 60px;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
section {
|
||||||
padding: 150px 0;
|
padding: 150px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-dark {
|
/* Home - Header */
|
||||||
background: #333 !important;
|
header.welcome {
|
||||||
|
padding: 154px 0 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bg-light-gray {
|
@media (min-width: 992px) {
|
||||||
background: #eee;
|
header.welcome {
|
||||||
color: #444;
|
padding: 156px 0 100px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Alternate the background color */
|
/* Footer */
|
||||||
section.page:nth-child(even) {
|
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;
|
background: #FAFAFA;
|
||||||
}
|
}
|
||||||
|
|
||||||
a.page-title {
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.page-description {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
font-weight: 300;
|
|
||||||
}
|
|
||||||
.page-cover-image {
|
.page-cover-image {
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
background-position: center;
|
background-position: center;
|
||||||
|
@ -48,8 +51,4 @@ a.page-title {
|
||||||
.nav-link {
|
.nav-link {
|
||||||
font-size: 0.8em;
|
font-size: 0.8em;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
font-size: 0.8em;
|
|
||||||
}
|
}
|
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
|
@ -1,7 +1,5 @@
|
||||||
<!-- Footer -->
|
<footer class="footer bg-dark">
|
||||||
<footer class="py-4 bg-dark">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<p class="m-0 text-center text-white"><?php echo $site->footer(); ?></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>
|
||||||
<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>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- Header -->
|
<!-- Welcome message -->
|
||||||
<header class="bg-light-gray">
|
<header class="welcome bg-light">
|
||||||
<div class="container text-center">
|
<div class="container text-center">
|
||||||
<!-- Site title -->
|
<!-- Site title -->
|
||||||
<h1><?php echo $site->slogan() ?></h1>
|
<h1><?php echo $site->slogan() ?></h1>
|
||||||
|
@ -13,17 +13,17 @@
|
||||||
|
|
||||||
<!-- Print all the content -->
|
<!-- Print all the content -->
|
||||||
<?php foreach ($content as $page): ?>
|
<?php foreach ($content as $page): ?>
|
||||||
<section class="page">
|
<section class="home-page">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-8 mx-auto">
|
<div class="col-lg-8 mx-auto">
|
||||||
<!-- Page title -->
|
<!-- Page title -->
|
||||||
<a class="page-title" href="<?php echo $page->permalink() ?>">
|
<a class="text-dark" href="<?php echo $page->permalink() ?>">
|
||||||
<h2 class="page-title"><?php echo $page->title() ?></h2>
|
<h2><?php echo $page->title() ?></h2>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!-- Page content, until the pagebreak -->
|
<!-- Page content until the pagebreak -->
|
||||||
<div class="page-content">
|
<div>
|
||||||
<?php echo $page->contentBreak() ?>
|
<?php echo $page->contentBreak() ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<!-- Navigation -->
|
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="navbar-brand" href="<?php echo $site->url() ?>">
|
<a class="navbar-brand" href="<?php echo $site->url() ?>">
|
||||||
<span class="text-white"><?php echo $site->title() ?></span>
|
<span class="text-white"><?php echo $site->title() ?></span>
|
||||||
|
|
Loading…
Reference in New Issue