1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

channel teaser tweaks, spacing

This commit is contained in:
Matthias Kretschmann 2019-05-27 12:20:56 +02:00
parent c41e9790bb
commit 2247e2d980
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 11 additions and 2 deletions

View File

@ -135,6 +135,8 @@ const categoryImageFile = (category: string) => {
case 'Visual Arts & Design':
case 'visualart':
return visualart
// technically no category
// but corresponding to title of a channel
case 'AI For Good':
return aiforgood
default:

View File

@ -34,7 +34,7 @@
border-bottom: 1px solid $brand-grey-lighter;
padding-bottom: $spacer / 3;
margin-top: $spacer * 3;
margin-bottom: $spacer;
margin-bottom: $spacer / 2;
@media (min-width: $break-point--small) {
text-align: left;

View File

@ -4,7 +4,7 @@
width: 100%;
@media (min-width: $break-point--medium) {
padding-top: $spacer / 2;
padding-top: $spacer * 2;
display: flex;
}
@ -30,6 +30,7 @@
}
}
// style channel teaser following another one
+ .channel {
border-top: 1px solid $brand-grey-lighter;
margin-top: $spacer * 2;

View File

@ -12,6 +12,12 @@
margin: 0;
visibility: hidden;
}
// grab the channel teaser on front page
// stylelint-disable-next-line
article > div > h2 + div {
padding-top: $spacer / 2;
}
}
.title {