diff options
author | Devan Carpenter <git@dvn.me> | 2019-08-26 13:37:19 -0700 |
---|---|---|
committer | Devan Carpenter <git@dvn.me> | 2019-08-26 13:37:19 -0700 |
commit | 690eeafbd4a8a23564fc26f74ba6b31d30f196fb (patch) | |
tree | 4fb303f78ee3e1685e2456b471583d68f1457b45 | |
parent | 97e4878c2ebdf650c8a535e937fe1b44836c5912 (diff) | |
parent | 7b5375cfb0e7a3cdcfbbb3a9fd06038dfe7c8fcb (diff) | |
download | www-690eeafbd4a8a23564fc26f74ba6b31d30f196fb.tar.gz www-690eeafbd4a8a23564fc26f74ba6b31d30f196fb.zip |
Merge branch 'master' into stable
-rw-r--r-- | static/styles.sass | 19 | ||||
-rw-r--r-- | template/index.html.j2 | 6 |
2 files changed, 25 insertions, 0 deletions
diff --git a/static/styles.sass b/static/styles.sass index 8309ebf7..31d7ecc8 100644 --- a/static/styles.sass +++ b/static/styles.sass | |||
@@ -284,6 +284,25 @@ header | |||
284 | margin-top: 30px | 284 | margin-top: 30px |
285 | margin-bottom: 50px | 285 | margin-bottom: 50px |
286 | 286 | ||
287 | // Notification bar at top of index page | ||
288 | .alert | ||
289 | display: flex; | ||
290 | overflow: hidden; | ||
291 | background-color: #c4453c; | ||
292 | height: 40px; | ||
293 | //position: absolute; | ||
294 | width: 100%; | ||
295 | align-items: center; | ||
296 | justify-content: center; | ||
297 | |||
298 | .alert-content | ||
299 | //position: absolute; | ||
300 | color: #f6f6f6; | ||
301 | font: bold 16px/40px sans-serif; | ||
302 | text-align: center; | ||
303 | text-decoration: none; | ||
304 | |||
305 | |||
287 | // Some docs are too long, thus there is a need for a subnav. | 306 | // Some docs are too long, thus there is a need for a subnav. |
288 | // Use "subnav" class for the submenu. | 307 | // Use "subnav" class for the submenu. |
289 | // Use "subnav-anchor" class for the a-tags right before a section title. | 308 | // Use "subnav-anchor" class for the a-tags right before a section title. |
diff --git a/template/index.html.j2 b/template/index.html.j2 index 204bb7f9..35b1ce6a 100644 --- a/template/index.html.j2 +++ b/template/index.html.j2 | |||
@@ -1,5 +1,11 @@ | |||
1 | {% extends "common/base.j2" %} | 1 | {% extends "common/base.j2" %} |
2 | {% block body_content %} | 2 | {% block body_content %} |
3 | <!-- Notice Banner --> | ||
4 | <div class="alert"> | ||
5 | <div class="alert-content"> | ||
6 | Notice: GNUnet is still undergoing major development. It is largely <i>not yet ready</i> for usage beyond developers | ||
7 | </div> | ||
8 | </div> | ||
3 | <!-- Jumbotron --> | 9 | <!-- Jumbotron --> |
4 | <div class="jumbotron"> | 10 | <div class="jumbotron"> |
5 | <div class="container"> | 11 | <div class="container"> |