-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from apivideo/documentation-improve-design
Add content cards
- Loading branch information
Showing
38 changed files
with
628 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
.content-cards { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | ||
grid-gap: 2rem; | ||
} | ||
|
||
.content-card { | ||
padding: 24px !important; | ||
display: flex; | ||
flex-direction: column; | ||
border-radius: 4px; | ||
background: #fff; | ||
box-shadow: 0px 34px 24px -20px rgba(65, 79, 110, 0.04), | ||
0px 20px 50px 0 rgba(59, 43, 92, 0.1); | ||
} | ||
|
||
.content-card p { | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
} | ||
|
||
.content-card > p > img { | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
background-color: #e9dded; | ||
width: 40px; | ||
height: 40px; | ||
border-radius: 2px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
margin-bottom: 24px !important; | ||
} | ||
|
||
.content-card p.content-card-label { | ||
font-size: 18px; | ||
font-weight: 600; | ||
text-align: left; | ||
color: #202d47; | ||
margin-bottom: 16px !important; | ||
} | ||
|
||
.content-card p.content-card-description { | ||
padding-bottom: 32px !important; | ||
opacity: 0.6; | ||
font-size: 14px; | ||
text-align: left; | ||
color: #414f6e; | ||
flex: 1; | ||
} | ||
|
||
.content-card-link { | ||
font-size: 12px !important; | ||
font-weight: 700 !important; | ||
text-align: left; | ||
color: #642180 !important; | ||
margin-bottom: 0px; | ||
text-transform: uppercase; | ||
text-decoration: none !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.hero h1 { | ||
text-align: left; | ||
max-width: 100%; | ||
margin-left: auto; | ||
margin-right: auto; | ||
color: var(--AV_Primary_Blue_Dark, #202d47) !important; | ||
font-size: 34px; | ||
font-style: normal; | ||
font-weight: 600; | ||
line-height: normal; | ||
letter-spacing: -0.68px; | ||
} | ||
|
||
.hero h1 em { | ||
display: block; | ||
color: var(--AV_Primary_Blue_06, rgba(65, 79, 110, 0.6)); | ||
font-size: 34px; | ||
font-style: normal; | ||
font-weight: 300; | ||
line-height: normal; | ||
letter-spacing: -0.68px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
.product-cards { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | ||
grid-gap: 2rem; | ||
} | ||
|
||
.product-grid-item { | ||
box-shadow: 0px 20px 50px 0px rgba(59, 43, 92, 0.1), | ||
0px 34px 24px -20px rgba(65, 79, 110, 0.04); | ||
border-radius: 4px; | ||
overflow: hidden; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.product-grid-item-header * { | ||
margin: 0 !important; | ||
color: #fff !important; | ||
} | ||
|
||
.product-grid-item-header p { | ||
font-weight: 200 !important; | ||
} | ||
|
||
.product-grid-item-header h3 { | ||
color: #fff; | ||
font-size: 30px !important; | ||
font-style: normal !important; | ||
font-weight: 700 !important; | ||
line-height: normal !important; | ||
letter-spacing: -0.6px !important; | ||
} | ||
|
||
.product-grid-item-header { | ||
padding-left: 2rem; | ||
padding-right: 2rem; | ||
padding-top: 5.5rem; | ||
padding-bottom: 2rem; | ||
} | ||
|
||
.product-grid-item-header.Video { | ||
background: linear-gradient(215deg, #fa5b30 -5.18%, #f7b500 179.35%); | ||
} | ||
|
||
.product-grid-item-header.Live { | ||
background: var( | ||
--AV_urp_icon, | ||
linear-gradient(76deg, #642180 -24.15%, #af2a72 93.03%) | ||
); | ||
} | ||
|
||
.product-grid-item-header.Player { | ||
background: var( | ||
--AV_BG_Gradient, | ||
radial-gradient( | ||
204.77% 98.38% at 87.15% 25.85%, | ||
rgba(78, 178, 221, 0.18) 0%, | ||
rgba(42, 124, 159, 0) 100% | ||
), | ||
linear-gradient( | ||
0deg, | ||
rgba(109, 27, 132, 0.4) -16.17%, | ||
rgba(109, 27, 132, 0) 84.97% | ||
), | ||
#46396c | ||
); | ||
} | ||
|
||
.product-grid-item-body { | ||
padding: 2rem; | ||
padding-bottom: 0; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
height: 100%; | ||
} | ||
|
||
.product-grid-item-body-description p { | ||
flex: 1; | ||
opacity: 0.6; | ||
color: var(--AV_Primary_Blue, #414f6e); | ||
font-family: Inter; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 140%; /* 19.6px */ | ||
} | ||
|
||
.product-grid-item-body p a { | ||
color: var(--AV_Primary_Orange, #fa5b30); | ||
text-align: center; | ||
font-family: Inter; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 700 !important; | ||
line-height: 14px; /* 100% */ | ||
letter-spacing: -0.28px; | ||
|
||
display: inline-block; | ||
border-radius: 4px; | ||
|
||
background: rgb(250, 91, 48, 0.2); | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
padding-top: 0.5rem; | ||
padding-bottom: 0.5rem; | ||
text-decoration: none !important; | ||
} | ||
|
||
.product-grid-item-body a:hover { | ||
background: rgb(250, 91, 48, 0.3); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
.quick-links { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); | ||
grid-gap: 2rem; | ||
margin-bottom: 2em; | ||
} | ||
|
||
.quick-links-item { | ||
border-radius: 4px; | ||
background: #fff; | ||
box-shadow: 0px 20px 50px 0px rgba(59, 43, 92, 0.1), | ||
0px 34px 24px -20px rgba(65, 79, 110, 0.04); | ||
padding: 0 24px; | ||
} | ||
|
||
.quick-links-item h4 { | ||
color: var(--AV_Primary_Blue_Dark, #202d47) !important; | ||
font-size: 18px !important; | ||
font-weight: 700 !important; | ||
line-height: 18px !important; | ||
} | ||
|
||
.quick-links-item .color-rectancle { | ||
width: 24px; | ||
height: 4px; | ||
flex-shrink: 0; | ||
margin: 20px 0; | ||
} | ||
|
||
.quick-links-item.getting-started .color-rectancle { | ||
background: var( | ||
--AV_urp_icon, | ||
linear-gradient(76deg, #642180 -24.15%, #af2a72 93.03%) | ||
); | ||
} | ||
|
||
.quick-links-item.sdks .color-rectancle { | ||
background: var( | ||
--AV_CTA, | ||
linear-gradient(92deg, #fa5b30 5.21%, #f7b500 186.04%) | ||
); | ||
} | ||
|
||
.quick-links-item.understand .color-rectancle { | ||
background: linear-gradient(90deg, #414f6e 0%, #2773aa 100%); | ||
} | ||
|
||
.quick-links-item > p { | ||
border-top: 1px solid #efefef !important; | ||
padding-top: 18px !important; | ||
} | ||
|
||
.quick-links-item > p > a.quick-links-item-line { | ||
display: flex !important; | ||
gap: 16px !important; | ||
align-items: center !important; | ||
|
||
text-decoration: none !important; | ||
color: var(--AV_Primary_Blue, #414f6e) !important; | ||
} | ||
|
||
.quick-links-item a.quick-links-item-line img { | ||
width: 24px !important; | ||
height: 24px !important; | ||
margin: 0 !important; | ||
padding: 0 !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.support-cards { | ||
display: flex; | ||
gap: 56px; | ||
} | ||
|
||
.support-cards .support-card { | ||
flex: 1; | ||
display: flex; | ||
gap: 22px; | ||
align-items: center; | ||
flex-direction: row; | ||
border-radius: 4px; | ||
background: #fff; | ||
box-shadow: 0px 20px 50px 0px rgba(59, 43, 92, 0.1); | ||
padding: 0 24px; | ||
color: var(--AV_Primary_Blue, #414f6e) !important; | ||
font-size: 18px !important; | ||
font-style: normal !important; | ||
text-decoration: none !important; | ||
font-weight: 600 !important; | ||
line-height: 18px !important; /* 100% */ | ||
letter-spacing: -0.36px !important; | ||
} | ||
|
||
.support-card p.support-card-label { | ||
flex: 1; | ||
} | ||
|
||
.support-card img { | ||
width: 56px !important; | ||
height: 56px !important; | ||
padding: 0 !important; | ||
margin: 0 !important; | ||
} | ||
|
||
.support-card .arrow img { | ||
width: 26px !important; | ||
height: 26px !important; | ||
} |
Oops, something went wrong.