diff --git a/src/css/scrumonline.css b/src/css/scrumonline.css index b10f20e..950815c 100644 --- a/src/css/scrumonline.css +++ b/src/css/scrumonline.css @@ -127,7 +127,23 @@ div.card, div.card-flip { /* Card flip */ div.card-overview { - perspective: 1000; + perspective: 1000px; + margin-right: -40px; +} +div.card-overview:first-child { + margin-left: 15px; +} +div.card-overview div.card-container { + float: left; + width: 175px; +} +@media(min-width: 992px) { + div.card-overview { + margin-right: -60px; + } + div.card-overview div.card-container { + width: 210px; + } } div.card.front, div.card.back { -webkit-backface-visibility: hidden; diff --git a/src/index.php b/src/index.php index 022c96c..dac94d0 100644 --- a/src/index.php +++ b/src/index.php @@ -7,13 +7,10 @@ // Find all templates with their own navigation item $navItems = []; -$indexPage; foreach($templates as $index=>$template) { if ($template->isNavigation) $navItems[$index] = $template; - if ($template->isIndex) - $indexPage = $template; } ?> @@ -75,23 +72,17 @@ -
- - render(false) ?> -
+
- - +