mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 20:16:16 -04:00
A few minor fixes/tweaks
This commit is contained in:
parent
6b16d4d4b8
commit
2973be1e45
5 changed files with 29 additions and 19 deletions
|
@ -77,6 +77,9 @@ example2.com {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If a request matches multiple site blocks, the first matching site is chosen. Requests don't cascade into to other site blocks.
|
||||||
|
|
||||||
|
|
||||||
### Directives
|
### Directives
|
||||||
|
|
||||||
**Directives** are keywords which customize how the site is served. For example, a complete file server config might look like this:
|
**Directives** are keywords which customize how the site is served. For example, a complete file server config might look like this:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Caddy 2 - The Ultimate Server with Automatic HTTPS</title>
|
<title>Caddy - The Ultimate Server with Automatic HTTPS</title>
|
||||||
{{include "/includes/head.html"}}
|
{{include "/includes/head.html"}}
|
||||||
<link rel="stylesheet" href="/resources/css/home.css">
|
<link rel="stylesheet" href="/resources/css/home.css">
|
||||||
<meta property="og:title" content="Caddy 2 - The Ultimate Server with Automatic HTTPS">
|
<meta property="og:title" content="Caddy 2 - The Ultimate Server with Automatic HTTPS">
|
||||||
|
|
|
@ -57,12 +57,15 @@ header {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#search {
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
header nav {
|
header nav {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
header nav > a {
|
header nav > a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
@ -193,6 +196,18 @@ footer > div {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
|
header {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
#logo-container {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
header nav {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|
|
@ -27,6 +27,10 @@ header {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#search {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
header nav {
|
header nav {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 2em;
|
line-height: 2em;
|
||||||
|
@ -767,7 +771,11 @@ td code {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 900px) {
|
||||||
|
#logo-container {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
#logo-docs {
|
#logo-docs {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,6 @@ body {
|
||||||
font-family: 'Inter', sans-serif;
|
font-family: 'Inter', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
#search {
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
background-image: url('/resources/images/bg-teal.jpg');
|
background-image: url('/resources/images/bg-teal.jpg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
|
@ -171,18 +167,6 @@ iframe.github-stars {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 900px) {
|
@media (max-width: 900px) {
|
||||||
header {
|
|
||||||
flex-direction: column;
|
|
||||||
}
|
|
||||||
|
|
||||||
#logo-container {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
header nav {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 50px;
|
font-size: 50px;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue