passepartout-apple/screenshots/html/mac/style.css
Davide 76a570b7b3
Autogenerate framed screenshots from HTML/CSS (#1000)
Add TV screenshots and organize PassepartoutUITests with two test plans
for generating iOS/macOS (Main) and tvOS (TV) screenshots. Revert to the
.attachment destination and use `xcparse` to export the screenshots.
Change iPad screenshots to portrait.

Then autogenerate framed screenshots in two steps:

- Export the UITests screenshots per device (`export.sh`)
- Embed the results in a HTML/CSS template and take snapshots with
Chrome headless (`compose.sh`)
- Repeat for all devices (iPhone, iPad, Mac and Apple TV)
- Save framed screenshots to the `fastlane` screenshots directory
2024-12-11 20:33:58 +01:00

64 lines
783 B
CSS

.mac #background {
width: 2880px;
height: 1800px;
}
.mac #background header {
height: 6em;
}
.mac #background .heading {
font-size: 1.4em;
}
.mac #box {
left: 45%;
top: 140%;
}
.mac #mac {
display: block;
}
#mac .screenshot {
width: 1600px;
top: 20px;
border-radius: 25px;
}
.screen-01.mac .heading {
padding: 5em;
}
.screen-02.mac .heading {
padding: 3em;
}
.screen-03.mac .heading {
padding: 5em;
}
.screen-04.mac .heading {
padding: 6em;
}
.screen-01 #mac :nth-child(1) {
display: block;
}
.screen-02 #mac :nth-child(2) {
display: block;
}
.screen-03 #mac :nth-child(3) {
display: block;
}
.screen-04 #mac :nth-child(4) {
display: block;
}
.screen-05 #mac :nth-child(5) {
display: block;
}