Apparently you can't transition height, so I need to change my strategy
This commit is contained in:
parent
68262f3250
commit
bb4ea64e79
|
@ -19,14 +19,15 @@ h1, h2, h3, h4, h5, p {
|
||||||
font-family: "Lato", sans-serif;
|
font-family: "Lato", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* TODO: Add some @Media thing with smaller margin-top on vertical devices */
|
||||||
#content {
|
#content {
|
||||||
display: block;
|
display: block;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
width: 750px;
|
width: 750px;
|
||||||
max-width: 90vw;
|
max-width: 90vw;
|
||||||
margin-top: 40vh;
|
margin-top: 25vh;
|
||||||
transform: translateY(-50%)
|
max-height: 50vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-container {
|
#main-container {
|
||||||
|
@ -36,7 +37,6 @@ h1, h2, h3, h4, h5, p {
|
||||||
border-radius: 5px 5px 0px 0px;
|
border-radius: 5px 5px 0px 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-shadow: 3px 3px 7px rgba(0,0,0,0.25);
|
box-shadow: 3px 3px 7px rgba(0,0,0,0.25);
|
||||||
transition: height 0.15s ease-in-out;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#navbar {
|
#navbar {
|
||||||
|
|
Loading…
Reference in New Issue