197 lines
3.0 KiB
CSS
197 lines
3.0 KiB
CSS
header {
|
|
width: 100%;
|
|
height: 1434px;
|
|
background-color: #ffd171;
|
|
overflow: hidden;
|
|
}
|
|
|
|
header img {
|
|
user-select: none;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
/* gap: 56px; */
|
|
/* column-gap: 56px; */
|
|
margin: 48px 0 32px;
|
|
}
|
|
|
|
a.nav-link:not(:last-child) {
|
|
margin-right: 56px;
|
|
}
|
|
|
|
a.nav-link {
|
|
text-decoration: none;
|
|
position: relative;
|
|
color: black;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
a.nav-link:after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: 0;
|
|
width: 0%;
|
|
border-bottom: 1px solid black;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
a.nav-link:hover:after {
|
|
width: 100%;
|
|
}
|
|
|
|
.inspectable {
|
|
cursor: cell;
|
|
}
|
|
|
|
.xray {
|
|
opacity: 1;
|
|
transition: opacity 200ms ease;
|
|
}
|
|
|
|
.xray:hover {
|
|
opacity: 0;
|
|
}
|
|
|
|
.image-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: auto;
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#cutting-mat {
|
|
position: absolute;
|
|
/* transform: translate(120px, 824px); */
|
|
}
|
|
|
|
#receipt {
|
|
position: absolute;
|
|
transform: translate(-138px, 190px);
|
|
}
|
|
|
|
#calculator {
|
|
position: absolute;
|
|
transform: translate(800px, 112px);
|
|
}
|
|
|
|
/* Illustrations remain at same layout up to 1024px */
|
|
@media screen and (max-width: 1023px) {
|
|
.intro {
|
|
margin: 0 10%;
|
|
position: absolute;
|
|
transform: translate(0, 382px);
|
|
}
|
|
|
|
.intro h2 {
|
|
font-size: 40px;
|
|
line-height: 52px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
#marker-purple {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
transform: translate(40px, -158px);
|
|
}
|
|
|
|
#billiard-ball {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
transform: translate(130px, -98px);
|
|
}
|
|
|
|
#paperclips {
|
|
position: absolute;
|
|
transform: translate(176px, 152px);
|
|
}
|
|
|
|
#warning {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
transform: translate(398px, -116px);
|
|
}
|
|
|
|
#tablet {
|
|
position: absolute;
|
|
transform: translate(672px, -900px);
|
|
}
|
|
|
|
#calculator {
|
|
position: absolute;
|
|
transform: translate(534px, 240px);
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 760px) and (max-width: 1023px) {
|
|
.intro h2 {
|
|
font-size: 40px;
|
|
line-height: 52px;
|
|
margin-bottom: 32px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1024px) {
|
|
.image-container {
|
|
width: 1366px;
|
|
}
|
|
|
|
.intro {
|
|
margin: 0;
|
|
width: 660px;
|
|
position: absolute;
|
|
transform: translate(144px, 386px);
|
|
}
|
|
|
|
.intro h2 {
|
|
font-size: 40px;
|
|
line-height: 50px;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
#marker-purple {
|
|
position: absolute;
|
|
transform: translate(144px, -158px);
|
|
}
|
|
|
|
#tablet {
|
|
position: absolute;
|
|
transform: translate(578px, -900px);
|
|
}
|
|
|
|
#billiard-ball {
|
|
position: absolute;
|
|
transform: translate(918px, 360px);
|
|
}
|
|
|
|
#warning {
|
|
position: absolute;
|
|
transform: translate(1184px, 424px);
|
|
}
|
|
|
|
#paperclips {
|
|
position: absolute;
|
|
transform: translate(982px, 621px);
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 759px) {
|
|
.intro h2 {
|
|
font-size: 28px;
|
|
line-height: 38px;
|
|
margin-bottom: 32px;
|
|
}
|
|
}
|