Skip to content

Commit

Permalink
replace illustration with photo
Browse files Browse the repository at this point in the history
- align with the new brand

See #537
  • Loading branch information
jimmac committed Jun 3, 2022
1 parent 93334e8 commit 302bfe4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
/.cache
.DS_Store
/Gemfile.lock
.jekyll-cache
.gem
_site
Binary file removed source/img/banner.svgz
Binary file not shown.
Binary file added source/img/container.webp
Binary file not shown.
14 changes: 3 additions & 11 deletions source/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ title: Flatpak—the future of application distribution
description: The days of chasing multiple Linux distributions are over. Standalone apps for Linux are here!
---

%section.imagebanner.centered
%section.imagebanner
.container
.row.largegap
.col-lg-12
.col-lg-10.col-lg-offset-1
%h1.section-heading
The future of
%span.emphasize apps on Linux
%p Flatpak is a next-generation technology for building and distributing desktop applications on Linux

%section.illustration.centered
.container
.row
.col-lg-8.col-lg-offset-2
= image_tag '/img/delivery_truck2.png'
The future of apps on Linux

%section#appsplash.bg-secondary
.container
Expand Down
18 changes: 5 additions & 13 deletions source/stylesheets/site.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,29 +233,22 @@ section {
}

.imagebanner {
background: url(/img/banner.svgz) no-repeat center bottom;
background: url(/img/container.webp) no-repeat center bottom;
@media (prefers-color-scheme: dark) {
filter: brightness(70%);
}
background-size: cover;
color: rgba(0, 0, 0, 0.5);
min-height: 500px;
color: #fff;
min-height: 50vh;
z-index: 1;
font-weight: 800;
font-variation-settings: 'wght' 800;
p {
max-width: 30em;
margin: auto;
}
}

.illustration {
margin-top: -330px;
margin-bottom: 0;
z-index: 2; /* under the headline; issue #326 */
@media (max-width: 420px) {
display: none;
}
}

aside {
padding: 50px 0;
}
Expand Down Expand Up @@ -435,7 +428,6 @@ pre {

.section-heading {
margin-top: 0;
text-transform: capitalize;

.emphasize {
color: $key_color;
Expand Down

0 comments on commit 302bfe4

Please sign in to comment.