passepartout-apple/screenshots/html/style.css

87 lines
1.1 KiB
CSS

* {
margin: 0;
padding: 0;
}
body {
font-family: "Ubuntu", sans-serif;
font-size: 100px;
}
#background {
position: absolute;
background-color: #515d71;
overflow: hidden;
}
header {
height: 10em;
}
header p {
position: relative;
top: 50%;
transform: translateY(-50%);
color: #fff;
text-align: center;
line-height: 1.7em;
}
em {
color: #d69c68;
font-style: normal;
}
main {
position: relative;
}
#box {
position: absolute;
background-color: #d69c68;
width: 250%;
height: 150%;
transform: rotate(45deg);
}
.container {
display: none;
}
.screenshot {
position: relative;
left: 50%;
transform: translateX(-50%);
display: none;
}
.frame {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.heading {
display: none;
}
.screen-01 .heading:nth-of-type(1) {
display: block;
}
.screen-02 .heading:nth-of-type(2) {
display: block;
}
.screen-03 .heading:nth-of-type(3) {
display: block;
}
.screen-04 .heading:nth-of-type(4) {
display: block;
}
.screen-05 .heading:nth-of-type(5) {
display: block;
}