1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

layout fixes

This commit is contained in:
Matthias Kretschmann 2016-02-10 02:16:04 +01:00
parent d8bc9823fd
commit fa60663a1f
2 changed files with 7 additions and 2 deletions

View File

@ -13,6 +13,12 @@ $menu-height-md: 73px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
// vertically center everything
display: flex;
align-items: center;
min-height: 420px;
flex-wrap: wrap;
.section { .section {
@media ($screen-md) { @media ($screen-md) {
min-height: calc(100vh - #{$menu-height-md}); min-height: calc(100vh - #{$menu-height-md});

View File

@ -2,7 +2,6 @@
.section { .section {
padding-top: ($spacer * 2); padding-top: ($spacer * 2);
padding-bottom: ($spacer * 2); padding-bottom: ($spacer * 2);
min-height: 420px;
&:last-child { border-bottom: none; } &:last-child { border-bottom: none; }
@ -108,7 +107,7 @@
background: url('../img/northern-lights-poster.jpg') no-repeat center center; background: url('../img/northern-lights-poster.jpg') no-repeat center center;
background-size: cover; background-size: cover;
.row { .row * {
position: relative; position: relative;
z-index: 5; z-index: 5;
} }