Skip to content

Commit 361eabe

Browse files
committed
Underline section headers
1 parent 56d01fe commit 361eabe

File tree

4 files changed

+35
-31
lines changed

4 files changed

+35
-31
lines changed

css/main.css

+6
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,9 @@ tt, .terminal {
120120
img.app-screen {
121121
width: 50%;
122122
}
123+
124+
.header {
125+
clear: right;
126+
font-weight: bold;
127+
text-decoration: underline;
128+
}

help/translating.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<!DOCTYPE html>
22

3-
43
<html>
54
<head>
65
<meta charset="utf-8">
@@ -28,7 +27,7 @@
2827
</div>
2928

3029
<div class="box">
31-
<h1>Translating with Poedit</h1>
30+
<h1 class="header">Translating with Poedit</h1>
3231

3332
<p>
3433
<b>NOTE:</b> I noticed that some of the translators were using a program called
@@ -55,7 +54,7 @@ <h1>Translating with Poedit</h1>
5554
</div>
5655

5756
<div class="box">
58-
<h1>Translating without Poedit</h1>
57+
<h1 class="header">Translating without Poedit</h1>
5958

6059
<p>
6160
The first thing to do is to install gettext (it will probably already be installed along
@@ -129,6 +128,7 @@ <h1>Translating without Poedit</h1>
129128
</div>
130129

131130
<div class="box">
131+
<h1 class="header">Updating Translations</h1>
132132
<p>
133133
In future versions Debreate's displayed text may change, causing translated .po files to
134134
become outdated. If you would like to update an existing .po file you can do the following:

help/usage.html

+16-18
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<a name="toc"></a>
2727
<div class="box" id="toc-box">
28-
<h1>Contents</h1>
28+
<h1 class="header">Contents</h1>
2929
<ul id="toc">
3030
<li><a href="#package-managers">Packages &amp; Package Managers</a></li>
3131
<ul>
@@ -47,7 +47,7 @@ <h1>Contents</h1>
4747

4848
<a name="package-managers"></a>
4949
<div class="box">
50-
<h1 class="section-header"><a href="#toc-box">Packages &amp; Package Managers</a></h1>
50+
<h1 class="header"><a href="#toc-box">Packages &amp; Package Managers</a></h1>
5151

5252
<p>
5353
Most Linux and BSD based operating systems use
@@ -59,7 +59,7 @@ <h1 class="section-header"><a href="#toc-box">Packages &amp; Package Managers</a
5959
</p>
6060

6161
<a name="binary-packages"></a>
62-
<h2>Binary Packages</h2>
62+
<h2 class="header">Binary Packages</h2>
6363

6464
<p>
6565
The term "binary package" refers to a software archive assembled for deployment &amp; active
@@ -69,7 +69,7 @@ <h2>Binary Packages</h2>
6969
</p>
7070

7171
<a name="source-packages"></a>
72-
<h2>Source Packages</h2>
72+
<h2 class="header">Source Packages</h2>
7373
<p>
7474
Source packages require steps to prepare the contents for system use. Often part of the
7575
process includes compiling text source code into machine code to be executed on the host
@@ -81,7 +81,7 @@ <h2>Source Packages</h2>
8181
</p>
8282

8383
<a name="debreates-role"></a>
84-
<h2>Debreate's Role</h2>
84+
<h2 class="header">Debreate's Role</h2>
8585
<p>
8686
As of yet, Debreate does not support creating source packages or the creation of binary
8787
packages from source. It is currently only capable of the manual creation of .deb packages
@@ -91,9 +91,9 @@ <h2>Debreate's Role</h2>
9191

9292
<a name="ui"></a>
9393
<div class="box">
94-
<h1><a href="#toc-box">Debreate's UI</a></h1>
94+
<h1 class="header"><a href="#toc-box">Debreate's UI</a></h1>
9595

96-
<h2>Startup</h2>
96+
<h2 class="header" id="ui-startup">Startup</h2>
9797
<p>
9898
If the app's configuration file is not found on the system a dialog will display with a
9999
first time run message. A new configuration with default values will be created in
@@ -118,7 +118,7 @@ <h2>Startup</h2>
118118

119119
<a name="control"></a>
120120
<div class="box">
121-
<h1><a href="#toc-box">Control File</a></h1>
121+
<h1 class="header"><a href="#toc-box">Control File</a></h1>
122122
<p>
123123
.deb packages contain the file <tt>DEBIAN/control</tt>. This file contains meta information
124124
about the package. Such as the package name, package version, author, &amp; requirements.
@@ -150,7 +150,7 @@ <h1><a href="#toc-box">Control File</a></h1>
150150

151151
<a name="depends"></a>
152152
<div class="box">
153-
<h1><a href="#toc-box">Dependencies &amp; Conflicts</a></h1>
153+
<h1 class="header"><a href="#toc-box">Dependencies &amp; Conflicts</a></h1>
154154

155155
<p>
156156
Though on a separate page, dependencies &amp; conflicts are part of the control file.
@@ -184,7 +184,7 @@ <h1><a href="#toc-box">Dependencies &amp; Conflicts</a></h1>
184184

185185
<a name="files"></a>
186186
<div class="box">
187-
<h1><a href="#toc-box">Files</a></h1>
187+
<h1 class="header"><a href="#toc-box">Files</a></h1>
188188

189189
<p>
190190
This section is for the main contents of the package that will be installed to the target
@@ -218,7 +218,7 @@ <h1><a href="#toc-box">Files</a></h1>
218218

219219
<a name="scripts"></a>
220220
<div class="box">
221-
<h1><a href="#toc-box">Scripts</a></h1>
221+
<h1 class="header"><a href="#toc-box">Scripts</a></h1>
222222

223223
<p>
224224
Debian packages support four scripts that are executed at different points during the
@@ -261,9 +261,7 @@ <h1><a href="#toc-box">Scripts</a></h1>
261261
delete the link upon uninstalling the package.
262262
</p>
263263

264-
<p>
265-
<b>How to use Auto-Link:</b>
266-
</p>
264+
<p class="header">How to use Auto-Link:</p>
267265

268266
<p>
269267
Press the <img src="/res/button/import.png" title="import"> button to copy any executables
@@ -278,7 +276,7 @@ <h1><a href="#toc-box">Scripts</a></h1>
278276

279277
<a name="changelog"></a>
280278
<div class="box">
281-
<h1><a href="#toc-box">Changelog</a></h1>
279+
<h1 class="header"><a href="#toc-box">Changelog</a></h1>
282280

283281
<p>
284282
A changelog file is not required by Debian policy, but is useful to inform users of fixes
@@ -298,7 +296,7 @@ <h1><a href="#toc-box">Changelog</a></h1>
298296

299297
<a name="copyright"></a>
300298
<div class="box">
301-
<h1><a href="#toc-box">Copyright</a></h1>
299+
<h1 class="header"><a href="#toc-box">Copyright</a></h1>
302300

303301
<p>
304302
Inclusion of a copyright/license file notifies end users of how the software they are
@@ -334,7 +332,7 @@ <h1><a href="#toc-box">Copyright</a></h1>
334332

335333
<a name="menu"></a>
336334
<div class="box">
337-
<h1><a href="#toc-box">Menu</a></h1>
335+
<h1 class="header"><a href="#toc-box">Menu</a></h1>
338336

339337
<p>
340338
This section is for an optional menu entry to be included with the package. Adding a menu
@@ -367,7 +365,7 @@ <h1><a href="#toc-box">Menu</a></h1>
367365

368366
<a name="build"></a>
369367
<div class="box">
370-
<h1><a href="#toc-box">Build</a></h1>
368+
<h1 class="header"><a href="#toc-box">Build</a></h1>
371369

372370
<a class="app-screen" href="/res/screenshot/09-build.png"></a>
373371

index.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<div class="main-box">
2828
<div class="box flex-col" id="toc">
29-
<h1>Contents</h1>
29+
<h1 class="header">Contents</h1>
3030
<ul>
3131
<li><a href="#notice">Notice</a></li>
3232
<li><a href="#description">Description</a></li>
@@ -42,7 +42,7 @@ <h1>Contents</h1>
4242
</div>
4343

4444
<div class="box flex-col" id="notice">
45-
<h1><a href="#toc">Notice</a></h1>
45+
<h1 class="header"><a href="#toc">Notice</a></h1>
4646
<p><em>
4747
The software is in a state of revival. The old versions that are labelled as "stable" do
4848
not work well on modern operating systems. It is recommended to use a development version,
@@ -51,7 +51,7 @@ <h1><a href="#toc">Notice</a></h1>
5151
</div>
5252

5353
<div class="box flex-col" id="description">
54-
<h1><a href="#toc">Description</a></h1>
54+
<h1 class="header"><a href="#toc">Description</a></h1>
5555
<p>
5656
Debreate is a utility to aid in creating installable
5757
<a href="https://wikipedia.org/wiki/Deb_(file_format)">Debian (.deb)</a> packages.
@@ -78,7 +78,7 @@ <h1><a href="#toc">Description</a></h1>
7878
</div>
7979

8080
<div class="box flex-col" id="licensing">
81-
<h1><a href="#toc">Licensing</a></h1>
81+
<h1 class="header"><a href="#toc">Licensing</a></h1>
8282
<p>
8383
Debreate &amp; libdbr are licensed under <a href="LICENSE.txt">MIT</a>.
8484
</p>
@@ -113,9 +113,9 @@ <h1><a href="#toc">Starting Debreate (0.8 development versions)</a></h1>
113113
</div>
114114

115115
<div class="box flex-col" id="notes">
116-
<h1><a href="#toc">Notes</a></h1>
116+
<h1 class="header"><a href="#toc">Notes</a></h1>
117117

118-
<h2 id="wxpython-compat"><a href="#toc">wxPython Compatibility</a></h2>
118+
<h2 class="header" id="wxpython-compat"><a href="#toc">wxPython Compatibility</a></h2>
119119
<p>
120120
Debreate relies heavily on wxPython for its user interface. Most linux distributions provide
121121
versions from their package managers. As of writing this, Ubuntu supplies
@@ -146,7 +146,7 @@ <h2 id="wxpython-compat"><a href="#toc">wxPython Compatibility</a></h2>
146146
attempts to prompt the user to install via pip.
147147
</p>
148148

149-
<h2 id="non-debian"><a href="#toc">Using on Non-Debian Systems</a></h2>
149+
<h2 class="header" id="non-debian"><a href="#toc">Using on Non-Debian Systems</a></h2>
150150
<p>
151151
The software is tested on Debian based systems. It is unknown how it will function on other
152152
operating systems. It is likely the application will start, but package building will fail
@@ -167,14 +167,14 @@ <h2 id="non-debian"><a href="#toc">Using on Non-Debian Systems</a></h2>
167167
</div>
168168

169169
<div class="box l-col" id="links">
170-
<h1>Navigation</h1>
170+
<h1 class="header">Navigation</h1>
171171
<ul>
172172
<li><a href="/help/usage.html">Using Debreate</a></li>
173173
<li><a href="/help/translating.html">Translating Debreate</a></li>
174174
<li><a href="/libdbr/">libdbr</a></li>
175175
</ul>
176176

177-
<h1>Links</h1>
177+
<h1 class="header">Links</h1>
178178
<ul>
179179
<li><a href="https://github.com/debreate/debreate">GitHub Project</a></li>
180180
<li><a href="https://gitlab.com/debreate/debreate">GitLab Project</a></li>
@@ -187,7 +187,7 @@ <h1>Links</h1>
187187
</div>
188188

189189
<div class="box r-col">
190-
<h1>Downloads</h1>
190+
<h1 class="header">Downloads</h1>
191191
<h2 id="title-stable"></h2>
192192
<ul id="assets-stable"></ul>
193193
<h2 id="title-dev"></h2>

0 commit comments

Comments
 (0)