Fix images in Chrome

This commit is contained in:
2018-07-28 15:03:23 -06:00
parent 2ce4389ce7
commit 313c337b52
2 changed files with 27 additions and 21 deletions
+23 -17
View File
@@ -29,23 +29,26 @@
}
.menu .logo {
width: 100%;
padding: 1rem 5rem 0;
object-fit: contain;
padding-top: 1em;
min-height: 5rem;
}
.menu section {
display: flex;
min-height: 0;
flex: 1;
}
.menu aside {
flex: 1;
align-self: center;
.menu section aside {
position: relative;
top: 50%;
transform: translateY(-50%);
text-align: right;
}
.menu .mug {
.menu section img {
height: 100%;
float: right;
padding: 2rem;
}
@@ -62,27 +65,22 @@
.project section {
min-height: 0;
flex: 1;
display: flex;
}
.project footer {
display: flex;
justify-content: space-between;
margin: 0 1em;
font-size: 1rem;
font-family: monospace;
}
.project.bottom section {
flex-flow: column;
display: flex;
}
.project.left section p {
align-self: center;
position: relative;
top: 50%;
transform: translateY(-50%);
}
.project.left section img {
height: 100%;
float: right;
padding: 1rem;
}
@@ -96,6 +94,14 @@
padding: 1rem;
}
.project footer {
display: flex;
justify-content: space-between;
margin: 0 1em;
font-size: 1rem;
font-family: monospace;
}
@media all and (max-width: 120rem) {
.grid-item {
width: 25%;