Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Updated CSS #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 59 additions & 58 deletions static/onboardingCss/Card.css
Original file line number Diff line number Diff line change
@@ -1,58 +1,59 @@
/* h1, h2, h3, h5 {
margin: 0;
} */

.cards-onboard {
align-items: flex-start;
justify-content: center;
}

.card-onboard {
background: #fff;
width: 24em;
border-radius: 0.6em;
margin: 1em;
overflow: hidden;
cursor: pointer;
box-shadow: 0 13px 27px -5px hsla(240, 30.1%, 28%, 0.25), 0 8px 16px -8px hsla(0, 0%, 0%, 0.3), 0 -6px 16px -6px hsla(0, 0%, 0%, 0.03);
transition: all ease 200ms;
}

.card-onboard:hover {
transform: scale(1.03);
box-shadow: 0 13px 40px -5px hsla(240, 30.1%, 28%, 0.12), 0 8px 32px -8px hsla(0, 0%, 0%, 0.14), 0 -6px 32px -6px hsla(0, 0%, 0%, 0.02);
}

.card-onboard img {
width: 200px;
height: 200px;
/* object-fit: ; */
}

.card-onboard h2 {
color: #222;
margin-top: -0.2em;
line-height: 1.4;
font-size: 1.3em;
font-weight: 500;
font-family: 'Montserrat', sans-serif;
transition: all ease-in 100ms;
}

.card-onboard p {
color: #777;
}

.card-onboard h5 {
color: #bbb;
font-weight: 700;
font-size: 0.7em;
letter-spacing: 0.04em;
margin: 1.4em 0 0 0;
text-transform: uppercase;
}

.card-body-onboard {
padding: 1.2em;
}

/* Remove margin from all heading tags */
h1, h2, h3, h4, h5, h6 {
margin: 0;
}

.cards-onboard {
align-items: flex-start;
justify-content: center;
}

.card-onboard {
background: #fff;
width: 24em;
border-radius: 0.6em;
margin: 1em;
overflow: hidden;
cursor: pointer;
box-shadow: 0 13px 27px -5px hsla(240, 30.1%, 28%, 0.25), 0 8px 16px -8px hsla(0, 0%, 0%, 0.3), 0 -6px 16px -6px hsla(0, 0%, 0%, 0.03);
transition: all ease 200ms;
}

.card-onboard:hover {
transform: scale(1.03);
box-shadow: 0 13px 40px -5px hsla(240, 30.1%, 28%, 0.12), 0 8px 32px -8px hsla(0, 0%, 0%, 0.14), 0 -6px 32px -6px hsla(0, 0%, 0%, 0.02);
}

.card-onboard img {
width: 200px;
height: 200px;
/* Use "cover" to make sure the image fills the container without distortion */
object-fit: cover;
}

.card-onboard h2 {
color: #222;
margin-top: -0.2em;
line-height: 1.4;
font-size: 1.3em;
font-weight: 500;
font-family: 'Montserrat', sans-serif;
transition: all ease-in 100ms;
}

.card-onboard p {
color: #777;
}

.card-onboard h5 {
color: #bbb;
font-weight: 700;
font-size: 0.7em;
letter-spacing: 0.04em;
margin: 1.4em 0 0 0;
text-transform: uppercase;
}

.card-body-onboard {
padding: 1.2em;
}