1
0
mirror of https://github.com/ipdb/website.git synced 2025-01-02 10:03:11 +01:00
website/_src/_assets/scss/page-front.scss

73 lines
1.2 KiB
SCSS
Raw Normal View History

@import 'variables';
2017-08-29 18:28:23 +02:00
@import 'hero';
2017-12-18 21:58:01 +01:00
.section--farewell {
2017-12-22 12:32:50 +01:00
margin-top: -3rem;
2017-12-18 21:58:01 +01:00
z-index: 2;
2017-10-16 09:44:27 +02:00
}
2017-08-29 12:49:32 +02:00
//
// Connect
//
2017-08-25 00:57:58 +02:00
.articles {
max-width: 100%;
2017-12-19 12:22:48 +01:00
margin-top: $spacer;
margin-bottom: -$spacer;
.button {
padding-bottom: 0;
}
2017-08-25 00:57:58 +02:00
}
.article {
2017-08-29 15:53:29 +02:00
margin-bottom: 6%;
2017-08-30 13:11:56 +02:00
transition: .15s ease-out;
2017-08-29 15:53:29 +02:00
&:hover,
&:focus {
2017-08-30 13:11:56 +02:00
transform: translateY(-1px);
2017-08-29 15:53:29 +02:00
.article__title {
color: $link-color;
}
.article__image {
background-color: $link-color;
}
2017-08-25 00:57:58 +02:00
}
2017-08-30 13:11:56 +02:00
&:active {
transition: none;
transform: translateY(0);
}
2017-08-25 00:57:58 +02:00
}
2017-08-29 15:53:29 +02:00
.article__image {
width: 100%;
2017-08-29 18:42:39 +02:00
min-height: 6.5rem;
2017-08-29 15:53:29 +02:00
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
margin-bottom: $spacer / 3;
border: 1px solid $brand-05;
border-radius: $border-radius;
2017-08-29 15:53:29 +02:00
}
2017-08-25 00:57:58 +02:00
.article__title {
2017-08-30 13:11:56 +02:00
font-size: $font-size-base;
2017-08-29 15:53:29 +02:00
color: $text-color;
margin: 0;
align-self: flex-end;
transition: .15s ease-out;
2017-08-25 00:16:33 +02:00
}
2017-09-20 14:45:52 +02:00
.section--connect {
.social {
margin-bottom: $spacer * 3;
}
.social-link {
margin-right: $spacer / 2;
}
}