File tree Expand file tree Collapse file tree 3 files changed +25
-7
lines changed
Expand file tree Collapse file tree 3 files changed +25
-7
lines changed Original file line number Diff line number Diff line change 2222 border: none;
2323 cursor: pointer;
2424 padding: 0.5rem;
25- position: absolute;
26- /* top: 1rem; */
27- right: 1rem;
28- z-index: 1000;
2925 transition: all 0.3s ease;
3026 }
3127 #theme-toggle:hover {
Original file line number Diff line number Diff line change @@ -172,6 +172,27 @@ const {
172172 margin-right: 0.5em;
173173 }
174174
175+ .header-icons {
176+ position: absolute;
177+ right: 1rem;
178+ z-index: 1000;
179+ display: inline-flex;
180+ align-items: center;
181+ gap: 0.25rem;
182+ }
183+
184+ .header-icon-link {
185+ color: var(--pico-text);
186+ padding: 0.5rem;
187+ transition: all 0.3s ease;
188+ display: inline-flex;
189+ align-items: center;
190+ }
191+
192+ .header-icon-link:hover {
193+ opacity: 0.8;
194+ }
195+
175196 .alarming-banner {
176197 /* Layout and Background */
177198 font-variant-numeric: tabular-nums;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ const languageEntries = Object.entries(languages);
4242 { lockdown_banner ?? " LOCKDOWN" } <br /><span id =" countdown" > </span >
4343 </div >
4444 <header >
45- <h1 >{ title } <ThemeToggle /></ h1 >
45+ <h1 >{ title } <span class = " header-icons " >< a href = " https://techhub.social/@keepandroidopen " class = " header-icon-link " aria-label = " Mastodon " title = " Mastodon " rel = " me " target = " _blank " >< svg width = " 20 " height = " 20 " viewBox = " 0 0 24 24 " fill = " currentColor " >< path d = " M16.45 17.77c2.77-.33 5.18-2.03 5.49-3.58.47-2.45.44-5.97.44-5.97 0-4.77-3.15-6.17-3.15-6.17-1.58-.72-4.3-1.03-7.13-1.05h-.07c-2.83.02-5.55.33-7.13 1.05 0 0-3.14 1.4-3.14 6.17v.91c-.01.88-.02 1.86 0 2.88.12 4.67.87 9.27 5.2 10.4 2 .53 3.72.64 5.1.57 2.51-.14 3.92-.9 3.92-.9l-.08-1.8s-1.8.56-3.8.5c-2-.08-4.1-.22-4.43-2.66a4.97 4.97 0 0 1-.04-.68s1.96.48 4.44.59c1.51.07 2.94-.09 4.38-.26Zm2.22-3.4h-2.3v-5.6c0-1.19-.5-1.79-1.5-1.79-1.1 0-1.66.71-1.66 2.12v3.07h-2.3V9.1c0-1.4-.55-2.12-1.65-2.12-1 0-1.5.6-1.5 1.78v5.61h-2.3V8.6c0-1.18.3-2.12.9-2.81a3.17 3.17 0 0 1 2.47-1.05c1.18 0 2.07.45 2.66 1.35l.57.96.58-.96a2.97 2.97 0 0 1 2.66-1.35c1.01 0 1.83.36 2.46 1.05.6.7.9 1.63.9 2.81v5.78Z " ></ path ></ svg ></ a >< ThemeToggle /></ span ></ h1 >
4646 <div class =" lang-menu" >
4747 { languageEntries .map (([_code , { label , path }], i ) => (
4848 <>
@@ -57,13 +57,14 @@ const languageEntries = Object.entries(languages);
5757 </main >
5858 <footer >
5959 <div style =" display: flex; flex-wrap: wrap; justify-content: space-between; padding-top: 2em; margin-left: auto; margin-right: auto;" >
60- <div style =" flex: 1; min-width: 200px ; margin: 20px ;" >
60+ <div style =" flex: 1; min-width: 22em ; margin: 5px ;" >
6161 <h4 style =" margin-top: 0; margin-bottom: 10px; font-size: 16px;" >
6262 { contact_header }
6363 </h4 >
6464 <ul style =" padding: 0; margin: 0;" >
6565 <li style =" list-style: none; margin-bottom: 5px;" >{ contact_email } : <a href =" mailto:info@keepandroidopen.org" style =" text-decoration: none;" >info@keepandroidopen.org</a ></li >
66- <li style =" list-style: none; margin-bottom: 5px;" >{ site_problems_header } : <a href =" https://github.com/keepandroidopen/keepandroidopen.github.io/issues" style =" text-decoration: none;" >{ site_report_issues } </a ></li >
66+ <li style =" list-style: none; margin-bottom: 5px;" >Mastodon: <a target =" _blank" href =" https://techhub.social/@keepandroidopen" style =" text-decoration: none;" >@keepandroidopen@techhub.social</a ></li >
67+ <li style =" list-style: none; margin-bottom: 5px;" >{ site_problems_header } : <a target =" _blank" href =" https://github.com/keepandroidopen/keepandroidopen.github.io/issues" style =" text-decoration: none;" >{ site_report_issues } </a ></li >
6768 </ul >
6869 </div >
6970 <div style =" flex: 3; min-width: 300px; margin: 20px;" >
You can’t perform that action at this time.
0 commit comments