Fossil SCM
A few tweaks to the darkmode skin.
Commit
1adcb8a49b0229f16916b7c0c1ca748c7bd21550462785b7f3ddbe45ff331dc2
Parent
1e815c46d028cac…
2 files changed
+8
-4
+6
-11
+8
-4
| --- skins/darkmode/css.txt | ||
| +++ skins/darkmode/css.txt | ||
| @@ -11,11 +11,10 @@ | ||
| 11 | 11 | div.title { |
| 12 | 12 | display: table-cell; |
| 13 | 13 | font-size: 2em; |
| 14 | 14 | font-weight: bold; |
| 15 | 15 | text-align: center; |
| 16 | - padding: 0 0 0 1em; | |
| 17 | 16 | vertical-align: bottom; |
| 18 | 17 | width: 100%; |
| 19 | 18 | } |
| 20 | 19 | |
| 21 | 20 | /* The login status message in the top right-hand corner */ |
| @@ -80,24 +79,23 @@ | ||
| 80 | 79 | border-bottom-right-radius: 0.5em; |
| 81 | 80 | } |
| 82 | 81 | a, a:visited { |
| 83 | 82 | color: rgba(127, 201, 255, 0.9); |
| 84 | 83 | display: inline; |
| 84 | + text-decoration: none; | |
| 85 | 85 | } |
| 86 | 86 | a:visited {opacity: 0.8} |
| 87 | 87 | div.mainmenu a, div.submenu a, |
| 88 | 88 | div.sectionmenu>a.button, div.submenu label, |
| 89 | 89 | div.footer a { |
| 90 | 90 | padding: 0.15em 0.5em; |
| 91 | - text-decoration: none; | |
| 92 | 91 | } |
| 93 | 92 | /* div.mainmenu a.active, FIXME: setting of .active is broken for some URIs */ |
| 94 | 93 | a:hover, a:visited:hover { |
| 95 | 94 | background-color: #FF4500f0; |
| 96 | 95 | color: rgba(24,24,24,0.8); |
| 97 | 96 | border-radius: 0.1em; |
| 98 | - text-decoration: none; | |
| 99 | 97 | } |
| 100 | 98 | div.mainmenu a.active { |
| 101 | 99 | opacity: 0.8; |
| 102 | 100 | } |
| 103 | 101 | /*div.mainmenu a:hover, div.mainmenu a:visited:hover, |
| @@ -471,11 +469,17 @@ | ||
| 471 | 469 | /* swap the pikchr svg colors around so they're readable in |
| 472 | 470 | this dark theme. 2020-02: changes in fossil have made this |
| 473 | 471 | obsolete. */ |
| 474 | 472 | /*filter: invert(1) hue-rotate(180deg);*/ |
| 475 | 473 | } |
| 476 | - | |
| 474 | +span.snippet>mark { | |
| 475 | + color: white; | |
| 476 | + font-weight: bold; | |
| 477 | +} | |
| 478 | +input { | |
| 479 | + background-color: #c0c0c0; | |
| 480 | +} | |
| 477 | 481 | body.forum div.forumSel { |
| 478 | 482 | background: inherit; |
| 479 | 483 | border-left-width: 0.5em; |
| 480 | 484 | border-left-style: double; |
| 481 | 485 | } |
| 482 | 486 |
| --- skins/darkmode/css.txt | |
| +++ skins/darkmode/css.txt | |
| @@ -11,11 +11,10 @@ | |
| 11 | div.title { |
| 12 | display: table-cell; |
| 13 | font-size: 2em; |
| 14 | font-weight: bold; |
| 15 | text-align: center; |
| 16 | padding: 0 0 0 1em; |
| 17 | vertical-align: bottom; |
| 18 | width: 100%; |
| 19 | } |
| 20 | |
| 21 | /* The login status message in the top right-hand corner */ |
| @@ -80,24 +79,23 @@ | |
| 80 | border-bottom-right-radius: 0.5em; |
| 81 | } |
| 82 | a, a:visited { |
| 83 | color: rgba(127, 201, 255, 0.9); |
| 84 | display: inline; |
| 85 | } |
| 86 | a:visited {opacity: 0.8} |
| 87 | div.mainmenu a, div.submenu a, |
| 88 | div.sectionmenu>a.button, div.submenu label, |
| 89 | div.footer a { |
| 90 | padding: 0.15em 0.5em; |
| 91 | text-decoration: none; |
| 92 | } |
| 93 | /* div.mainmenu a.active, FIXME: setting of .active is broken for some URIs */ |
| 94 | a:hover, a:visited:hover { |
| 95 | background-color: #FF4500f0; |
| 96 | color: rgba(24,24,24,0.8); |
| 97 | border-radius: 0.1em; |
| 98 | text-decoration: none; |
| 99 | } |
| 100 | div.mainmenu a.active { |
| 101 | opacity: 0.8; |
| 102 | } |
| 103 | /*div.mainmenu a:hover, div.mainmenu a:visited:hover, |
| @@ -471,11 +469,17 @@ | |
| 471 | /* swap the pikchr svg colors around so they're readable in |
| 472 | this dark theme. 2020-02: changes in fossil have made this |
| 473 | obsolete. */ |
| 474 | /*filter: invert(1) hue-rotate(180deg);*/ |
| 475 | } |
| 476 | |
| 477 | body.forum div.forumSel { |
| 478 | background: inherit; |
| 479 | border-left-width: 0.5em; |
| 480 | border-left-style: double; |
| 481 | } |
| 482 |
| --- skins/darkmode/css.txt | |
| +++ skins/darkmode/css.txt | |
| @@ -11,11 +11,10 @@ | |
| 11 | div.title { |
| 12 | display: table-cell; |
| 13 | font-size: 2em; |
| 14 | font-weight: bold; |
| 15 | text-align: center; |
| 16 | vertical-align: bottom; |
| 17 | width: 100%; |
| 18 | } |
| 19 | |
| 20 | /* The login status message in the top right-hand corner */ |
| @@ -80,24 +79,23 @@ | |
| 79 | border-bottom-right-radius: 0.5em; |
| 80 | } |
| 81 | a, a:visited { |
| 82 | color: rgba(127, 201, 255, 0.9); |
| 83 | display: inline; |
| 84 | text-decoration: none; |
| 85 | } |
| 86 | a:visited {opacity: 0.8} |
| 87 | div.mainmenu a, div.submenu a, |
| 88 | div.sectionmenu>a.button, div.submenu label, |
| 89 | div.footer a { |
| 90 | padding: 0.15em 0.5em; |
| 91 | } |
| 92 | /* div.mainmenu a.active, FIXME: setting of .active is broken for some URIs */ |
| 93 | a:hover, a:visited:hover { |
| 94 | background-color: #FF4500f0; |
| 95 | color: rgba(24,24,24,0.8); |
| 96 | border-radius: 0.1em; |
| 97 | } |
| 98 | div.mainmenu a.active { |
| 99 | opacity: 0.8; |
| 100 | } |
| 101 | /*div.mainmenu a:hover, div.mainmenu a:visited:hover, |
| @@ -471,11 +469,17 @@ | |
| 469 | /* swap the pikchr svg colors around so they're readable in |
| 470 | this dark theme. 2020-02: changes in fossil have made this |
| 471 | obsolete. */ |
| 472 | /*filter: invert(1) hue-rotate(180deg);*/ |
| 473 | } |
| 474 | span.snippet>mark { |
| 475 | color: white; |
| 476 | font-weight: bold; |
| 477 | } |
| 478 | input { |
| 479 | background-color: #c0c0c0; |
| 480 | } |
| 481 | body.forum div.forumSel { |
| 482 | background: inherit; |
| 483 | border-left-width: 0.5em; |
| 484 | border-left-style: double; |
| 485 | } |
| 486 |
+6
-11
| --- skins/darkmode/header.txt | ||
| +++ skins/darkmode/header.txt | ||
| @@ -1,22 +1,17 @@ | ||
| 1 | 1 | <div class="header"> |
| 2 | - <div class="status leftoftitle"> | |
| 3 | - <th1> | |
| 2 | + <div class="status leftoftitle"><th1> | |
| 4 | 3 | if {[info exists login]} { |
| 5 | - html "<a href='$home/login'>$login</a>\n" | |
| 4 | + set logintext "<a href='$home/login'>$login</a>\n" | |
| 6 | 5 | } else { |
| 7 | - html "<a href='$home/login'>Login</a>\n" | |
| 6 | + set logintext "<a href='$home/login'>Login</a>\n" | |
| 8 | 7 | } |
| 9 | - </th1> | |
| 10 | - </div> | |
| 8 | + html $logintext | |
| 9 | + </th1></div> | |
| 11 | 10 | <div class="title">$<title></div> |
| 12 | 11 | <div class="status"><nobr><th1> |
| 13 | - if {[info exists login]} { | |
| 14 | - html "<a href='$home/login'>$login</a>\n" | |
| 15 | - } else { | |
| 16 | - html "<a href='$home/login'>Login</a>\n" | |
| 17 | - } | |
| 12 | + html $logintext | |
| 18 | 13 | </th1></nobr></div> |
| 19 | 14 | </div> |
| 20 | 15 | <div class="mainmenu"> |
| 21 | 16 | <th1> |
| 22 | 17 | html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>☰</a>" |
| 23 | 18 |
| --- skins/darkmode/header.txt | |
| +++ skins/darkmode/header.txt | |
| @@ -1,22 +1,17 @@ | |
| 1 | <div class="header"> |
| 2 | <div class="status leftoftitle"> |
| 3 | <th1> |
| 4 | if {[info exists login]} { |
| 5 | html "<a href='$home/login'>$login</a>\n" |
| 6 | } else { |
| 7 | html "<a href='$home/login'>Login</a>\n" |
| 8 | } |
| 9 | </th1> |
| 10 | </div> |
| 11 | <div class="title">$<title></div> |
| 12 | <div class="status"><nobr><th1> |
| 13 | if {[info exists login]} { |
| 14 | html "<a href='$home/login'>$login</a>\n" |
| 15 | } else { |
| 16 | html "<a href='$home/login'>Login</a>\n" |
| 17 | } |
| 18 | </th1></nobr></div> |
| 19 | </div> |
| 20 | <div class="mainmenu"> |
| 21 | <th1> |
| 22 | html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>☰</a>" |
| 23 |
| --- skins/darkmode/header.txt | |
| +++ skins/darkmode/header.txt | |
| @@ -1,22 +1,17 @@ | |
| 1 | <div class="header"> |
| 2 | <div class="status leftoftitle"><th1> |
| 3 | if {[info exists login]} { |
| 4 | set logintext "<a href='$home/login'>$login</a>\n" |
| 5 | } else { |
| 6 | set logintext "<a href='$home/login'>Login</a>\n" |
| 7 | } |
| 8 | html $logintext |
| 9 | </th1></div> |
| 10 | <div class="title">$<title></div> |
| 11 | <div class="status"><nobr><th1> |
| 12 | html $logintext |
| 13 | </th1></nobr></div> |
| 14 | </div> |
| 15 | <div class="mainmenu"> |
| 16 | <th1> |
| 17 | html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>☰</a>" |
| 18 |