mirror of
https://github.com/caddyserver/website.git
synced 2025-05-02 01:39:13 -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
|
@ -218,23 +218,6 @@ section.light.gray {
|
|||
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 {
|
||||
--gap: 50px;
|
||||
|
@ -259,16 +242,13 @@ section.dark .cols {
|
|||
color: #aec6c3;
|
||||
}
|
||||
|
||||
|
||||
.cols .col {
|
||||
min-width: 350px;
|
||||
padding-left: 1em;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.cols-big .col {
|
||||
min-width: 450px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
|
@ -366,6 +346,10 @@ section.dark h3.yellow {
|
|||
max-width: none;
|
||||
}
|
||||
|
||||
.asides h3 {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.asides p {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
@ -650,10 +634,16 @@ div.ap-wrapper:fullscreen div.ap-player {
|
|||
}
|
||||
|
||||
@media (max-width: 1000px) {
|
||||
h1,
|
||||
h2 {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
h1 {
|
||||
font-size: 75px;
|
||||
}
|
||||
.asides {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.display {
|
||||
margin-top: 50px;
|
||||
margin-bottom: 50px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue