mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
185bcc9d31
* update homepage * lint fixes * Update layout.ejs * Responsive style tweaks - made some style changes to improve responsive breakpoints - attempted to normalize paddings and section widths * update layout * updated styles mobile and tablet - updated hero background - tweaked paddings and margins for tablet and mobile - added larger images for responsive breakpoints - increased left/right padding on homepage-section * Update homepage.ejs * update feature image styles * update platform hero background & homepage styles * Update platform.less Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
413 lines
8.3 KiB
Plaintext
Vendored
413 lines
8.3 KiB
Plaintext
Vendored
#platform {
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
margin-bottom: 24px;
|
|
}
|
|
h3 {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
font-weight: 700;
|
|
}
|
|
h4 {
|
|
font-size: 24px;
|
|
line-height: 28px;
|
|
font-weight: 400;
|
|
}
|
|
a > img {
|
|
display: inline;
|
|
height: 16px;
|
|
width: 16px;
|
|
position: relative;
|
|
bottom: 2px;
|
|
margin-left: 8px;
|
|
}
|
|
a & a:active & a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
[purpose='platform-banner-background'] {
|
|
background: url('/images/background-homepage-hero.svg');
|
|
background-position: center;
|
|
background-size: cover;
|
|
overflow: hidden;
|
|
}
|
|
|
|
[purpose='platform-feature-image'] {
|
|
max-width: 100%;
|
|
filter: drop-shadow(0px 3.85401px 24.0876px rgba(0, 0, 0, 0.15));
|
|
border-radius: 4.78295px;
|
|
}
|
|
|
|
[purpose='platform-content'] {
|
|
padding-top: 100px;
|
|
max-width: 1400px;
|
|
padding-left: 100px;
|
|
padding-right: 100px;
|
|
}
|
|
|
|
[purpose='platform-section'] {
|
|
padding-top: 100px;
|
|
}
|
|
[purpose='platform-user-story-wrapper'] {
|
|
max-width: 900px;
|
|
max-height: 180px;
|
|
margin: auto;
|
|
filter: drop-shadow(0px 4px 16px rgba(0, 0, 0, 0.1));
|
|
border-radius: 16px;
|
|
z-index: 1;
|
|
}
|
|
[purpose='platform-user-story'] {
|
|
margin-top: 80px;
|
|
padding: 30px 24px;
|
|
height: 180px;
|
|
max-width: 900px;
|
|
background-color: #192147;
|
|
border-radius: 16px;
|
|
color: #F9FAFC;
|
|
overflow: hidden;
|
|
a {
|
|
color: #F9FAFC;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|
|
svg {
|
|
position: absolute;
|
|
left: -10px;
|
|
top: -30px;
|
|
bottom: 0px;
|
|
overflow: visible;
|
|
border-radius: 16px;
|
|
vertical-align: middle;
|
|
z-index: 0;
|
|
width: 100%;
|
|
height: 180px;
|
|
}
|
|
img:not(a > img) {
|
|
position: relative;
|
|
display: inline;
|
|
height: 100px;
|
|
z-index: 1;
|
|
left: 40px;
|
|
bottom: -10px;
|
|
}
|
|
}
|
|
|
|
[purpose='platform-banner'] {
|
|
color: #F9FAFC;
|
|
position: relative;
|
|
padding: 100px 80px 0px 80px;
|
|
height: 480px;
|
|
[purpose='platform-banner-text'] {
|
|
max-width: 544px;
|
|
z-index: 2;
|
|
padding-bottom: 140px;
|
|
}
|
|
[purpose='platform-banner-hero'] {
|
|
img {
|
|
display: inline-block;
|
|
height: 100%;
|
|
position: absolute;
|
|
right: -25px;
|
|
bottom: -90px;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
[purpose='banner-curve'] {
|
|
z-index: 2;
|
|
position: absolute;
|
|
left: -25px;
|
|
bottom: -1px;
|
|
}
|
|
}
|
|
[purpose='next-steps'] {
|
|
padding-top: 80px;
|
|
padding-bottom: 120px;
|
|
.card {
|
|
background: #FFFFFF;
|
|
border: 1px solid #E2E4EA;
|
|
box-sizing: border-box;
|
|
box-shadow: 1px 2px 2px rgba(197, 199, 209, 0.2);
|
|
border-radius: 16px;
|
|
padding: 32px;
|
|
a {
|
|
position: relative;
|
|
bottom: 5px;
|
|
color: #192147;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
img {
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
|
|
[purpose='platform-logos'] {
|
|
padding-top: 24px;
|
|
.card {
|
|
height: 60px;
|
|
width: 80px;
|
|
min-width: 80px;
|
|
border: none;
|
|
background: #FFFFFF;
|
|
border-radius: 8px;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
|
|
}
|
|
img {
|
|
width: auto;
|
|
max-height: 36px;
|
|
margin: auto;
|
|
}
|
|
}
|
|
|
|
[purpose='platform-bullet-list'] {
|
|
p {
|
|
padding-left: 24px;
|
|
text-indent: -24px;
|
|
}
|
|
p::before {
|
|
content: url('/images/platform/icon-bullet-point-6x6@2x.png');
|
|
margin-right: 12px;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1199px) {
|
|
|
|
[purpose='platform-content'] {
|
|
padding-top: 100px;
|
|
max-width: 1400px;
|
|
padding-left: 100px;
|
|
padding-right: 100px;
|
|
}
|
|
|
|
[purpose='platform-banner'] {
|
|
|
|
[purpose='platform-banner-hero'] {
|
|
img {
|
|
display: inline-block;
|
|
width: 850px;
|
|
position: relative;
|
|
right: 0px;
|
|
top: -60px;
|
|
z-index: 1;
|
|
bottom: unset;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1199px) {
|
|
|
|
[purpose='platform-banner'] {
|
|
color: #F9FAFC;
|
|
position: relative;
|
|
[purpose='platform-banner-text'] {
|
|
max-width: 544px;
|
|
}
|
|
[purpose='platform-banner-hero'] {
|
|
img {
|
|
width: 850px;
|
|
position: relative;
|
|
right: 0;
|
|
top: -60px;
|
|
z-index: 1;
|
|
}
|
|
}
|
|
}
|
|
[purpose='platform-content'] {
|
|
padding-top: 80px;
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 991px) {
|
|
[purpose='platform-banner'] {
|
|
padding: 60px 40px 0px 40px;
|
|
color: #F9FAFC;
|
|
position: relative;
|
|
height: 740px;
|
|
|
|
[purpose='platform-banner-text'] {
|
|
max-width: 520px;
|
|
padding-bottom: 80px;
|
|
}
|
|
[purpose='platform-banner-hero'] {
|
|
img {
|
|
position: relative;
|
|
width: 100%;
|
|
right: -25px;
|
|
top: 0px;
|
|
}
|
|
}
|
|
|
|
}
|
|
[purpose='next-steps'] {
|
|
.card {
|
|
padding: 32px 60px;
|
|
margin-bottom: 16px;
|
|
}
|
|
}
|
|
[purpose='platform-feature-image'] {
|
|
max-width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
|
|
[purpose='platform-user-story'] {
|
|
max-height: 180px;
|
|
max-width: fit-content;
|
|
background-color: #192147;
|
|
border-radius: 16px;
|
|
color: #F9FAFC;
|
|
overflow: hidden;
|
|
svg {
|
|
position: absolute;
|
|
left: -10px;
|
|
top: -30px;
|
|
bottom: 0px;
|
|
overflow: visible;
|
|
border-radius: 16px;
|
|
vertical-align: middle;
|
|
z-index: 0;
|
|
height: 182px;
|
|
}
|
|
img:not(a > img) {
|
|
left: 15px;
|
|
}
|
|
}
|
|
|
|
[purpose='platform-feature-image'] {
|
|
max-width: 100%;
|
|
padding-top: 60px;
|
|
}
|
|
|
|
[purpose='platform-content'] {
|
|
padding-top: 80px;
|
|
padding-left: 120px;
|
|
padding-right: 120px;
|
|
}
|
|
[purpose='platform-section'] {
|
|
padding-top: 80px;
|
|
}
|
|
[purpose='platform-banner'] {
|
|
padding: 60px 40px 0px 40px;
|
|
color: #F9FAFC;
|
|
position: relative;
|
|
height: 780px;
|
|
|
|
[purpose='platform-banner-text'] {
|
|
max-width: 520px;
|
|
padding-bottom: 60px;
|
|
}
|
|
[purpose='platform-banner-hero'] {
|
|
img {
|
|
position: relative;
|
|
right: -25px;
|
|
top: 0px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 575px) {
|
|
h1 {
|
|
font-size: 28px;
|
|
line-height: 54px;
|
|
}
|
|
[purpose='platform-banner-background'] {
|
|
background: url('/images/background-homepage-hero.svg');
|
|
overflow: hidden;
|
|
}
|
|
[purpose='platform-section'] {
|
|
padding-top: 60px;
|
|
}
|
|
[purpose='platform-content'] {
|
|
padding-top: 20px;
|
|
padding-left: 40px;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
[purpose='platform-banner'] {
|
|
padding-top: 60px;
|
|
color: #F9FAFC;
|
|
position: relative;
|
|
height: 700px;
|
|
[purpose='platform-banner-text'] {
|
|
max-width: 520px;
|
|
padding-bottom: 40px;
|
|
}
|
|
[purpose='platform-banner-hero'] {
|
|
img {
|
|
position: relative;
|
|
right: 0px;
|
|
top: 0px;
|
|
width: 110%;
|
|
}
|
|
}
|
|
}
|
|
[purpose='platform-user-story-wrapper'] {
|
|
min-height: 375px;
|
|
max-width: 375px;
|
|
margin: auto;
|
|
filter: drop-shadow(0px 4px 16px rgba(0, 0, 0, 0.1));
|
|
border-radius: 16px;
|
|
z-index: 1;
|
|
}
|
|
[purpose='platform-user-story'] {
|
|
margin-top: 40px;
|
|
padding: 31px 24px;
|
|
height: unset;
|
|
min-height: 375px;
|
|
background-color: #192147;
|
|
border-radius: 16px;
|
|
color: #F9FAFC;
|
|
overflow: hidden;
|
|
svg {
|
|
position: absolute;
|
|
top: -32px;
|
|
left: -9px;
|
|
overflow: visible;
|
|
vertical-align: middle;
|
|
z-index: 0;
|
|
width: calc(~'18px + 100%');
|
|
height: calc(~'56px + 100%');
|
|
}
|
|
img:not(a > img) {
|
|
position: relative;
|
|
display: inline;
|
|
height: 100px;
|
|
z-index: 1;
|
|
top: 0px;
|
|
left: 0px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
[purpose='platform-logos'] {
|
|
.card {
|
|
&.grow {
|
|
min-width: 108px;
|
|
min-height: 80px;
|
|
img {
|
|
max-height: 40px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@media (max-width: 329px) {
|
|
h1 {
|
|
font-size: 26px;
|
|
}
|
|
}
|
|
}
|