diff options
Diffstat (limited to 'main.css')
| -rw-r--r-- | main.css | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/main.css b/main.css new file mode 100644 index 0000000..86bd4cb --- /dev/null +++ b/main.css @@ -0,0 +1,97 @@ +body { + font-family: sans-serif; +} + +h1 { + font-size: 135%; + border-bottom: dashed 1px black; +} + +h2 { + font-size: 120%; +} + +#footer { + width: 100%; + border-top: solid 1px; + font-size: 80%; + opacity: 0.6; +} + +p { + width: 40%; + min-width: 30em; + margin-left: 1.5em; + line-height: 1.4em; + text-align: justify; +} + +dt { + font-weight: bold; +} + +dl { + margin-left: 1.5em; +} + +span.red { + color: #dd3333; +} + +span.green { + color: #33dd33; +} + +span.node, span.path, span.ipaddr, span.key, .community { + font-family: monospace; +} + +/* + * asciidoctor puts the content of certain elements inside <p>, which makes + * them format badly using the default style. + */ +dd p, +dt p, +td p, +th p, +li p { + min-width: 0; + width: auto; + text-align: start; + margin: 0; + padding: 0; +} + +table { + border-collapse: collapse; + text-align: left; +} + +th, td { + padding: 4px; + border: none; +} + +thead th { + font-weight: bold; + text-align: center; + text-transform: uppercase; + border-bottom: 2px solid currentColor; +} + +tbody th p { + background-color: rgba(0, 0, 0, 0.1); + text-align: center; + font-weight: bold; + padding: 5px; + margin: 0; +} + +tbody tr:nth-child(odd) td { + background-color: rgba(0, 0, 0, 0.05); +} + +tfoot { + font-weight: bold; + border-top: 2px solid currentColor; +} |
