Adrià Vilanova Martínez | 849f9dd | 2021-06-25 20:40:10 +0200 | [diff] [blame] | 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% block extrahead %} |
| 4 | <style> |
| 5 | .version-box { |
| 6 | display: block; |
| 7 | background: #F2F3F0; |
| 8 | border: solid 1px #DDDFDA; |
| 9 | border-radius: 4px; |
| 10 | padding: 5px 5px 5px 5px; |
| 11 | margin-left: auto; |
| 12 | margin-right: auto; |
| 13 | text-align: center; |
| 14 | } |
| 15 | |
| 16 | @media screen and (min-width: 641px) { |
| 17 | .version-box { |
| 18 | width: 300px; |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | .version-box #version { |
| 23 | font-size: 16px; |
| 24 | } |
| 25 | |
| 26 | .version-box #updated { |
| 27 | font-size: 12px; |
| 28 | color: gray; |
| 29 | } |
| 30 | |
| 31 | .version-box a:link { |
| 32 | color: #306CEF; |
| 33 | } |
| 34 | |
| 35 | .version-box a:visited { |
| 36 | color: #306CEF; |
| 37 | } |
| 38 | |
| 39 | .version-box a:hover { |
| 40 | color: #306CEF; |
| 41 | } |
| 42 | |
| 43 | .version-box a:active { |
| 44 | color: #306CEF; |
| 45 | } |
| 46 | </style> |
| 47 | {% endblock %} |
| 48 | |
| 49 | {# |
| 50 | This removes all material-mkdocs js files (therefore disabling the search bar, |
| 51 | repo info, etc.), because they are overriden by the following code. |
| 52 | |
| 53 | This is working as intended, since this also makes the page load faster. |
| 54 | #} |
| 55 | {% block scripts %} |
Adrià Vilanova Martínez | 7fe3cf2 | 2022-04-04 23:43:23 +0200 | [diff] [blame] | 56 | <script src="{{ 'assets/javascripts/ua_utils.js' | url }}"></script> |
Adrià Vilanova Martínez | 849f9dd | 2021-06-25 20:40:10 +0200 | [diff] [blame] | 57 | <script src="{{ 'assets/javascripts/version_page.js' | url }}"></script> |
| 58 | {% endblock %} |