code refactoring
add mobile header to index.php style and adjust mobile header to work with mobile layout. add to other pages later
This commit is contained in:
parent
a5573058d1
commit
6bffad1412
@ -9,7 +9,8 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<?php include "./includes/header.php" ?>
|
<?php include "./includes/mobile-header.php" ?>
|
||||||
|
<?php include "./includes/header.php" ?>
|
||||||
<?php include "./includes/nav.php" ?>
|
<?php include "./includes/nav.php" ?>
|
||||||
<main>
|
<main>
|
||||||
<section>
|
<section>
|
||||||
|
@ -206,6 +206,19 @@ section {
|
|||||||
@media only screen and (max-width: 600px) {
|
@media only screen and (max-width: 600px) {
|
||||||
.mobile-header {
|
.mobile-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
height: 10vh;
|
||||||
|
width: 100vw;
|
||||||
|
border-radius: 0;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-header span {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mobile-header span img {
|
||||||
|
height: 24px;
|
||||||
|
width: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
@ -221,7 +234,10 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
height: 100vh;
|
||||||
|
width: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user