Skip to content

Commit

Permalink
docs: fixes to styling
Browse files Browse the repository at this point in the history
Primarily:
- fixes to mobile styling
- fixes for Safari / iOS
  • Loading branch information
iisakkirotko committed Sep 13, 2024
1 parent 688dcdc commit 87c0864
Showing 1 changed file with 29 additions and 13 deletions.
42 changes: 29 additions & 13 deletions solara/website/pages/home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@
</div>
<div class="footer-flex homepage-row" style="align-items: center;">
<div>
<h2>Join our Developer Newsletter</h2>
<h4>Keep up to date with everything Solara, no BS.</h4>
<h2 style="max-width: unset;">Join our Developer Newsletter</h2>
<h4 style="max-width: unset;">Keep up to date with everything Solara, no BS.</h4>
</div>
<div id="mc_embed_shell">
<div id="mc_embed_signup">
Expand Down Expand Up @@ -458,8 +458,10 @@
--color-background-top: #21180D;
--marketing-primary-text-title: #F3F0EC;
--color-text: rgba(255, 255, 255, 0.95);
--color-text: rgba(255, 255, 255, 0.95) !important;
--color-text-secondary: #B2B0AD;
--dark-color-primary: var(--color-text) !important;
}
html, body {
Expand All @@ -477,7 +479,7 @@ body {
align-items: stretch;
color: var(--color-text);
font-family: "Test Söhne";
font-family: "Roboto, sans-serif";
font-style: normal;
font-weight: 500;
}
Expand All @@ -489,7 +491,6 @@ h1 {
line-height: 66px;
font-style: normal;
font-weight: 600;
letter-spacing: -2.8px;
margin: 0;
max-width: 80%;
}
Expand All @@ -513,6 +514,7 @@ h3 {
font-weight: 400;
line-height: 28px;
margin: 0;
max-width: 90%;
}
h4 {
Expand All @@ -523,6 +525,7 @@ h4 {
font-weight: 400;
line-height: 24px;
margin: 0;
max-width: 90%;
}
p {
Expand All @@ -543,7 +546,7 @@ main > section {
padding: 60px 0;
}
a {
.v-application main > section a, .v-application main > footer a {
text-decoration: none;
color: var(--color-text);
}
Expand Down Expand Up @@ -692,13 +695,12 @@ section#hero > *{
#brand-trust .logo-grid a {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
#brand-trust .logo-grid img {
filter: grayscale(1) contrast(0) brightness(1.5);
filter: grayscale(1) contrast(0.2) brightness(1.5);
transition: 0.3s ease all;
}
Expand Down Expand Up @@ -756,8 +758,8 @@ section#hero > *{
max-width: 1300px;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
grid-template-rows: repeat(auto-fill, minmax(350px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-template-rows: repeat(auto-fill, minmax(300px, 1fr));
justify-content: stretch;
align-items: stretch;
gap: 40px;
Expand Down Expand Up @@ -1035,6 +1037,7 @@ footer img.logo:hover {
align-items: stretch;
flex-wrap: wrap;
gap: 40px;
padding: 20px 0;
}
.ext-link {
Expand All @@ -1051,17 +1054,18 @@ footer img.logo:hover {
#mc_embed_signup {
background: transparent;
clear: left;
min-width: 350px;
min-width: 250px;
}
#mc_embed_signup form {
display: flex;
flex-direction: row;
justify-content: stretch;
align-items: center;
gap: 20px;
margin: 0 !important;
box-sizing: border-box;
min-width: 350px;
min-width: 250px;
padding: 8px 12px;
border-radius: var(--Border-Radius-radius-sm, 8px);
border: 1px solid var(--marketing-stroke-card-10, rgba(194, 180, 163, 0.10));
Expand Down Expand Up @@ -1100,18 +1104,30 @@ footer img.logo:hover {
}
@media screen and (max-width: 1000px) {
h1 {
font-size: 2rem;
line-height: 2.1rem;
}
#hero h1 {
max-width: 80%;
font-size: 2.5rem;
line-height: 2.5rem;
}
#hero h2 {
max-width: 65%;
font-size: 1.25rem;
line-height: 1.25rem;
}
.double-tile-container {
flex-direction: column;
}
.modern-tile {
max-width: 100%;
}
#brand-trust .logo-grid {
width: 60%;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}
}
/* VUETIFY CSS OVERRIDES */
Expand Down Expand Up @@ -1139,7 +1155,7 @@ footer img.logo:hover {
background-color: transparent !important;
}
.theme--light.v-sheet, .theme--dark.v-sheet {
color: var(--color-text);
color: var(--color-text) !important;
}
</style>

Expand Down

0 comments on commit 87c0864

Please sign in to comment.