File tree 4 files changed +39
-24
lines changed 4 files changed +39
-24
lines changed Original file line number Diff line number Diff line change 77
77
{% endif %}
78
78
</ h2 >
79
79
80
+ < p >
81
+ < a id ="prevFileLink " class ="nav " href ="{{ prev_html }} "> « prev</ a >
82
+ < a id ="indexLink " class ="nav " href ="index.html "> ^ index</ a >
83
+ < a id ="nextFileLink " class ="nav " href ="{{ next_html }} "> » next</ a >
84
+
85
+ < a class ="nav " href ="{{__url__}} "> coverage.py v{{__version__}}</ a > ,
86
+ created at {{ time_stamp }}
87
+ </ p >
88
+
80
89
< div style ="display: none; ">
81
90
< button type ="button " class ="button_next_chunk " data-shortcut ="j "> Next highlighted chunk</ button >
82
91
< button type ="button " class ="button_prev_chunk " data-shortcut ="k "> Previous highlighted chunk</ button >
@@ -125,11 +134,10 @@ <h2>
125
134
< footer >
126
135
< div class ="content ">
127
136
< p >
128
- < a id ="prevFileLink " class ="nav " href ="{{ prev_html }} "> « prev file </ a >
137
+ < a id ="prevFileLink " class ="nav " href ="{{ prev_html }} "> « prev</ a >
129
138
< a id ="indexLink " class ="nav " href ="index.html "> ^ index</ a >
130
- < a id ="nextFileLink " class ="nav " href ="{{ next_html }} "> » next file</ a >
131
- </ p >
132
- < p >
139
+ < a id ="nextFileLink " class ="nav " href ="{{ next_html }} "> » next</ a >
140
+
133
141
< a class ="nav " href ="{{__url__}} "> coverage.py v{{__version__}}</ a > ,
134
142
created at {{ time_stamp }}
135
143
</ p >
Original file line number Diff line number Diff line change @@ -38,9 +38,13 @@ header .content { padding: 1rem 3.5rem; }
38
38
39
39
header h2 { margin-top : .5em ; font-size : 1em ; }
40
40
41
+ header p { margin : .5em 0 -.5em ; color : # 666 ; font-style : italic; }
42
+
43
+ @media (prefers-color-scheme : dark) { header p { color : # aaa ; } }
44
+
41
45
header .sticky { position : fixed; left : 0 ; right : 0 ; height : 2.5em ; }
42
46
43
- header .sticky .text { display : none; }
47
+ header .sticky p , header . sticky .text { display : none; }
44
48
45
49
header .sticky h1 , header .sticky h2 { font-size : 1em ; margin-top : 0 ; display : inline-block; }
46
50
@@ -52,9 +56,7 @@ header.sticky ~ #source { padding-top: 6.5em; }
52
56
53
57
main { position : relative; z-index : 1 ; }
54
58
55
- .indexfile footer { margin : 1rem 3.5rem ; }
56
-
57
- .pyfile footer { margin : 1rem 1rem ; }
59
+ footer { margin : 1rem 3.5rem ; }
58
60
59
61
footer .content { padding : 0 ; color : # 666 ; font-style : italic; }
60
62
Original file line number Diff line number Diff line change @@ -174,13 +174,20 @@ header {
174
174
font-size : 1em ;
175
175
}
176
176
177
+ p {
178
+ margin : .5em 0 -.5em ;
179
+ color : $light-gray5 ;
180
+ @include color-dark ($dark-gray5 );
181
+ font-style : italic ;
182
+ }
183
+
177
184
& .sticky {
178
185
position : fixed ;
179
186
left : 0 ;
180
187
right : 0 ;
181
188
height : 2.5em ;
182
189
183
- .text {
190
+ p , .text {
184
191
display : none ;
185
192
}
186
193
@@ -208,19 +215,15 @@ main {
208
215
z-index : 1 ;
209
216
}
210
217
211
- .indexfile footer {
218
+ footer {
212
219
margin : 1rem $left-gutter ;
213
- }
214
220
215
- .pyfile footer {
216
- margin : 1rem 1rem ;
217
- }
218
-
219
- footer .content {
220
- padding : 0 ;
221
- color : $light-gray5 ;
222
- @include color-dark ($dark-gray5 );
223
- font-style : italic ;
221
+ .content {
222
+ padding : 0 ;
223
+ color : $light-gray5 ;
224
+ @include color-dark ($dark-gray5 );
225
+ font-style : italic ;
226
+ }
224
227
}
225
228
226
229
#index {
Original file line number Diff line number Diff line change @@ -38,9 +38,13 @@ header .content { padding: 1rem 3.5rem; }
38
38
39
39
header h2 { margin-top : .5em ; font-size : 1em ; }
40
40
41
+ header p { margin : .5em 0 -.5em ; color : # 666 ; font-style : italic; }
42
+
43
+ @media (prefers-color-scheme : dark) { header p { color : # aaa ; } }
44
+
41
45
header .sticky { position : fixed; left : 0 ; right : 0 ; height : 2.5em ; }
42
46
43
- header .sticky .text { display : none; }
47
+ header .sticky p , header . sticky .text { display : none; }
44
48
45
49
header .sticky h1 , header .sticky h2 { font-size : 1em ; margin-top : 0 ; display : inline-block; }
46
50
@@ -52,9 +56,7 @@ header.sticky ~ #source { padding-top: 6.5em; }
52
56
53
57
main { position : relative; z-index : 1 ; }
54
58
55
- .indexfile footer { margin : 1rem 3.5rem ; }
56
-
57
- .pyfile footer { margin : 1rem 1rem ; }
59
+ footer { margin : 1rem 3.5rem ; }
58
60
59
61
footer .content { padding : 0 ; color : # 666 ; font-style : italic; }
60
62
You can’t perform that action at this time.
0 commit comments