Change cards layout

This commit is contained in:
Maria Rushkova 2021-08-23 13:11:03 +02:00 committed by Jakub Sokołowski
parent 22efb7f3ef
commit 792dabf1c2
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 42 additions and 8 deletions

View File

@ -23,13 +23,16 @@ layout: default
Building protocols and products at all layers of the stack including underlying transports, p2p overlays and Building protocols and products at all layers of the stack including underlying transports, p2p overlays and
routing, initial trust establishment, and semantics for things like group chat. routing, initial trust establishment, and semantics for things like group chat.
</p> </p>
<div class="work__cards container s:mx-auto flex flex-col sm:flex-row"> <div class="work__cards container s:mx-auto flex flex-col items-center sm:flex-row sm:items-stretch">
<div <div
class=" class="
work__card work__card
group group
flex flex-col flex flex-col
justify-between
items-center items-center
max-w-280 max-h-280
lg:max-w-436 lg:max-h-436
border border
pt-5 pt-5
p-4 p-4
@ -47,7 +50,7 @@ layout: default
viewBox="0 0 65 64" viewBox="0 0 65 64"
fill="none" fill="none"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
class="mb-2 lg:mb-8 l:mt-28 w-16 h-16 fill-current group-hover:text-white" class="mb-2 lg:mb-8 mt-4 l:mt-20 w-16 h-16 fill-current group-hover:text-white"
> >
<g clip-path="url(#clip0)"> <g clip-path="url(#clip0)">
<path <path
@ -109,7 +112,7 @@ layout: default
<p <p
class=" class="
work__heading work__heading
mb-6 mb-9
md:mb-5 md:mb-5
lg:mb-20 lg:uppercase lg:mb-20 lg:uppercase
font-semibold font-semibold
@ -120,7 +123,19 @@ layout: default
> >
Waku Waku
</p> </p>
<p class="work__text text-s lg:text-base opacity-75 text-left max-w-screen-xxs group-hover:text-white"> <p
class="
work__text
text-s
lg:text-base
mt-4
lg:mt-2.5
opacity-75
text-left
max-w-screen-xxs
group-hover:text-white
"
>
A gossip based messaging protocol for private, secure, p2p messaging with implementations written in go, nim, A gossip based messaging protocol for private, secure, p2p messaging with implementations written in go, nim,
java script. java script.
</p> </p>
@ -141,7 +156,10 @@ layout: default
work__card work__card
group group
flex flex-col flex flex-col
justify-between
items-center items-center
max-w-280 max-h-280
lg:max-w-436 lg:max-h-436
border border
pt-5 pt-5
p-4 p-4
@ -157,7 +175,7 @@ layout: default
viewBox="0 0 62 64" viewBox="0 0 62 64"
fill="none" fill="none"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
class="mb-2 lg:mb-8 l:mt-28 w-16 h-16 fill-current group-hover:text-peach" class="mb-2 lg:mb-8 mt-4 l:mt-20 w-16 h-16 fill-current group-hover:text-peach"
> >
<g clip-path="url(#clip0)"> <g clip-path="url(#clip0)">
<path <path
@ -182,7 +200,7 @@ layout: default
<p <p
class=" class="
work__heading work__heading
mb-6 mb-9
md:mb-5 md:mb-5
lg:mb-20 lg:uppercase lg:mb-20 lg:uppercase
font-semibold font-semibold
@ -193,7 +211,19 @@ layout: default
> >
DApp Connect DApp Connect
</p> </p>
<p class="work__text text-s lg:text-base opacity-75 text-left max-w-screen-xxs group-hover:text-peach"> <p
class="
work__text
text-s
lg:text-base
mt-4
lg:mt-2.5
opacity-75
text-left
max-w-screen-xxs
group-hover:text-peach
"
>
The communication layer for Ethereum. A tech stack enabling decentralized communication between DApps and The communication layer for Ethereum. A tech stack enabling decentralized communication between DApps and
people. people.
</p> </p>

View File

@ -3,16 +3,20 @@ module.exports = {
purge: [`_site/**/*.html`, `_site/**/*.css`], purge: [`_site/**/*.html`, `_site/**/*.css`],
theme: { theme: {
extend: { extend: {
backgroundImage: (theme) => ({ backgroundImage: theme => ({
arrow: 'url(/assets/img/arrow.svg)', arrow: 'url(/assets/img/arrow.svg)',
arrowWhite: 'url(/assets/img/arrow-white.svg)', arrowWhite: 'url(/assets/img/arrow-white.svg)',
arrowPeach: 'url(/assets/img/arrow-peach.svg)', arrowPeach: 'url(/assets/img/arrow-peach.svg)',
}), }),
maxWidth: { maxWidth: {
280: '280px',
436: '436px',
48: '48%', 48: '48%',
80: '80%', 80: '80%',
}, },
maxHeight: { maxHeight: {
280: '280px',
436: '436px',
nav: '350px', nav: '350px',
}, },
}, },