.error { color: #c92a60; font-style: italic; } .toolkit-card.nav { margin-bottom: 0; } .mobile-bar { display: none; } .nav-body { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.4); overflow: hidden; &.nav-open { display: block; } &.nav-closed { display: none; } .nav-background { min-height: 100%; height: 100%; width: 100%; } } .nav-links { position: absolute; bottom: 0; left: 0; right: 0; max-height: 100%; overflow-y: auto; } .home-content { padding: 32px 0; } .profile-box { display: flex; .profile-view--meta--display .toolkit-link { text-decoration: none; font-size: 16px; } .profile-view--icon { position: relative; height: 64px; width: 64px; border-radius: 32px; border: 3px solid #444; background-color: #555; overflow: hidden; margin-right: 16px; img { width: 100%; } } } .profile-view { background-color: #444; color: #f5f5f5; overflow: hidden; &.card-top { border-radius: 3px 3px 0 0; } &.standalone { border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); margin-bottom: 32px; } img { width: 100%; } .profile-view--banner { height: 233px; width: 100%; } .profile-view--banner--placeholder { height: 100%; min-height: 100%; background-color: #555; } .profile-view--content { padding-bottom: 16px; } .profile-view--content--top { margin-top: -86px; display: flex; justify-content: flex-start; align-items: flex-start; flex-wrap: wrap; padding: 0 16px; } .profile-view--icon { position: relative; height: 128px; width: 128px; border-radius: 64px; border: 3px solid #444; background-color: #555; overflow: hidden; margin-right: 16px; } .profile-view--meta { padding-top: 20px; text-shadow: 1px 1px 1px #222; span { display: block; } } .profile-view--meta--display { font-weight: 600; font-size: 20px; } .profile-view--meta--handle { font-weight: 500; } .profile-view--description { padding: 16px; } } .text-section, .button-section { padding: 8px 0; } .columns { display: flex; flex-direction: row-reverse; justify-content: space-between; .columns--column { flex: 1; width: 100%; } .columns--column + .columns--column { margin-right: 16px; } } .submission-buttons .toolkit-button-group { justify-content: center; } .submission-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); .submission-icon { position: relative; border-radius: 0px; } .toolkit-link { display: block; height: 100%; width: 100%; font-style: none; font-weight: 500; &:hover, &:focus, a:active { color: #e5e5e5; } } .submission-icon--unpublished, .submission-icon--overlay { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-around; align-items: center; text-align: center; opacity: 0; transition: opacity 0.2s ease-in-out; &:hover { opacity: 1; } } .submission-icon--overlay { background-color: rgba(0, 0, 0, 0.4); text-shadow: 1px 1px 1px #000; } .submission-icon--unpublished { background-color: #c92a6066; text-shadow: 1px 1px 1px #000; } .submission-icon--meta p { margin: 0; margin-top: 16px; } } .image-box { max-width: 100%; background-color: #f5f5f5; overflow: hidden; img { display: block; width: 100%; } } @media (max-width: 700px) { .desktop-bar { display: none; } .mobile-bar { display: flex; } .columns { flex-direction: column; .columns--column + .columns--column { margin-left: 0; padding-top: 16px; } } .profile-view { &.standalone { border-radius: 0; } .profile-view--banner { height: 33vw; } } } @media (max-width: 350px) { .profile-view { .profile-view--content--top { margin-top: -56px; display: block; } .profile-view--icon { width: 96px; height: 96px; } .profile-view--meta { padding-bottom: 0; } } } @media (max-width: 250px) { .profile-view { .profile-view--content--top { margin-top: -38px } .profile-view--icon { width: 64px; height: 64px; } } }