File tree 4 files changed +40
-20
lines changed
4 files changed +40
-20
lines changed Original file line number Diff line number Diff line change 1
- < table >
1
+ < table class =" crates " >
2
2
< thead >
3
3
< tr > < th > Project</ th > < th colspan ="2 "> Crate</ th > < th > Docs</ th > </ tr >
4
4
</ thead >
17
17
v{{crate.max_version}}
18
18
</ td >
19
19
< td class ="docs ">
20
- < a href ="/{{crate.repo}}/stable/latest/docs/{{ crate.name | replace: "-rs ", "" }}"> 🕮</ a >
20
+ < a href ="/{{crate.repo}}/stable/latest/docs/{{ crate.name | replace: "-rs ", "" }}">
21
+ {% include docs.svg %}
22
+ </ a >
21
23
</ td >
22
24
</ tr >
23
25
{% endfor %}
Original file line number Diff line number Diff line change @@ -92,11 +92,6 @@ table {
92
92
padding : 0.3em 0.7em ;
93
93
}
94
94
95
- .section {
96
- font-weight : bold ;
97
- text-align : right ;
98
- }
99
-
100
95
th {
101
96
border-bottom : 1px solid $text-color ;
102
97
}
@@ -147,19 +142,6 @@ a.badge {
147
142
text-decoration : none ;
148
143
}
149
144
150
- td .docs {
151
- text-align : center ;
152
-
153
- a :hover {
154
- text-decoration : none ;
155
- transform : scale (1.3 );
156
- transition-property : transform ;
157
- transition : 0.2s ;
158
- display : inline-block ;
159
- }
160
- }
161
-
162
-
163
145
/* *
164
146
* Blockquotes
165
147
*/
Original file line number Diff line number Diff line change @@ -382,3 +382,34 @@ section.special {
382
382
overflow : hidden ;
383
383
}
384
384
}
385
+
386
+ table .crates {
387
+ .section {
388
+ font-weight : bold ;
389
+ text-align : right ;
390
+ }
391
+
392
+ td .docs {
393
+ text-align : center ;
394
+
395
+ svg {
396
+ height : 0.85em ;
397
+ width : auto ;
398
+
399
+ path {
400
+ fill : currentcolor ;
401
+ }
402
+ }
403
+
404
+ a {
405
+ display : inline-block ;
406
+ }
407
+
408
+ a :hover {
409
+ transform : scale (1.3 );
410
+ transition-property : transform ;
411
+ transition : 0.2s ;
412
+ }
413
+
414
+ }
415
+ }
You can’t perform that action at this time.
0 commit comments