Skip to content

Commit

Permalink
update genobox
Browse files Browse the repository at this point in the history
  • Loading branch information
hesslau committed Apr 19, 2019
1 parent a1a89b0 commit 4650d0d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 14 additions & 2 deletions app/assets/stylesheets/controller/welcome/_genobox-aside.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,30 @@
min-height: 410px;
position: relative;
color: $white;
background-image: image-url('welcome/advent-calendar-2018-bg.jpg');
background-image: image-url('welcome/genobox-die-nachhaltigen-222-poster.small.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
border-radius: 0.5em; // Circumvent bug in Webkit browsers that would hide the rounded border
height: 410px;

h2, p {
p {
margin: 0;
text-indent: -1000em;
}

h2 {
display: block;
background: $blue;
text-align: center;
margin-top: 0px;
padding: 0.5em;
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
font-size: 1.5em;
font-weight: 600;
}

a {
display: block;
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions app/views/welcome/_genobox_aside.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.genobox-aside
article.genobox-aside__inner
h2 Weihnachten - Geschichten, Hintergründliches und Alltägliches
p= link_to 'Weihnachten bei Fairmondo', 'https://medium.com/@brendle/weihnachten-b28fc12ea87b'
h2 Sollten alle kennen:
p= link_to 'Neu: Die Nachhaltigen 222', '/articles/die-nachhaltigen-222-poster-fairmondo-shop'

0 comments on commit 4650d0d

Please sign in to comment.