set widths of everything in the magical-flying-div interaction 😅
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
so that nothing is left up to the browser 😬
This commit is contained in:
parent
949e5d9c38
commit
cad7f747a8
|
@ -44,14 +44,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="splash-image-content">
|
<div class="splash-image-content">
|
||||||
<div class="position-absolute">
|
<div class="magical-flying-div-anchor">
|
||||||
<img
|
<img
|
||||||
alt="technology food pyramid showing serverscoop at the base, with operating systems and applications on top"
|
alt="technology food pyramid showing serverscoop at the base, with operating systems and applications on top"
|
||||||
src="static/pyramid.svg"
|
src="static/pyramid.png"
|
||||||
class="pyramid-image"
|
class="pyramid-image"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="position-absolute">
|
<div class="magical-flying-div-anchor">
|
||||||
<img
|
<img
|
||||||
alt="A cute looking person squatting like a hipster"
|
alt="A cute looking person squatting like a hipster"
|
||||||
src="static/squatting-person.svg"
|
src="static/squatting-person.svg"
|
||||||
|
@ -125,7 +125,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="horizontal expand justify-center">
|
<div class="horizontal expand justify-center">
|
||||||
<div class="position-absolute">
|
<div class="magical-flying-div-anchor">
|
||||||
<img
|
<img
|
||||||
alt="two nerds looking smug, confident, and happy"
|
alt="two nerds looking smug, confident, and happy"
|
||||||
src="static/arms-crossed-people.svg"
|
src="static/arms-crossed-people.svg"
|
||||||
|
|
|
@ -133,18 +133,27 @@ header img {
|
||||||
.splash-image-content {
|
.splash-image-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
justify-content: right;
|
justify-content: flex-end;
|
||||||
height: 520px;
|
height: 520px;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.pyramid-image {
|
.pyramid-image {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
/* 0 pixels away from the right hand side of the container, 636px wide */
|
||||||
|
right: calc(0px + 636px);
|
||||||
|
width: 636px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.squatting-person {
|
.squatting-person {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 360px;
|
top: 360px;
|
||||||
right: 532px;
|
|
||||||
|
/* 532 pixels away from the right hand side of the container, 173px wide */
|
||||||
|
right: calc(532px + 173px);
|
||||||
|
width: 173px;
|
||||||
}
|
}
|
||||||
.splash > .button-links {
|
.splash > .button-links {
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -187,9 +196,6 @@ header {
|
||||||
margin-top: 100px;
|
margin-top: 100px;
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
.pyramid-image {
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
|
|
||||||
|
@ -205,12 +211,14 @@ header {
|
||||||
}
|
}
|
||||||
.pyramid-image {
|
.pyramid-image {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
/* 1.5vw away from the right hand side of the container, 85vw wide */
|
||||||
width: 85vw;
|
width: 85vw;
|
||||||
right: 3vw;
|
right: calc(1.5vw + 85vw);
|
||||||
}
|
}
|
||||||
.squatting-person {
|
.squatting-person {
|
||||||
top: 42vw;
|
top: 42vw;
|
||||||
right: 74vw;
|
right: calc(72vw + 23vw);
|
||||||
width: 23vw;
|
width: 23vw;
|
||||||
}
|
}
|
||||||
.splash > .button-links {
|
.splash > .button-links {
|
||||||
|
@ -303,6 +311,9 @@ header {
|
||||||
.arms-crossed-people-image {
|
.arms-crossed-people-image {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -10px;
|
top: -10px;
|
||||||
|
|
||||||
|
/* 180px wide, so shift half 180px to center it. */
|
||||||
|
right: calc(0px + (180px * 0.5));
|
||||||
width: 180px;
|
width: 180px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -315,6 +326,7 @@ header {
|
||||||
|
|
||||||
@media screen and (max-width: 1280px) {
|
@media screen and (max-width: 1280px) {
|
||||||
.arms-crossed-people-image {
|
.arms-crossed-people-image {
|
||||||
|
right: calc(0px + (150px * 0.5));
|
||||||
width: 150px;
|
width: 150px;
|
||||||
top: -30px;
|
top: -30px;
|
||||||
}
|
}
|
||||||
|
@ -339,6 +351,7 @@ header {
|
||||||
}
|
}
|
||||||
|
|
||||||
.arms-crossed-people-image {
|
.arms-crossed-people-image {
|
||||||
|
right: calc(0px + (120px * 0.5));
|
||||||
width: 120px;
|
width: 120px;
|
||||||
top: -50px;
|
top: -50px;
|
||||||
}
|
}
|
||||||
|
@ -361,8 +374,10 @@ footer {
|
||||||
margin-bottom: 100px;
|
margin-bottom: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.position-absolute {
|
.magical-flying-div-anchor {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.horizontal {
|
.horizontal {
|
||||||
|
|
Loading…
Reference in New Issue