diff options
author | ng0 <ng0@n0.is> | 2019-07-06 12:07:19 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-07-06 12:07:19 +0000 |
commit | e07a9ecfa13f3d7ea5519c9304d77439476dfbc2 (patch) | |
tree | b0dfb5dcc16930366c39f419a83c74c5aac1b5ac | |
parent | cfe1ca26a52a9d8552ed0b1b8a50d1f1b54788ff (diff) | |
download | gnunetbib-e07a9ecfa13f3d7ea5519c9304d77439476dfbc2.tar.gz gnunetbib-e07a9ecfa13f3d7ea5519c9304d77439476dfbc2.zip |
Fix the navbar.
-rw-r--r-- | _template_.html | 15 | ||||
-rw-r--r-- | css/main.css | 37 |
2 files changed, 22 insertions, 30 deletions
diff --git a/_template_.html b/_template_.html index bbb1226..a5d0a36 100644 --- a/_template_.html +++ b/_template_.html | |||
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | Generated by `%(command_line)s' | 14 | Generated by `%(command_line)s' |
15 | (C) Eddie Kohler 1999-2000, Nick Mathewson 2003 | 15 | (C) Eddie Kohler 1999-2000, Nick Mathewson 2003 |
16 | (C) Nils Gillmann 2018 | 16 | (C) ng0 2018, 2019 |
17 | --> | 17 | --> |
18 | 18 | ||
19 | <!-- gnunet bib meshnetworking bibliography --> | 19 | <!-- gnunet bib meshnetworking bibliography --> |
@@ -28,6 +28,13 @@ | |||
28 | </p> | 28 | </p> |
29 | <!-- TODO: breadcrumbs --> | 29 | <!-- TODO: breadcrumbs --> |
30 | <hr> | 30 | <hr> |
31 | <section class="side-bar"> | ||
32 | <strong>%(sectiontypes)s:</strong><br> | ||
33 | <ul class="bar-list"> | ||
34 | %(sections)s | ||
35 | </ul> | ||
36 | </section> | ||
37 | <hr> | ||
31 | <section> | 38 | <section> |
32 | <h2>Publications by %(field)s</h2> | 39 | <h2>Publications by %(field)s</h2> |
33 | <div class="sheet"> | 40 | <div class="sheet"> |
@@ -35,12 +42,6 @@ | |||
35 | %(entries)s | 42 | %(entries)s |
36 | <!-- </ul> --> | 43 | <!-- </ul> --> |
37 | </div> | 44 | </div> |
38 | <section class="side-bar"> | ||
39 | <strong>%(sectiontypes)s:</strong><br> | ||
40 | <ul class="bar-list"> | ||
41 | %(sections)s | ||
42 | </ul> | ||
43 | </section> | ||
44 | </section> | 45 | </section> |
45 | <hr class="hidden-hr"> | 46 | <hr class="hidden-hr"> |
46 | <footer> | 47 | <footer> |
diff --git a/css/main.css b/css/main.css index 4d3a082..c8364ad 100644 --- a/css/main.css +++ b/css/main.css | |||
@@ -60,6 +60,7 @@ SPAN.availability { | |||
60 | font-weight: normal; | 60 | font-weight: normal; |
61 | } | 61 | } |
62 | 62 | ||
63 | |||
63 | UL { | 64 | UL { |
64 | list-style: outside; | 65 | list-style: outside; |
65 | } | 66 | } |
@@ -111,14 +112,14 @@ H3 { | |||
111 | color: #006; | 112 | color: #006; |
112 | } | 113 | } |
113 | 114 | ||
114 | /* | 115 | |
115 | .side-bar { | 116 | .side-bar { |
116 | box-sizing: border-box; | 117 | box-sizing: border-box; |
117 | color: black; | 118 | color: black; |
118 | font-size: 0.9em; | 119 | font-size: 0.9em; |
119 | padding: 30px 0px; | 120 | padding: 30px 0px; |
120 | } | 121 | } |
121 | */ | 122 | |
122 | .bar-title { | 123 | .bar-title { |
123 | color: black; | 124 | color: black; |
124 | font-size: 14px; | 125 | font-size: 14px; |
@@ -129,29 +130,28 @@ H3 { | |||
129 | } | 130 | } |
130 | 131 | ||
131 | .bar-list { | 132 | .bar-list { |
132 | list-style-type: none; | 133 | list-style: none; |
133 | padding: 0px; | 134 | padding: 0px; |
134 | } | 135 | } |
135 | 136 | ||
137 | li:after{ content: ""; } | ||
138 | li:before{ content: ""; } | ||
139 | |||
136 | .bar-item { | 140 | .bar-item { |
137 | display: inline-block; | 141 | display: inline; |
138 | margin: 10px 5px; | ||
139 | vertical-align: top; | ||
140 | } | 142 | } |
141 | 143 | ||
142 | .bar-link:link, .bar-link:visited { | 144 | .bar-link:link, .bar-link:visited { |
143 | border-color: silver; | ||
144 | border-radius: 4px; | ||
145 | border-style: solid; | ||
146 | border-width: thin; | ||
147 | color: black; | 145 | color: black; |
148 | padding: 5px 10px; | 146 | padding: 5px 10px; |
149 | } | 147 | } |
150 | 148 | ||
149 | /* | ||
151 | .bar-link:active, .bar-link:focus, .bar-link:hover { | 150 | .bar-link:active, .bar-link:focus, .bar-link:hover { |
152 | background-color: #FF73F4; | 151 | background-color: #FF73F4; |
153 | border-color: #FF73F4; | 152 | border-color: #FF73F4; |
154 | } | 153 | } |
154 | */ | ||
155 | 155 | ||
156 | .feed-link { | 156 | .feed-link { |
157 | background-image: url("/static/base/img/feed-bg-white.png"); | 157 | background-image: url("/static/base/img/feed-bg-white.png"); |
@@ -166,16 +166,11 @@ H3 { | |||
166 | } | 166 | } |
167 | 167 | ||
168 | .side-bar { | 168 | .side-bar { |
169 | border-color: #999; | 169 | display: inline; |
170 | border-radius: 4px; | ||
171 | border-style: solid; | ||
172 | border-width: thin; | ||
173 | display: inline-block; | ||
174 | padding: 0px; | 170 | padding: 0px; |
175 | text-align: left; | 171 | text-align: left; |
176 | vertical-align: top; | 172 | vertical-align: top; |
177 | width: 20%; | 173 | width: 350px; |
178 | position: fixed; | ||
179 | } | 174 | } |
180 | 175 | ||
181 | @media screen and (min-width: 1280px) { | 176 | @media screen and (min-width: 1280px) { |
@@ -196,18 +191,14 @@ H3 { | |||
196 | } | 191 | } |
197 | 192 | ||
198 | .bar-item { | 193 | .bar-item { |
199 | display: block; | 194 | display: inline; |
200 | margin: 0px; | 195 | margin: 0px; |
201 | } | 196 | } |
202 | 197 | ||
203 | .bar-link:link, | 198 | .bar-link:link, |
204 | .bar-link:visited { | 199 | .bar-link:visited { |
205 | border-color: #F5F5F5; | 200 | display: inline; |
206 | border-radius: 0px; | ||
207 | border-style: solid none none none; | ||
208 | display: block; | ||
209 | margin: 0px; | 201 | margin: 0px; |
210 | padding: 8px 8px 8px 16px; | ||
211 | } | 202 | } |
212 | } | 203 | } |
213 | .sheet { | 204 | .sheet { |