File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -219,24 +219,31 @@ const config: Config = {
219219 } ,
220220 ] ,
221221 } ,
222- {
223- type : "html" ,
224- position : "right" ,
225- value : `<a href="https://github.com/recodehive" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub" class="navbar__link navbar-social-icon">
226- <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
227- <path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"/>
228- </svg>
229- </a>` ,
230- } ,
231- {
232- type : "html" ,
233- position : "right" ,
234- value : `<a href="https://discord.gg/dh3TA8U55Q" target="_blank" rel="noopener noreferrer" aria-label="Discord" title="Discord" class="navbar__link navbar-social-icon">
235- <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
236- <path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 00-5.487 0 12.64 12.64 0 00-.617-1.25.077.077 0 00-.079-.037A19.736 19.736 0 003.677 4.37a.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.057 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128 10.2 10.2 0 00.372-.292.074.074 0 01.077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 01.078.01c.12.098.246.198.373.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 006.002-3.03.077.077 0 00.032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 00-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"/>
237- </svg>
238- </a>` ,
239- } ,
222+
223+ {
224+ type : "html" ,
225+ position : "right" ,
226+ value : `<a href="https://github.com/recodehive" class="navbar-social-link" target="_blank" rel="noopener noreferrer" aria-label="GitHub" title="GitHub">
227+ <span class="mobile-social-item">
228+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
229+ <path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.37-1.343-3.37-1.343-.454-1.156-1.11-1.465-1.11-1.465-.908-.62.069-.608.069-.608 1.003.071 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.748-1.026 2.748-1.026.546 1.378.202 2.397.1 2.65.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.31.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.523 2 12 2z"></path>
230+ </svg>
231+ <span class="mobile-social-text">GitHub</span>
232+ </span>
233+ </a>` ,
234+ } ,
235+ {
236+ type : "html" ,
237+ position : "right" ,
238+ value : `<a href="https://discord.gg/dh3TA8U55Q" class="navbar-social-link" target="_blank" rel="noopener noreferrer" aria-label="Discord" title="Discord">
239+ <span class="mobile-social-item">
240+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
241+ <path d="M20.317 4.37a19.791 19.791 0 00-4.885-1.515.074.074 0 00-.079.037c-.211.375-.444.864-.608 1.249a18.27 18.27 0 00-5.487 0c-.164-.385-.398-.874-.61-1.249a.077.077 0 00-.079-.037 19.736 19.736 0 00-4.885 1.515.07.07 0 00-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 00.031.056 19.9 19.9 0 005.993 3.03.078.078 0 00.084-.028c.462-.63.873-1.295 1.226-1.994a.076.076 0 00-.041-.106 13.107 13.107 0 01-1.872-.892.077.077 0 01-.008-.128c.126-.094.249-.192.367-.291a.074.074 0 01.077-.01c3.927 1.793 8.18 1.793 12.061 0a.074.074 0 01.078.009c.118.1.241.198.367.292a.077.077 0 01-.006.127 12.299 12.299 0 01-1.873.892.077.077 0 00-.04.107c.36.698.771 1.363 1.225 1.993a.076.076 0 00.084.028 19.839 19.839 0 005.994-3.03.077.077 0 00.031-.055c.5-5.177-.838-9.674-3.548-13.66a.061.061 0 00-.031-.03z"></path>
242+ </svg>
243+ <span class="mobile-social-text">Discord</span>
244+ </span>
245+ </a>` ,
246+ } ,
240247 {
241248 type : "html" ,
242249 position : "right" ,
Original file line number Diff line number Diff line change @@ -3056,6 +3056,40 @@ main[class*='docMainContainer_'] {
30563056div [class *= 'sidebarViewport_' ] {
30573057 z-index : 9999 !important ;
30583058}
3059+
3060+ .mobile-social-item {
3061+ display : inline-flex;
3062+ align-items : center;
3063+ gap : 2px ;
3064+ }
3065+
3066+ .mobile-social-text {
3067+ color : var (--ifm-menu-color ) !important ;
3068+ font-size : 1.2 rem;
3069+ font-weight : 640 ;
3070+ padding-right : 20px ;
3071+ }
3072+
3073+ .navbar-social-link {
3074+ display : flex !important ;
3075+ align-items : center;
3076+ padding-left : 15px !important ; /* shift right to match other menu items */
3077+ color : var (--ifm-menu-color ) !important ;
3078+ text-decoration : none !important ;
3079+
3080+ }
3081+
3082+ .navbar-social-link svg {
3083+ color : var (--ifm-menu-color ) !important ;
3084+ fill : currentColor;
3085+
3086+ }
3087+
3088+ @media (min-width : 997px ) {
3089+ .mobile-social-text {
3090+ display : none;
3091+ }
3092+ }
30593093
30603094
30613095/* Leaderboard Pagination Button Icon Visibility Fix */
You can’t perform that action at this time.
0 commit comments