mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 14:10:32 -04:00
Make entire rows clickable on directive page's table
This commit is contained in:
parent
0891b1675e
commit
1dedc30596
1 changed files with 28 additions and 0 deletions
|
@ -2,10 +2,37 @@
|
||||||
title: Caddyfile Directives
|
title: Caddyfile Directives
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<style>
|
||||||
|
#directive-table table {
|
||||||
|
margin: 0 auto;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#directive-table tr:hover {
|
||||||
|
background: rgba(0, 0, 0, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#directive-table tr td:first-child {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
#directive-table a:before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
display: block;
|
||||||
|
width: 100vw;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
# Caddyfile Directives
|
# Caddyfile Directives
|
||||||
|
|
||||||
The following directives come standard with Caddy, and can be used in the HTTP Caddyfile:
|
The following directives come standard with Caddy, and can be used in the HTTP Caddyfile:
|
||||||
|
|
||||||
|
<div id="directive-table">
|
||||||
|
|
||||||
Directive | Description
|
Directive | Description
|
||||||
----------|------------
|
----------|------------
|
||||||
**[abort](/docs/caddyfile/directives/abort)** | Aborts the HTTP request
|
**[abort](/docs/caddyfile/directives/abort)** | Aborts the HTTP request
|
||||||
|
@ -38,6 +65,7 @@ Directive | Description
|
||||||
**[try_files](/docs/caddyfile/directives/try_files)** | Rewrite that depends on file existence
|
**[try_files](/docs/caddyfile/directives/try_files)** | Rewrite that depends on file existence
|
||||||
**[uri](/docs/caddyfile/directives/uri)** | Manipulate the URI
|
**[uri](/docs/caddyfile/directives/uri)** | Manipulate the URI
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
## Syntax
|
## Syntax
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue