1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-07-30 19:40:43 +02:00

Merge pull request #8 from restoreddev/classes

Changed location of menu and width of container
This commit is contained in:
Andrew
2018-09-05 16:30:28 -05:00
committed by GitHub
2 changed files with 9 additions and 10 deletions

View File

@@ -96,7 +96,7 @@ button:hover .icon svg {
clear: both;
}
.container {
width: 90%;
width: 1050px;
margin-left: auto;
margin-right: auto;
}
@@ -186,8 +186,7 @@ button:hover .icon svg {
height: 100px;
}
.menu {
margin-left: 2em;
margin-bottom: 1em;
margin-bottom: 1.5em;
}
.modal {
position: fixed;

View File

@@ -1,13 +1,13 @@
<?php partial('header', ['title' => $title, 'subtitle' => $subtitle]) ?>
<div class="menu">
<button class="menu-button" title="Open Menu">
<div class="icon"><?= icon('menu') ?></div>
Menu
</button>
</div>
<div class="container center">
<div class="menu">
<button class="menu-button" title="Open Menu">
<div class="icon"><?= icon('menu') ?></div>
Menu
</button>
</div>
<h1><?= escape($title) ?></h1>
<h3 class="subtitle"><?= escape($subtitle) ?></h3>
<?= code_table($code) ?>