File tree Expand file tree Collapse file tree 2 files changed +15
-14
lines changed
_resourcepdf/overrides/partials Expand file tree Collapse file tree 2 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 1
1
< div data-banner ="data-banner ">
2
2
< div class ="actions ">
3
- < a href ="{{ page.edit_url }} " title ="Edit on GitHub " class ="edit-page-link ">
3
+ < a href ="{{ page.edit_url }} " title ="Edit this page on GitHub " class ="edit-page-link ">
4
4
< span class ="edit-page-icon ">
5
5
{% set icon = config.theme.icon.edit or "material/file-edit-outline" %}
6
6
{% include ".icons/" ~ icon ~ ".svg" %}
7
7
</ span >
8
- < span class ="edit-page-text "> Edit on GitHub</ span >
8
+ < span class ="edit-page-text "> Edit this page on GitHub</ span >
9
9
</ a >
10
10
</ div >
11
11
</ div >
Original file line number Diff line number Diff line change 11
11
line-height : 1.6 ;
12
12
}
13
13
14
- /* Style the link */
15
14
.edit-page-link {
15
+ white-space : nowrap;
16
16
display : inline-flex;
17
17
align-items : center;
18
- gap : 0.8em ;
19
- text-decoration : none;
18
+ gap : 0.5em ;
19
+
20
+ font-size : 1rem ;
21
+ font-weight : normal;
20
22
color : var (--md-typeset-a-color );
21
- font-size : 1.35 rem ;
22
- font-weight : 500 ;
23
- line-height : 1.4 ;
24
- transition : color 0.2 s ease;
25
- cursor : pointer ;
23
+ text-decoration : underline ;
24
+ }
25
+
26
+ . edit-page-link : hover {
27
+ color : var ( --md-accent-fg-color ) ;
26
28
}
27
29
28
- /* Bigger icon, aligned with text */
29
30
.edit-page-icon svg {
30
- width : 1.4 em ;
31
- height : 1.4 em ;
32
- fill : currentColor;
31
+ width : 1.25 em ; /* Increase from 1em to 1.25em or more */
32
+ height : 1.25 em ;
33
+ fill : currentColor; /* Make the icon match text color */
33
34
vertical-align : middle;
34
35
}
35
36
You can’t perform that action at this time.
0 commit comments