Changes to be committed:

new file:   css/style.css
	new file:   theme.php
This commit is contained in:
kjodle 2019-08-11 12:57:09 -04:00
parent 53607aab47
commit f14ac85080
2 changed files with 151 additions and 0 deletions

76
css/style.css Normal file
View File

@ -0,0 +1,76 @@
html {
min-height: 100%;
position: relative;
}
body {
/*
color: #555;
background: #eee;
*/
margin-bottom: 60px;
font-family: monospace;
}
.whiteFont {color: #fff;}
.padding20 {padding: 20px;}
.padding40 {padding: 40px;}
.blueBackground {background-color: #1ab;}
.navbar-default .navbar-toggle {border-color: #888;}
.navbar li {
font-size: 1.2em;
}
.navbar, .navbar-collapse {
border: solid 1px #bbb;
background: none;
}
ul.nav.navbar-nav.navbar-right li {
border-right: solid 1px #fff;
}
ul.nav.navbar-nav.navbar-right li a:hover,
ul.nav.navbar-nav.navbar-right li.active a {
color: #ddd;
background: #777;
/*
border-bottom: 1px solid #1ab;
*/
}
#page-content {
float: left;
}
#subside {
float: right;
color: #ddd;
background: #777;
padding: 0;
}
#about {
padding: 10px;
}
#info {
padding: 10px;
border-top: solid 1em #fff;
}
footer {
bottom: 0;
width: 100%;
font-size: 13px;
position: absolute;
}
/* Bootstrap over-rides */
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
border: none;
}

75
theme.php Normal file
View File

@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= wCMS::get('config','siteTitle') ?> - <?= wCMS::page('title') ?></title>
<meta name="description" content="<?= wCMS::page('description') ?>">
<meta name="keywords" content="<?= wCMS::page('keywords') ?>">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="<?= wCMS::asset('css/style.css') ?>">
<?= wCMS::css() ?>
</head>
<body>
<?= wCMS::alerts() ?>
<?= wCMS::settings() ?>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#menu-collapse">
<span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?= wCMS::url() ?>">
<?= wCMS::get('config','siteTitle') ?>
</a>
</div>
<div class="collapse navbar-collapse" id="menu-collapse">
<ul class="nav navbar-nav navbar-right">
<?= wCMS::menu() ?>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="col-lg-8 padding40" id="page-content">
<?= wCMS::page('content') ?>
</div>
<div class="col-lg-4 padding40" id="subside">
<div id="about">
<?= wCMS::block('subside') ?>
</div>
<div id="info">
<h3>Page info:</h3>
<p><b>Title:</b> <?=wCMS::page('title')?></p>
<p><b>Description:</b> <?=wCMS::page('description')?></p>
<p><b>Keywords:</b> <?=wCMS::page('keywords')?></p>
<p><b>URL:</b> <?=wCMS::url()?></p>
</div>
</div>
</div>
<footer class="container-fluid">
<div class="text-right padding20">
<?= wCMS::footer() ?>
</div>
</footer>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<?= wCMS::js() ?>
</body>
</html>