File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < div style ="margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; "> < a href ="https://unraid.net/ " style ="display: inline-flex; align-items: center; opacity: 0.7; transition: opacity 0.2s; " title ="Unraid OS ">
2- < img src ="{{ '/assets/images/logos/Unraid%20Logos/UN-logotype-gradient.svg' | relative_url }} " alt ="Unraid " height ="24 ">
1+ < div style ="margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; ">
2+ < a href ="https://unraid.net/ " style ="display: inline-flex; align-items: center; opacity: 0.7; transition: opacity 0.2s; " title ="Unraid OS ">
3+ < img src ="{{ '/assets/images/logos/Unraid%20Logos/UN-logotype-gradient.svg' | relative_url }} " alt ="Unraid " style ="height: 24px; width: auto; max-height: 24px; ">
34 </ a >
4- < span style ="opacity: 0.5; "> |</ span > < a href ="https://github.com/mstrhakr/unraid-plugin-docs " style ="display: inline-flex; align-items: center; opacity: 0.7; transition: opacity 0.2s; ">
5- < img src ="{{ '/assets/images/logos/GitHub%20Logos/GitHub_Lockup_White.svg' | relative_url }} " alt ="GitHub " height ="24 ">
5+ < span style ="opacity: 0.5; "> |</ span >
6+ < a href ="https://github.com/mstrhakr/unraid-plugin-docs " style ="display: inline-flex; align-items: center; opacity: 0.7; transition: opacity 0.2s; ">
7+ < img src ="{{ '/assets/images/logos/GitHub%20Logos/GitHub_Lockup_White.svg' | relative_url }} " alt ="GitHub " style ="height: 24px; width: auto; max-height: 24px; ">
68 </ a >
79 < span style ="opacity: 0.5; "> |</ span >
810 < a href ="https://github.com/features/copilot " style ="display: inline-flex; align-items: center; opacity: 0.7; transition: opacity 0.2s; " title ="Created with assistance from GitHub Copilot ">
9- < img src ="{{ '/assets/images/logos/GitHub%20Logos/Copilot_Lockup_White.svg' | relative_url }} " alt ="GitHub Copilot " height =" 20 ">
11+ < img src ="{{ '/assets/images/logos/GitHub%20Logos/Copilot_Lockup_White.svg' | relative_url }} " alt ="GitHub Copilot " style =" height: 20px; width: auto; max-height: 20px; ">
1012 </ a >
1113 < span style ="opacity: 0.5; "> |</ span >
1214 < a href ="{{ '/docs/attributions' | relative_url }} " style ="opacity: 0.5; font-size: 0.75rem; transition: opacity 0.2s; "> Attributions</ a >
Original file line number Diff line number Diff line change 1+ < style >
2+ /* Fix SVG sizing - SVGs need explicit dimensions via inline styles */
3+ /* Footer logo sizing */
4+ .site-footer img ,
5+ div [style *= "border-top" ] img {
6+ height : 24px !important ;
7+ width : auto !important ;
8+ max-height : 24px !important ;
9+ display : inline-block;
10+ }
11+
12+ /* Smaller for Copilot logo */
13+ div [style *= "border-top" ] img [alt = "GitHub Copilot" ] {
14+ height : 20px !important ;
15+ max-height : 20px !important ;
16+ }
17+
18+ /* Add GitHub icon to View on GitHub aux link */
19+ .aux-nav .aux-nav-list-item : first-child a {
20+ display : inline-flex;
21+ align-items : center;
22+ }
23+
24+ .aux-nav .aux-nav-list-item : first-child a ::before {
25+ content : '' ;
26+ display : inline-block;
27+ width : 20px ;
28+ height : 20px ;
29+ margin-right : 6px ;
30+ vertical-align : middle;
31+ background-image : url ('{{ "/assets/images/logos/GitHub%20Logos/GitHub_Invertocat_White.svg" | relative_url }}' );
32+ background-size : contain;
33+ background-repeat : no-repeat;
34+ background-position : center;
35+ }
36+ </ style >
Original file line number Diff line number Diff line change @@ -155,6 +155,38 @@ $unraid-orange-dark: #ac0800;
155155// GitHub Branding Styles
156156// ============================================
157157
158+ // Fix SVG sizing globally - SVGs need explicit dimensions
159+ img [src *= " .svg" ] {
160+ max-width : 100% ;
161+ height : auto ;
162+ }
163+
164+ // GitHub icon in aux nav "View on GitHub" link
165+ .aux-nav .aux-nav-list-item :first-child a {
166+ display : inline-flex ;
167+ align-items : center ;
168+
169+ & ::before {
170+ content : ' ' ;
171+ display : inline-block ;
172+ width : 20px ;
173+ height : 20px ;
174+ margin-right : 6px ;
175+ background-image : url (' /unraid-plugin-docs/assets/images/logos/GitHub%20Logos/GitHub_Invertocat_White.svg' );
176+ background-size : contain ;
177+ background-repeat : no-repeat ;
178+ background-position : center ;
179+ }
180+ }
181+
182+ // Footer SVG sizing
183+ .site-footer img [src *= " .svg" ],
184+ .footer-custom img [src *= " .svg" ] {
185+ height : 24px ;
186+ width : auto ;
187+ max-height : 24px ;
188+ }
189+
158190// GitHub logo in headers - auto invert for light mode
159191.github-logo {
160192 height : 32px ;
You can’t perform that action at this time.
0 commit comments