switch floats to flexboxes, header fixes

This commit is contained in:
jake committed 2019-10-18 11:14:07 -04:00
1 parent 79c8572fc4
commit 0398587d3c
6 files changed
+44 -36

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
body {
// Safari iOS menu bar reappers below 44px:
// https://www.eventbrite.com/engineering/mobile-safari-why/
padding-bottom: 50px !important;
padding-bottom: 45px !important;
// Allows content to fill the viewport and go beyond the bottom
height: 100%;
// Allows you to scroll below the viewport; default value is visible
+1 -3
View File
@@ -16,8 +16,6 @@ body#home {
}
footer div {
line-height: 1.7;
&#panda {
display: none;
}
@@ -34,7 +32,7 @@ body#home {
&#info {
font-size: 0.7em;
line-height: 2;
line-height: 2.1; // magic numbers don't judge
span#copyright::after {
content: "\A";
+19 -6
View File
@@ -2,16 +2,19 @@
// Responsive Blog
body#notes {
padding: 10px 20px 30px 20px;
padding: 0 20px;
width: 100%;
max-width: 100%;
header {
nav {
padding: 5px 0;
a#logo {
padding: 10px;
img, svg {
height: 55px;
height: 60px;
width: auto;
}
@@ -20,8 +23,18 @@ body#notes {
}
}
ul li {
width: 50px;
ul {
font-size: 1.75em;
margin-right: 10px;
li {
width: 55px;
// hide home emoji on mobile -- logo probably suffices?
// &:first-child {
// display: none;
// }
}
}
}
}
@@ -45,7 +58,7 @@ body#notes {
}
}
main#archive section.year div {
main#archive section.year {
font-size: 1em;
}