Fossil SCM

Add CSS selector summary.section to wherever div.section is used, as that's the new header for accordions.

stephan 2026-11-13 13:17 UTC accordion-rework
Commit dc18eb87d87c42b04beaabce425ae587f0cd3a42cd9db17c6473a6b3bd0c9c72
--- skins/black_and_white/css.txt
+++ skins/black_and_white/css.txt
@@ -121,11 +121,11 @@
121121
div.content {
122122
padding: 2ex 1ex 0ex 2ex;
123123
}
124124
125125
/* Some pages have section dividers */
126
-div.section {
126
+div.section, summary.section {
127127
margin-bottom: 0px;
128128
margin-top: 1em;
129129
padding: 1px 1px 1px 1px;
130130
font-size: 1.2em;
131131
font-weight: bold;
132132
--- skins/black_and_white/css.txt
+++ skins/black_and_white/css.txt
@@ -121,11 +121,11 @@
121 div.content {
122 padding: 2ex 1ex 0ex 2ex;
123 }
124
125 /* Some pages have section dividers */
126 div.section {
127 margin-bottom: 0px;
128 margin-top: 1em;
129 padding: 1px 1px 1px 1px;
130 font-size: 1.2em;
131 font-weight: bold;
132
--- skins/black_and_white/css.txt
+++ skins/black_and_white/css.txt
@@ -121,11 +121,11 @@
121 div.content {
122 padding: 2ex 1ex 0ex 2ex;
123 }
124
125 /* Some pages have section dividers */
126 div.section, summary.section {
127 margin-bottom: 0px;
128 margin-top: 1em;
129 padding: 1px 1px 1px 1px;
130 font-size: 1.2em;
131 font-weight: bold;
132
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -155,11 +155,11 @@
155155
div.content {
156156
padding: 0ex 1ex 1ex 1ex;
157157
}
158158
159159
/* Some pages have section dividers */
160
-div.section {
160
+div.section, summary.section {
161161
margin-bottom: 0;
162162
margin-top: 1em;
163163
padding: 0.1em;
164164
font-size: 1.2em;
165165
font-weight: bold;
166166
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -155,11 +155,11 @@
155 div.content {
156 padding: 0ex 1ex 1ex 1ex;
157 }
158
159 /* Some pages have section dividers */
160 div.section {
161 margin-bottom: 0;
162 margin-top: 1em;
163 padding: 0.1em;
164 font-size: 1.2em;
165 font-weight: bold;
166
--- skins/darkmode/css.txt
+++ skins/darkmode/css.txt
@@ -155,11 +155,11 @@
155 div.content {
156 padding: 0ex 1ex 1ex 1ex;
157 }
158
159 /* Some pages have section dividers */
160 div.section, summary.section {
161 margin-bottom: 0;
162 margin-top: 1em;
163 padding: 0.1em;
164 font-size: 1.2em;
165 font-weight: bold;
166
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -106,11 +106,11 @@
106106
div.content {
107107
padding: 0ex 1ex 0ex 2ex;
108108
}
109109
110110
/* Some pages have section dividers */
111
-div.section {
111
+div.section, summary.section {
112112
margin-bottom: 0px;
113113
margin-top: 1em;
114114
padding: 1px 1px 1px 1px;
115115
font-size: 1.2em;
116116
font-weight: bold;
117117
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -106,11 +106,11 @@
106 div.content {
107 padding: 0ex 1ex 0ex 2ex;
108 }
109
110 /* Some pages have section dividers */
111 div.section {
112 margin-bottom: 0px;
113 margin-top: 1em;
114 padding: 1px 1px 1px 1px;
115 font-size: 1.2em;
116 font-weight: bold;
117
--- skins/eagle/css.txt
+++ skins/eagle/css.txt
@@ -106,11 +106,11 @@
106 div.content {
107 padding: 0ex 1ex 0ex 2ex;
108 }
109
110 /* Some pages have section dividers */
111 div.section, summary.section {
112 margin-bottom: 0px;
113 margin-top: 1em;
114 padding: 1px 1px 1px 1px;
115 font-size: 1.2em;
116 font-weight: bold;
117
--- skins/khaki/css.txt
+++ skins/khaki/css.txt
@@ -109,11 +109,11 @@
109109
text-decoration: none;
110110
}
111111
112112
113113
/* Some pages have section dividers */
114
-div.section {
114
+div.section, summary.section {
115115
margin-bottom: 0px;
116116
margin-top: 1em;
117117
padding: 3px 3px 0 3px;
118118
font-size: 1.2em;
119119
font-weight: bold;
120120
--- skins/khaki/css.txt
+++ skins/khaki/css.txt
@@ -109,11 +109,11 @@
109 text-decoration: none;
110 }
111
112
113 /* Some pages have section dividers */
114 div.section {
115 margin-bottom: 0px;
116 margin-top: 1em;
117 padding: 3px 3px 0 3px;
118 font-size: 1.2em;
119 font-weight: bold;
120
--- skins/khaki/css.txt
+++ skins/khaki/css.txt
@@ -109,11 +109,11 @@
109 text-decoration: none;
110 }
111
112
113 /* Some pages have section dividers */
114 div.section, summary.section {
115 margin-bottom: 0px;
116 margin-top: 1em;
117 padding: 3px 3px 0 3px;
118 font-size: 1.2em;
119 font-weight: bold;
120
--- skins/original/css.txt
+++ skins/original/css.txt
@@ -91,11 +91,11 @@
9191
border: solid #aaa;
9292
border-width: 1px;
9393
}
9494
9595
/* Some pages have section dividers */
96
-div.section {
96
+div.section, summary.section {
9797
margin-bottom: 0px;
9898
margin-top: 1em;
9999
padding: 1px 1px 1px 1px;
100100
font-size: 1.2em;
101101
font-weight: bold;
102102
--- skins/original/css.txt
+++ skins/original/css.txt
@@ -91,11 +91,11 @@
91 border: solid #aaa;
92 border-width: 1px;
93 }
94
95 /* Some pages have section dividers */
96 div.section {
97 margin-bottom: 0px;
98 margin-top: 1em;
99 padding: 1px 1px 1px 1px;
100 font-size: 1.2em;
101 font-weight: bold;
102
--- skins/original/css.txt
+++ skins/original/css.txt
@@ -91,11 +91,11 @@
91 border: solid #aaa;
92 border-width: 1px;
93 }
94
95 /* Some pages have section dividers */
96 div.section, summary.section {
97 margin-bottom: 0px;
98 margin-top: 1em;
99 padding: 1px 1px 1px 1px;
100 font-size: 1.2em;
101 font-weight: bold;
102
--- skins/plain_gray/css.txt
+++ skins/plain_gray/css.txt
@@ -107,11 +107,11 @@
107107
padding: 0.5em;
108108
white-space: pre-wrap;
109109
}
110110
111111
/* Some pages have section dividers */
112
-div.section {
112
+div.section, summary.section {
113113
margin-bottom: 0px;
114114
margin-top: 1em;
115115
padding: 1px 1px 1px 1px;
116116
font-size: 1.2em;
117117
font-weight: bold;
118118
--- skins/plain_gray/css.txt
+++ skins/plain_gray/css.txt
@@ -107,11 +107,11 @@
107 padding: 0.5em;
108 white-space: pre-wrap;
109 }
110
111 /* Some pages have section dividers */
112 div.section {
113 margin-bottom: 0px;
114 margin-top: 1em;
115 padding: 1px 1px 1px 1px;
116 font-size: 1.2em;
117 font-weight: bold;
118
--- skins/plain_gray/css.txt
+++ skins/plain_gray/css.txt
@@ -107,11 +107,11 @@
107 padding: 0.5em;
108 white-space: pre-wrap;
109 }
110
111 /* Some pages have section dividers */
112 div.section, summary.section {
113 margin-bottom: 0px;
114 margin-top: 1em;
115 padding: 1px 1px 1px 1px;
116 font-size: 1.2em;
117 font-weight: bold;
118
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -549,11 +549,12 @@
549549
550550
/**************************************
551551
* Sections
552552
*/
553553
554
-div.section, div.sectionmenu {
554
+div.section, div.sectionmenu,
555
+summary.section{
555556
color: #2ee;
556557
background-color: #22c;
557558
border-radius: 0 3rem;
558559
box-shadow: 2px 2px #000;
559560
display: flex;
560561
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -549,11 +549,12 @@
549
550 /**************************************
551 * Sections
552 */
553
554 div.section, div.sectionmenu {
 
555 color: #2ee;
556 background-color: #22c;
557 border-radius: 0 3rem;
558 box-shadow: 2px 2px #000;
559 display: flex;
560
--- skins/xekri/css.txt
+++ skins/xekri/css.txt
@@ -549,11 +549,12 @@
549
550 /**************************************
551 * Sections
552 */
553
554 div.section, div.sectionmenu,
555 summary.section{
556 color: #2ee;
557 background-color: #22c;
558 border-radius: 0 3rem;
559 box-shadow: 2px 2px #000;
560 display: flex;
561

Keyboard Shortcuts

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