Fossil SCM

A few tweaks to the darkmode skin.

drh 2021-02-10 00:30 trunk
Commit 1adcb8a49b0229f16916b7c0c1ca748c7bd21550462785b7f3ddbe45ff331dc2
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -11,11 +11,10 @@
1111
div.title {
1212
display: table-cell;
1313
font-size: 2em;
1414
font-weight: bold;
1515
text-align: center;
16
- padding: 0 0 0 1em;
1716
vertical-align: bottom;
1817
width: 100%;
1918
}
2019
2120
/* The login status message in the top right-hand corner */
@@ -80,24 +79,23 @@
8079
border-bottom-right-radius: 0.5em;
8180
}
8281
a, a:visited {
8382
color: rgba(127, 201, 255, 0.9);
8483
display: inline;
84
+ text-decoration: none;
8585
}
8686
a:visited {opacity: 0.8}
8787
div.mainmenu a, div.submenu a,
8888
div.sectionmenu>a.button, div.submenu label,
8989
div.footer a {
9090
padding: 0.15em 0.5em;
91
- text-decoration: none;
9291
}
9392
/* div.mainmenu a.active, FIXME: setting of .active is broken for some URIs */
9493
a:hover, a:visited:hover {
9594
background-color: #FF4500f0;
9695
color: rgba(24,24,24,0.8);
9796
border-radius: 0.1em;
98
- text-decoration: none;
9997
}
10098
div.mainmenu a.active {
10199
opacity: 0.8;
102100
}
103101
/*div.mainmenu a:hover, div.mainmenu a:visited:hover,
@@ -471,11 +469,17 @@
471469
/* swap the pikchr svg colors around so they're readable in
472470
this dark theme. 2020-02: changes in fossil have made this
473471
obsolete. */
474472
/*filter: invert(1) hue-rotate(180deg);*/
475473
}
476
-
474
+span.snippet>mark {
475
+ color: white;
476
+ font-weight: bold;
477
+}
478
+input {
479
+ background-color: #c0c0c0;
480
+}
477481
body.forum div.forumSel {
478482
background: inherit;
479483
border-left-width: 0.5em;
480484
border-left-style: double;
481485
}
482486
--- 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
--- skins/darkmode/header.txt
+++ skins/darkmode/header.txt
@@ -1,22 +1,17 @@
11
<div class="header">
2
- <div class="status leftoftitle">
3
- <th1>
2
+ <div class="status leftoftitle"><th1>
43
if {[info exists login]} {
5
- html "<a href='$home/login'>$login</a>\n"
4
+ set logintext "<a href='$home/login'>$login</a>\n"
65
} else {
7
- html "<a href='$home/login'>Login</a>\n"
6
+ set logintext "<a href='$home/login'>Login</a>\n"
87
}
9
- </th1>
10
- </div>
8
+ html $logintext
9
+ </th1></div>
1110
<div class="title">$<title></div>
1211
<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
1813
</th1></nobr></div>
1914
</div>
2015
<div class="mainmenu">
2116
<th1>
2217
html "<a id='hbbtn' href='$home/sitemap' aria-label='Site Map'>&#9776;</a>"
2318
--- 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'>&#9776;</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'>&#9776;</a>"
18

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button