/* SMOOTH LOADING */ body { transition: opacity ease-in-out 150ms; opacity: 0; } .loaded { opacity: 1; } .masthead { height: 40rem; } /* In-page navbar */ nav { margin: auto; margin-top: 1rem; width: intrinsic; /* Safari/WebKit uses a non-standard name */ width: -moz-max-content; /* Firefox/Gecko */ width: -webkit-max-content; /* Chrome */ display: flex; flex-direction: row; justify-content: space-evenly; background-color: rgba(255, 255, 255, 0.25); border-radius: 16px; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.75); } @media (max-width: 767px) { nav { display: flex; flex-direction: column; width: 75%; } nav .item:hover:last-of-type, nav .item[active]:last-of-type { border-bottom-left-radius: 16px !important; border-bottom-right-radius: 16px !important; border-top-right-radius: 0px !important; } nav .item:hover:first-of-type, nav .item[active]:first-of-type { border-top-left-radius: 16px !important; border-top-right-radius: 16px !important; border-bottom-left-radius: 0px !important; } } nav .item { padding: 1rem; cursor: pointer; user-select: none; -moz-user-select: none; } nav .item:hover, nav .item[active] { background-color: #00bee0; animation: Rainbow 20s ease-in-out infinite; } nav .item:last-of-type { border-top-right-radius: 16px; border-bottom-right-radius: 16px; } nav .item:first-of-type { border-top-left-radius: 16px; border-bottom-left-radius: 16px; } section:not(.shown), section:not(.shown) * { position: absolute; top: -9999em; max-height: 0 !important; visibility: hidden; opacity: 0 !important; transition: opacity ease-in-out 300ms; } .shown, .shown * { opacity: 1 !important; transition: ease-in-out 300ms; } .card .versions { font-family: "Fira Code"; font-size: 12px; font-weight: bold; display: block; text-align: center; } .modal-content { max-width: 1024px; }