Skip to content

Commit

Permalink
CSS Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Arnold committed Oct 21, 2019
1 parent 0a87f8f commit 9c27f5c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions src/collective/frontpage/browser/static/frontpage.less
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@

.frontpage-section {

// &.full-height {
// max-height: 100vh;
// height: 100vh;
// }

.section-content {
background-position: center;
background-repeat: no-repeat;
Expand All @@ -95,6 +90,10 @@
text-align: center;
height: 100%;

&.full-height {
min-height: 50vh;
}

.card {
background-position: center;
background-repeat: no-repeat;
Expand Down Expand Up @@ -125,7 +124,7 @@
padding: 15px 30px;
text-decoration: none;
text-transform: uppercase;

margin: 30px;
.vendor(transition, opacity 150ms ease-in-out);

&:hover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<body>
<metal:main fill-slot="main">

<div class="frontpage-section full-height" metal:define-macro="teaser_default">
<div class="section-content" tal:attributes="style view/get_style">
<div class="frontpage-section" metal:define-macro="teaser_default">
<div class="section-content full-height" tal:attributes="style view/get_style">

<div class="section-text">
<h2 class="section-title">${context/title}</h2>
Expand Down
2 changes: 1 addition & 1 deletion src/collective/frontpage/css.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

css_date = u'2019-08-12'
css_date = u'2019-10-21'

0 comments on commit 9c27f5c

Please sign in to comment.