1
0
Fork 0

[CSS, SITE] migrate to bootstrap v4-beta

This commit is contained in:
Jannik Beyerstedt 2017-08-19 01:35:03 +02:00
parent f30049a8ac
commit a59227a733
31 changed files with 208 additions and 197 deletions

View file

@ -9,15 +9,15 @@
<footer class="section">
<div class="container">
<div class="row">
<div class="col-4 col-xxs-12">
<div class="col-sm-4 col-12">
<?php echo $site->footer_left()->kirbytext(); ?>
</div>
<div class="col-4 col-xxs-12 center">
<div class="col-sm-4 col-12 text-sm-center">
<?php echo $site->footer_center()->kirbytext(); ?>
</div>
<div class="col-4 col-xxs-12 right">
<div class="col-sm-4 col-12 text-sm-right">
<a href="https://github.com/jbeyerstedt"><img src="<?php echo $site->url()?>/assets/images/githubicon.png" alt="github icon"></a>
<img src="<?php echo $site->url()?>/assets/images/html5icon.png" alt="html5 icon">
<img src="<?php echo $site->url()?>/assets/images/css3icon.png" alt="css3 icon">

View file

@ -21,7 +21,7 @@ if ($page->depth() == 1) {
?>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label class="hidden-sm-up" for="nav-trigger">Menü</label>
<label class="d-sm-none" for="nav-trigger">Menü</label>
<nav class="mobile">
<ul class="nav mobileNav">
@ -50,7 +50,7 @@ if ($page->depth() == 1) {
<?php endif; ?>
<nav aria-hidden="true">
<ul class="nav hidden-xs-down">
<ul class="nav d-none d-sm-block">
<?php if(!$subnav) : ?>
<?php foreach ($site->children()->visible() as $p) : ?>
<a href="<?php echo $p->url()?>" <?php echo ($page == $p || $page->parent() == $p)?'class="active"':'' ?>><li><?php echo $p->title() ?></li></a>

View file

@ -26,9 +26,9 @@ if( $page->isHomePage() ) {
<meta name="robots" content="<?php echo $page->meta_robots()->html() ?>">
<?php endif; ?>
<?php echo css('assets/css/foundation.css') ?>
<?php echo css('assets/css/foundation.css?v2') ?>
<?php echo css('assets/css/main.css') ?>
<?php echo css('assets/css/main.css?v2') ?>
<?php echo css('@auto') ?>