Skip to content

Commit ca3228f

Browse files
Merge pull request #90 from DougInAMug/navbar
Navbar
2 parents 1226961 + ba1660c commit ca3228f

File tree

12 files changed

+61
-106
lines changed

12 files changed

+61
-106
lines changed

_assets/borg.css

Lines changed: 47 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,65 @@ header {
88
background-color: black;
99
padding-top: 1.5rem;
1010
padding-bottom: 1rem;
11-
border-bottom: 2px solid #22D045;
11+
border-bottom: 5px solid #22D045;
1212
}
1313

1414
#logo {
1515
max-width: 600px;
1616
margin: 0 auto;
1717
}
1818

19+
/* apply drop shadow to logo paths */
20+
#logo path {
21+
filter: drop-shadow(0 0 2px black)
22+
}
23+
1924
header h1 {
2025
margin: 0;
2126
text-align: center;
2227
}
2328

29+
nav {
30+
display: flex;
31+
justify-content: center;
32+
}
33+
34+
nav > ol {
35+
display: flex;
36+
flex-wrap: wrap;
37+
justify-content: center;
38+
gap: 0.5rem;
39+
padding: 0 0.75rem;
40+
}
41+
42+
nav > ol > li {
43+
list-style: none;
44+
}
45+
46+
/* mono system font stack courtesy of https://qwtel.com/posts/software/the-monospaced-system-ui-css-font-stack/ */
47+
nav > ol > li > a {
48+
font-size: 1.1rem;
49+
font-weight: bold;
50+
color: #22D045;
51+
font-family: ui-monospace,
52+
Menlo, Monaco,
53+
"Cascadia Mono", "Segoe UI Mono",
54+
"Roboto Mono",
55+
"Oxygen Mono",
56+
"Ubuntu Monospace",
57+
"Source Code Pro",
58+
"Fira Mono",
59+
"Droid Sans Mono",
60+
monospace;
61+
padding: 0.25rem;
62+
}
63+
64+
nav > ol > li > a:hover,
65+
#logo svg:hover {
66+
text-shadow: 0 0 2px black;
67+
background: radial-gradient(closest-side, #22D045, transparent);
68+
}
69+
2470
main.content {
2571
max-width: 600px;
2672
padding: 0 1rem;
@@ -54,33 +100,6 @@ main ul {
54100
margin: 1.5rem 0;
55101
}
56102

57-
#links {
58-
padding-bottom: 1.5rem;
59-
display: flex;
60-
flex-wrap: wrap;
61-
justify-content: space-around;
62-
}
63-
64-
#links a {
65-
color: #22D045;
66-
}
67-
68-
#links a:hover .action {
69-
background: white;
70-
text-shadow: 0 0 5px #22D045;
71-
}
72-
73-
#links .link {
74-
display: flex;
75-
text-align: center;
76-
padding: 0.75rem 1.5rem;
77-
float: left;
78-
}
79-
80-
#links .action {
81-
font-size: 400%;
82-
}
83-
84103
.contributors {
85104
line-height: 1.5;
86105
font-style: italic;

_assets/logo.svg

Lines changed: 1 addition & 1 deletion
Loading

demo.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Demo — BorgBackup
1313

1414
<p>All text in the following screencasts can be highlighted and copied!</p>
1515

16-
<a href="/">« back</a>
17-
1816
<div id="demo">
1917
<h3>BorgBackup 1.1 - basic usage</h3>
2018
<asciinema-player src="_assets/asciicast-133292.json" speed="1.0"></asciinema-player>

index.rst

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -19,65 +19,5 @@ BorgBackup – Deduplicating archiver with compression and authenticated encrypt
1919
<li>Free software (BSD license).
2020
<li>Backed by a large and active open source community.
2121
</ul>
22-
23-
<div id="links">
24-
<div class="link">
25-
<a href="/demo.html">
26-
<span class="action">See</span><br>
27-
a demo
28-
</a>
29-
</div>
30-
31-
<div class="link">
32-
<a href="/releases/">
33-
<span class="action">Get</span><br>
34-
BorgBackup
35-
</a>
36-
</div>
37-
38-
<div class="link">
39-
<a href="https://borgbackup.readthedocs.io/">
40-
<span class="action">Read</span><br>
41-
the docs
42-
</a>
43-
</div>
44-
45-
<div class="link">
46-
<a href="https://github.com/borgbackup/community">
47-
<span class="action">Browse</span><br>
48-
community resources
49-
</a>
50-
</div>
51-
52-
<div class="link">
53-
<a href="/support/fund.html">
54-
<span class="action">Fund</span><br>
55-
development
56-
</a>
57-
</div>
58-
59-
<div class="link">
60-
<a href="https://github.com/borgbackup/borg">
61-
<span class="action">Contribute</span><br>
62-
to the project
63-
</a>
64-
</div>
65-
66-
<div class="link">
67-
<a href="/support/free.html">
68-
<span class="action">Receive</span><br>
69-
free support
70-
</a>
71-
</div>
72-
73-
<div class="link">
74-
<a href="/support/commercial.html">
75-
<span class="action">Pay</span><br>
76-
for services
77-
</a>
78-
</div>
79-
</div>
80-
81-
<div></div>
8222

8323
<em>... and always check your backups!</em>

releases/borg-1.1.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Borg 1.1
22
========
33

4-
`« back to all releases <.>`_
5-
64
:Links: `Documentation <https://borgbackup.readthedocs.io/en/1.1-maint/>`_ · `Installation <https://borgbackup.readthedocs.io/en/1.1-maint/installation.html>`_ · `Downloads <https://github.com/borgbackup/borg/releases/latest>`_
75
:Date: 7th October 2017
86

releases/borg-1.2.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Borg 1.2
22
========
33

4-
`« back to all releases <.>`_
5-
64
:Links: `Documentation <https://borgbackup.readthedocs.io/en/1.2-maint/>`_ · `Installation <https://borgbackup.readthedocs.io/en/1.2-maint/installation.html>`_ · `Downloads <https://github.com/borgbackup/borg/releases/latest>`_
75
:Date: 2022-02-22
86

releases/borg-2.0.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Borg 2.0 (preliminary infos)
22
============================
33

4-
`« back to all releases <.>`_
5-
64
:Links: `Documentation <https://borgbackup.readthedocs.io/en/master/>`_ · `Downloads <https://github.com/borgbackup/borg/releases/latest>`_
75
:Date: (testing releases out, no final release yet)
86

releases/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Borg release series
22
===================
33

4-
`« back </>`_
5-
64
.. include:: releases.rst.inc
75

86
Borg Future

rst_template.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,25 @@
1111
<header>
1212
<div id="logo">
1313
<h1><a href="/"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="240pt" height="100pt">
14-
<path id="p0" fill="#000200" d="M0 66.6667L0 0L160 0L320 0L320 66.6667L320 133.333L160 133.333L0 133.333Z"/>
14+
<path id="p0" fill="transparent" d="M0 66.6667L0 0L160 0L320 0L320 66.6667L320 133.333L160 133.333L0 133.333Z"/>
1515
<path id="p1" transform="translate(20.9086, 32.2192)" fill="#00dd00" d="M43.75 13.8021L26.6667 13.8021L26.6667 0L53.3854 0L67.2396 13.8021L67.2396 27.8646L60.3125 34.7917L67.2396 41.7187L67.2396 55.3125L53.3854 69.1146L26.6667 69.1146L26.6667 55.3125L43.75 55.3125L43.75 40.5729L26.6667 40.5729L26.6667 28.5417L43.75 28.5417ZM0 0L23.0208 0L23.0208 69.1146L0 69.1146Z"/>
1616
<path id="p2" transform="translate(97.6794, 46.0213)" fill="#00dd00" d="M62.1354 41.5104L48.3333 55.3125L32.9167 55.3125L32.9167 42.3958L38.6458 42.3958L38.6458 13.8021L32.9167 13.8021L32.9167 0L48.3333 0L62.1354 13.8021ZM23.2813 42.3958L29.2708 42.3958L29.2708 55.3125L13.8021 55.3125L0 41.5104L0 13.8021L13.8021 0L29.2708 0L29.2708 13.8021L23.2813 13.8021Z"/>
1717
<path id="p3" transform="translate(170.231, 46.0213)" fill="#00dd00" d="M36.5104 13.8021L26.7187 13.8021L26.7187 7.76042L34.4271 0L48.3854 0L59.5833 12.9167L59.5833 27.2396L36.5104 27.2396ZM0 55.3125L0 7.10543e-15L23.0208 7.10543e-15L23.0208 55.3125Z"/>
1818
<path id="p4" transform="translate(236.429, 46.0213)" fill="#00dd00" d="M36.875 13.8021L26.6667 13.8021L26.6667 7.10543e-15L46.0937 7.10543e-15L59.8958 13.8021L59.8958 60.7812L46.0937 74.6875L15.7292 74.6875L8.80208 67.7083L8.80208 62.6042L36.875 62.6042ZM33.2292 42.3958L33.2292 48.4896L26.3542 55.3125L13.8021 55.3125L0 41.5104L0 13.8021L13.8021 0L23.0208 0L23.0208 42.3958Z"/>
1919
</svg></a></h1>
2020
</div>
21+
<nav>
22+
<ol>
23+
<li><a href="/demo.html">Demo</a></li>
24+
<li><a href="/releases/">Install</a></li>
25+
<li><a href="https://borgbackup.readthedocs.io/">Docs</a></li>
26+
<li><a href="https://github.com/borgbackup/community">Community</a></li>
27+
<li><a href="/support/fund.html">Fund</a></li>
28+
<li><a href="https://github.com/borgbackup/borg">Contribute</a></li>
29+
<li><a href="/support/free.html">Support</a></li>
30+
<li><a href="/support/commercial.html">Services</a></li>
31+
</ol>
32+
</nav>
2133
</header>
2234

2335
<main class="content">

support/commercial.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
Paid Support and Services
22
=========================
33

4-
`« back </>`_
5-
64
Here are some commercial service and support providers for borgbackup:
75

86

0 commit comments

Comments
 (0)