Many things

This commit is contained in:
John O'Nolan 2019-11-06 15:52:09 +07:00
parent 166c34c95c
commit ca6fdac0f0
3 changed files with 63 additions and 8 deletions

View File

@ -38,6 +38,7 @@ li,
dl, dl,
dd, dd,
pre, pre,
table,
video, video,
figure, figure,
figcaption, figcaption,
@ -58,8 +59,8 @@ img {
input, input,
button, button,
textarea, select,
select { textarea, {
font: inherit; font: inherit;
} }
@ -140,7 +141,7 @@ h1 {
} }
h2 { h2 {
margin: 1.5em 0 0.5em 0; margin: 0 0 0.5em 0;
font-size: 4rem; font-size: 4rem;
} }
@media (max-width: 500px) { @media (max-width: 500px) {
@ -150,7 +151,7 @@ h2 {
} }
h3 { h3 {
margin: 1.5em 0 1em 0; margin: 0 0 1em 0;
font-size: 3.2rem; font-size: 3.2rem;
} }
@media (max-width: 500px) { @media (max-width: 500px) {
@ -160,17 +161,17 @@ h3 {
} }
h4 { h4 {
margin: 1.5em 0 1em 0; margin: 0 0 1em 0;
font-size: 2.6rem; font-size: 2.6rem;
} }
h5 { h5 {
margin: 1.5em 0 1em 0; margin: 0 0 1em 0;
font-size: 2.4rem; font-size: 2.4rem;
} }
h6 { h6 {
margin: 1.5em 0 1em 0; margin: 0 0 1em 0;
font-size: 2.2rem; font-size: 2.2rem;
} }

View File

@ -120,7 +120,56 @@ production stylesheet in assets/built/screen.css using: gulp dev
padding: 5px 0; padding: 5px 0;
} }
/* Footer */
/* Menu
/* ---------------------------------------------------------- */
.burger {
position: relative;
display: inline-block;
cursor: pointer;
}
.burger-box {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 33px;
height: 33px;
}
.burger-inner {
width: 100%;
height: 100%;
}
.burger-inner::before,
.burger-inner::after {
position: absolute;
display: block;
top: 0;
left: 0;
bottom: 0;
margin: auto;
content: '';
width: 100%;
height: 1px;
background: #fff;
transition: transform 250ms cubic-bezier(.2,.6,.3,1), width 250ms cubic-bezier(.2,.6,.3,1);
will-change: transform, width;
}
.burger-inner::before {
transform: translatey(-5px);
}
.burger-inner::after {
transform: translatey(5px);
}
/* Footer
/* ---------------------------------------------------------- */
.gh-foot { .gh-foot {
display: flex; display: flex;
align-items: center; align-items: center;

View File

@ -26,6 +26,11 @@
{{@site.title}} {{@site.title}}
{{/if}} {{/if}}
</a> </a>
<a class="burger" role="button">
<div class="burger-box">
<div class="burger-inner"></div>
</div>
</a>
</div> </div>
<div class="gh-head-menu"> <div class="gh-head-menu">
{{navigation}} {{navigation}}