Layout improvements for mobile
parent
a303d84044
commit
8f21141fad
|
@ -4,12 +4,18 @@ html,
|
||||||
body {
|
body {
|
||||||
background-color: #09192f;
|
background-color: #09192f;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
|
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
|
||||||
}
|
}
|
||||||
|
|
||||||
a:link,
|
a:link,
|
||||||
|
@ -28,10 +34,12 @@ h6 {
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
|
|
||||||
|
@media only screen and (min-width: 800px) {
|
||||||
header.page-header {
|
header.page-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
svg#dustin-logo {
|
svg#dustin-logo {
|
||||||
margin-bottom: -35px;
|
margin-bottom: -35px;
|
||||||
|
@ -68,10 +76,18 @@ nav.main-nav a:hover {
|
||||||
/* Body */
|
/* Body */
|
||||||
|
|
||||||
main.main-content {
|
main.main-content {
|
||||||
max-width: 10in;
|
|
||||||
margin: 0 auto;
|
|
||||||
color: #e8e8e8;
|
color: #e8e8e8;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-around;
|
||||||
|
}
|
||||||
|
|
||||||
|
main.main-content div.main-content {
|
||||||
|
margin: auto;
|
||||||
|
width: 100%;
|
||||||
|
max-width: 10in;
|
||||||
|
padding: 0 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home h1.my-name {
|
.home h1.my-name {
|
||||||
|
@ -79,6 +95,7 @@ main.main-content {
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
font-size: 48pt;
|
font-size: 48pt;
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
|
text-align: center;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,9 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main id="content" class="main-content" role="main">
|
<main id="content" class="main-content" role="main">
|
||||||
|
<div class="main-content">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="page-footer">
|
<footer class="page-footer">
|
||||||
|
|
Loading…
Reference in New Issue