mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
Mainly finish making design responsive
This commit is contained in:
parent
22fddeb556
commit
066655c101
6 changed files with 84 additions and 39 deletions
|
@ -163,12 +163,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sponsorship-primer">
|
<div class="wrapper">
|
||||||
<h3>sponsored by <b>users like you</b></h3>
|
<div class="sponsorship-primer">
|
||||||
<p>
|
<h3>sponsored by <b>users like you</b></h3>
|
||||||
Caddy is free software and relies on sponsorships to survive. Not just donations: sponsorships ensure ongoing development and provide your business with tangible benefits.
|
<p>
|
||||||
</p>
|
Caddy is free software and relies on sponsorships to survive. Not just donations: sponsorships ensure ongoing development and provide your business with tangible benefits.
|
||||||
<a href="/sponsor" class="button purple">See sponsorships</a>
|
</p>
|
||||||
|
<a href="/sponsor" class="button purple">See sponsorships</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -581,6 +581,7 @@ footer .nostalgia-badges {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
footer .nostalgia p {
|
footer .nostalgia p {
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
padding-bottom: 50px;
|
padding-bottom: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* .datagrid {
|
/* .datagrid {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -45,7 +49,6 @@
|
||||||
|
|
||||||
.feature-row {
|
.feature-row {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid: auto / 1fr 2fr 1fr;
|
|
||||||
gap: 2em;
|
gap: 2em;
|
||||||
padding: 2em 0;
|
padding: 2em 0;
|
||||||
border-bottom: 2px dashed #a4c8ff25; /* #e6eaf0 */
|
border-bottom: 2px dashed #a4c8ff25; /* #e6eaf0 */
|
||||||
|
@ -105,11 +108,10 @@
|
||||||
flex: 1;
|
flex: 1;
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
min-width: 300px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.split img {
|
.split picture {
|
||||||
max-width: 100%;
|
min-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.split img,
|
.split img,
|
||||||
|
@ -122,13 +124,26 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* TODO: Figure this out */
|
|
||||||
@media (max-width: 800px) {
|
|
||||||
.feature-row {
|
|
||||||
grid: repeat(3,auto) / 1fr 1fr;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media (min-width: 600px) and (max-width: 899px) {
|
||||||
|
.feature-row .detail {
|
||||||
|
grid-area: 1/2/span 3/2;
|
||||||
|
}
|
||||||
.feature-row .benefits {
|
.feature-row .benefits {
|
||||||
grid-area: 2 / 1;
|
grid-area: 2 / 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
.feature-row {
|
||||||
|
grid: repeat(3,auto) / 1fr 1fr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 900px) {
|
||||||
|
.feature-row {
|
||||||
|
grid: auto / 1fr 2fr 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -218,23 +218,6 @@ section.light.gray {
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sides {
|
|
||||||
display: flex;
|
|
||||||
gap: 50px;
|
|
||||||
align-items: center;
|
|
||||||
margin: 100px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sides > * {
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.side-flex {
|
|
||||||
display: flex;
|
|
||||||
gap: 2em;
|
|
||||||
flex: 1.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.cols, .spacing {
|
.cols, .spacing {
|
||||||
--gap: 50px;
|
--gap: 50px;
|
||||||
|
@ -259,16 +242,13 @@ section.dark .cols {
|
||||||
color: #aec6c3;
|
color: #aec6c3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.cols .col {
|
.cols .col {
|
||||||
min-width: 350px;
|
min-width: 350px;
|
||||||
padding-left: 1em;
|
padding-left: 1em;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cols-big .col {
|
|
||||||
min-width: 450px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
|
@ -366,6 +346,10 @@ section.dark h3.yellow {
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.asides h3 {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.asides p {
|
.asides p {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
|
@ -650,10 +634,16 @@ div.ap-wrapper:fullscreen div.ap-player {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1000px) {
|
@media (max-width: 1000px) {
|
||||||
|
h1,
|
||||||
|
h2 {
|
||||||
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 75px;
|
||||||
|
}
|
||||||
.asides {
|
.asides {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.display {
|
.display {
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 50px;
|
||||||
|
|
|
@ -7,7 +7,7 @@ p.footnote {
|
||||||
--plan-border: 1px solid #eceff133;
|
--plan-border: 1px solid #eceff133;
|
||||||
border: var(--plan-border);
|
border: var(--plan-border);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
width: 50%;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
@ -193,4 +193,41 @@ ul.check li.minus::before {
|
||||||
.button.purple {
|
.button.purple {
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.sides {
|
||||||
|
display: flex;
|
||||||
|
gap: 50px;
|
||||||
|
align-items: center;
|
||||||
|
margin: 100px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sides > * {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.side-flex {
|
||||||
|
display: flex;
|
||||||
|
gap: 2em;
|
||||||
|
flex: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media (max-width: 1150px) {
|
||||||
|
.sides {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.side-flex {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -481,7 +481,7 @@
|
||||||
<p>
|
<p>
|
||||||
The original author of Caddy, Matt Holt, operates Dyanim, LLC to maintain the project and direct development alongside a global community. Sponsorships are fulfilled by Dyanim, LLC.
|
The original author of Caddy, Matt Holt, operates Dyanim, LLC to maintain the project and direct development alongside a global community. Sponsorships are fulfilled by Dyanim, LLC.
|
||||||
</p>
|
</p>
|
||||||
<div class="cols cols-big">
|
<div class="cols">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<h3 class="green">Are these software licenses?</h3>
|
<h3 class="green">Are these software licenses?</h3>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue