1
0
mirror of https://github.com/restoreddev/phpapprentice.git synced 2025-08-02 12:57:59 +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; clear: both;
} }
.container { .container {
width: 90%; width: 1050px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }
@@ -186,8 +186,7 @@ button:hover .icon svg {
height: 100px; height: 100px;
} }
.menu { .menu {
margin-left: 2em; margin-bottom: 1.5em;
margin-bottom: 1em;
} }
.modal { .modal {
position: fixed; position: fixed;

View File

@@ -1,13 +1,13 @@
<?php partial('header', ['title' => $title, 'subtitle' => $subtitle]) ?> <?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="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> <h1><?= escape($title) ?></h1>
<h3 class="subtitle"><?= escape($subtitle) ?></h3> <h3 class="subtitle"><?= escape($subtitle) ?></h3>
<?= code_table($code) ?> <?= code_table($code) ?>