#p3x-gitlist-main-tabs-browser { } #p3x-gitlist-main-tabs { align-items: center; .nav-item { margin-bottom: 2px; position: relative; white-space: nowrap; } .nav-link { padding: 0.375rem 0.75rem; @media only screen and (max-width: 576px) { font-size: 0.8rem; padding: 0.3rem 0.5rem; } } a:hover .fa, a:hover .fas, a:hover .fab { transition-duration: 250ms; transition-property: transform; transform: scale(1.2) rotate(360deg); } .fa, .fas, .fab { top: 2px; } }