diff --git a/_layouts/default.html b/_layouts/default.html index 3dfa684..6d4d0c1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -369,16 +369,6 @@ .github-link span { display: none; } - - .star-count { - display: flex; - font-size: 0.8rem; - } - - .star-count svg { - width: 14px; - height: 14px; - } } .site-title:hover { @@ -1787,6 +1777,54 @@ margin-bottom: 4px; } } + + .platform-tag-container { + position: relative; + display: inline-block; + } + + .grok-mode-dropdown { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + min-width: 160px; + margin-top: 4px; + background: var(--bg-color-light); + border: 1px solid var(--accent-color); + border-radius: 6px; + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + font-size: 0.8rem; + overflow: hidden; + padding: 4px; + } + + .dark-mode .grok-mode-dropdown { + background: var(--bg-color-dark); + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); + } + + .grok-mode-option { + padding: 4px 8px; + cursor: pointer; + color: var(--text-color-light); + transition: all 0.2s ease; + border-radius: 4px; + white-space: nowrap; + } + + .dark-mode .grok-mode-option { + color: var(--text-color-dark); + } + + .grok-mode-option:hover { + background: rgba(16, 185, 129, 0.1); + color: var(--accent-color); + } + + .dark-mode .grok-mode-option:hover { + background: rgba(16, 185, 129, 0.2); + } {% include head-custom.html %} @@ -1820,7 +1858,14 @@