File tree Expand file tree Collapse file tree 5 files changed +33
-0
lines changed Expand file tree Collapse file tree 5 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 29
29
{%- block header %}{% endblock header -%}
30
30
31
31
{%- block body -%}{%- endblock body -%}
32
+ {%- include "footer.html" -%}
32
33
33
34
< script type ="text/javascript " nonce ="{{ csp_nonce }} " src ="/-/static/menu.js?{{ docsrs_version() | slugify }} "> </ script >
34
35
< script type ="text/javascript " nonce ="{{ csp_nonce }} " src ="/-/static/index.js?{{ docsrs_version() | slugify }} "> </ script >
Original file line number Diff line number Diff line change
1
+ < div class ="docs-rs-footer ">
2
+ Who wants some content?
3
+ </ div >
Original file line number Diff line number Diff line change 33
33
34
34
{# see comment in ../../static/storage-change-detection.html for details #}
35
35
< iframe src ="/-/static/storage-change-detection.html " width ="0 " height ="0 " style ="display: none "> </ iframe >
36
+ {%- include "footer.html" -%}
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ textarea,
74
74
body {
75
75
padding : 0 ;
76
76
margin : 0 ;
77
+ min-height : calc (100vh - 32px + 32px );
77
78
78
79
* {
79
80
-webkit-box-sizing : border-box ;
@@ -168,6 +169,17 @@ body {
168
169
g .highcharts-grid > path {
169
170
stroke : var (--chart-grid ) !important ;
170
171
}
172
+
173
+ .docs-rs-footer {
174
+ text-align : center ;
175
+ position : absolute ;
176
+ bottom : 0 ;
177
+ width : 100% ;
178
+ color : #DDD ;
179
+ font-size : 14px ;
180
+ height : 32px ;
181
+ background : rgb (10 ,10 ,10 );
182
+ }
171
183
}
172
184
173
185
pre {
Original file line number Diff line number Diff line change 1
1
// FIXME: Use modules
2
2
@import " vars" , " navbar" , " themes" , " fa" ;
3
3
4
+ body .rustdoc-age {
5
+ min-height : 100vh ;
6
+ }
7
+
4
8
// Force the navbar to be left-aligned on rustdoc pages
5
9
body .rustdoc-page > .nav-container > .container {
6
10
margin-left : 0 ;
7
11
}
8
12
9
13
div .container-rustdoc {
10
14
text-align : left ;
15
+
16
+ > .docs-rs-footer {
17
+ position : absolute ;
18
+ bottom : -20px ;
19
+ right : -15px ;
20
+ width : calc (100vw - 200px );
21
+ text-align : center ;
22
+ color : #DDD ;
23
+ font-size : 14px ;
24
+ height : 32px ;
25
+ background : rgb (10 ,10 ,10 );
26
+ }
11
27
}
12
28
13
29
// this is a super nasty override for help dialog in rustdocs
You can’t perform that action at this time.
0 commit comments