/* * Globals */ /* Custom default button */ .btn-light, .btn-light:hover, .btn-light:focus { text-shadow: none; /* Prevent inheritance from `body` */ } /* * Base structure */ body { text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5); /* box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5); */ } .cover-container { max-width: 42em; } /* * Header */ .nav-masthead .nav-link { color: rgba(255, 255, 255, .5); border-bottom: .25rem solid transparent; } .nav-masthead .nav-link:hover, .nav-masthead .nav-link:focus { border-bottom-color: rgba(255, 255, 255, .25); } .nav-masthead .nav-link + .nav-link { margin-left: 1rem; } .nav-masthead .active { color: #fff; border-bottom-color: #fff; } .wrapper { /*This part is important for centering*/ display: grid; place-items: center; } .typing { width: 22ch; animation: typing 2s steps(22), blink .5s step-end infinite alternate; white-space: nowrap; overflow: hidden; border-right: 3px solid; font-size: 2em; } @keyframes typing { from { width: 0 } } @keyframes blink { 50% { border-color: transparent } } .project-iframe { border: 0; } .affiliate-list { display: flex; flex-direction: column; gap: 0.9rem; } .affiliate-card { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 1.1rem; border-radius: 0.75rem; background-color: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); text-decoration: none; color: inherit; text-align: left; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease; } .affiliate-card:hover, .affiliate-card:focus { background-color: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-3px); box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .3); color: inherit; text-decoration: none; } .affiliate-logo { flex-shrink: 0; width: 3rem; height: 3rem; object-fit: contain; background: #fff; border-radius: 0.5rem; padding: 0.25rem; } .affiliate-text { min-width: 0; } .affiliate-title { font-weight: 700; color: #fff; } .affiliate-desc { color: rgba(255, 255, 255, .6); font-size: 0.9rem; margin-top: 0.1rem; }