diff options
| author | cashmere <cashmere@autistici.org> | 2026-09-04 09:05:24 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-09-04 09:05:24 +0200 |
| commit | 4f49b16079b27d7ce633619e4cddfdf2bffbc952 (patch) | |
| tree | c296c1e7f3c3e2f6859c6d3a1b1b208779b89679 /skins/plain_gray | |
| download | relic-4f49b16079b27d7ce633619e4cddfdf2bffbc952.tar.gz | |
Diffstat (limited to 'skins/plain_gray')
| -rw-r--r-- | skins/plain_gray/css.txt | 150 | ||||
| -rw-r--r-- | skins/plain_gray/details.txt | 4 | ||||
| -rw-r--r-- | skins/plain_gray/footer.txt | 3 | ||||
| -rw-r--r-- | skins/plain_gray/header.txt | 15 |
4 files changed, 172 insertions, 0 deletions
diff --git a/skins/plain_gray/css.txt b/skins/plain_gray/css.txt new file mode 100644 index 0000000..b8e7fcd --- /dev/null +++ b/skins/plain_gray/css.txt @@ -0,0 +1,150 @@ +/* General settings for the entire page */ +body { + margin: 0ex 1ex; + padding: 0px; + background-color: white; + font-family: sans-serif; + text-size-adjust: none; +} + +/* The page title centered at the top of each page */ +div.title { + display: table-cell; + font-size: 1.5em; + font-weight: bold; + text-align: center; + padding: 0 0 0 10px; + color: #404040; + vertical-align: bottom; + width: 100%; +} + +/* The login status message in the top right-hand corner */ +div.status { + display: table-cell; + text-align: right; + vertical-align: bottom; + color: #404040; + font-weight: bold; + white-space: nowrap; +} + +/* The header across the top of the page */ +header { + display: table; + width: 100%; +} + +/* The main menu bar that appears at the top of the page beneath +** the header */ +nav.mainmenu { + padding: 5px 10px 5px 10px; + font-size: 0.9em; + font-weight: bold; + text-align: center; + letter-spacing: 1px; + background-color: #404040; + color: white; + z-index: 21; /* just above hbdrop */ +} +.hbdrop { + background-color: white; + border: 1px solid black; + border-radius: 0.5em; + display: none; + width: 95%; + position: absolute; + z-index: 20; /* just below mainmenu, but above timeline bubbles */ +} +div.hbdrop a { color: #604000; } +div.hbdrop a:link { color: #604000;} +div.hbdrop a:visited { color: #600000; } + + +/* The submenu bar that *sometimes* appears below the main menu */ +div.submenu, div.sectionmenu { + padding: 3px 10px 3px 0px; + font-size: 0.9em; + text-align: center; + background-color: #606060; + color: white; +} +nav.mainmenu a, +nav.mainmenu a:visited, +div.submenu a, +div.submenu a:visited, +div.sectionmenu>a.button:link, +div.sectionmenu>a.button:visited, +div.submenu label { + padding: 3px 10px 3px 10px; + color: white; + text-decoration: none; +} +nav.mainmenu a:hover, +div.submenu a:hover, +div.sectionmenu>a.button:hover, +div.submenu label:hover { + color: #404040; + background-color: white; +} +a, a:visited { + text-decoration: none; +} + +/* All page content from the bottom of the menu or submenu down to +** the footer */ +div.content { + padding: 0ex 0ex 0ex 0ex; +} +/* Hyperlink colors */ +div.content a { color: #604000; } +div.content a:link { color: #604000;} +div.content a:visited { color: #600000; } + +/* <verbatim> blocks */ +pre.verbatim { + background-color: #ffffff; + padding: 0.5em; + white-space: pre-wrap; +} + +/* Some pages have section dividers */ +div.section { + margin-bottom: 0px; + margin-top: 1em; + padding: 1px 1px 1px 1px; + font-size: 1.2em; + font-weight: bold; + background-color: #404040; + color: white; + white-space: nowrap; +} + +/* The "Date" that occurs on the left hand side of timelines */ +div.divider { + background: #a0a0a0; + border: 2px #505050 solid; + font-size: 1em; font-weight: normal; + padding: .25em; + margin: .2em 0 .2em 0; + float: left; + clear: left; + white-space: nowrap; +} + +/* The footer at the very bottom of the page */ +footer { + font-size: 0.8em; + margin-top: 12px; + padding: 5px 10px 5px 10px; + text-align: right; + background-color: #404040; + color: white; +} + +/* The label/value pairs on (for example) the vinfo page */ +table.label-value th { + vertical-align: top; + text-align: right; + padding: 0.2ex 2ex; +} diff --git a/skins/plain_gray/details.txt b/skins/plain_gray/details.txt new file mode 100644 index 0000000..07f1951 --- /dev/null +++ b/skins/plain_gray/details.txt @@ -0,0 +1,4 @@ +timeline-arrowheads: 1 +timeline-circle-nodes: 1 +timeline-color-graph-lines: 0 +white-foreground: 0 diff --git a/skins/plain_gray/footer.txt b/skins/plain_gray/footer.txt new file mode 100644 index 0000000..a897ecf --- /dev/null +++ b/skins/plain_gray/footer.txt @@ -0,0 +1,3 @@ +<footer> +Fossil $release_version $manifest_version $manifest_date +</footer> diff --git a/skins/plain_gray/header.txt b/skins/plain_gray/header.txt new file mode 100644 index 0000000..488b5cb --- /dev/null +++ b/skins/plain_gray/header.txt @@ -0,0 +1,15 @@ +<header> + <div class="title">$<project_name>: $<title></div> +</header> +<nav class="mainmenu" title="Main Menu"> + <th1> + html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>☰</a>" + builtin_request_js hbmenu.js + foreach {name url expr class} $mainmenu { + if {![capexpr $expr]} continue + if {[string match /* $url]} {set url $home$url} + html "<a href='$url' class='$class'>$name</a>\n" + } + </th1> +</nav> +<nav id="hbdrop" class='hbdrop' title="sitemap"></nav> |
