File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ website:
2121 target : _blank
2222 - icon : envelope
232324- - icon : images/logo.svg
25- href : https://ucospo.net
24+ - text : |
25+ <a href=" https://ucospo.net" target="_blank"><img src="images/logo.svg" class="custom-icon"></a>
2626
2727format :
2828 html :
Original file line number Diff line number Diff line change @@ -17,4 +17,13 @@ $footer-fg: #ffffff;
1717}
1818h2 , .h2 {
1919 border-bottom : none ;
20+ }
21+ .custom-icon {
22+ width : 1em ;
23+ height : 1em ;
24+ vertical-align : -0.125em ; /* Align to the text baseline */
25+ object-fit : contain ; /* Ensure the image doesn't stretch if dimensions aren't square */
26+ /* Add a filter to change the icon color
27+ (Only works for SVGs or transparent PNGs) */
28+ filter : brightness (0 ) invert (1 );
2029}
You can’t perform that action at this time.
0 commit comments