@use 'utils/minireset'; @use 'partials/fonts'; @use 'partials/variables' as *; @use 'partials/animations'; // ---------------------------------------------------------------------------- // GENERALITIES // ---------------------------------------------------------------------------- // Fonts and colors body { font-family: var(--text-font-family); font-size: var(--text-font-size); line-height: var(--text-line-height); color: var(--black); background-color: var(--white); } h1 { font-family: var(--title-font-family); font-size: var(--h1-font-size); line-height: var(--h1-line-height); } h2 { font-family: var(--text-font-family); font-size: var(--h2-font-size); line-height: var(--h2-line-height); margin: 0 0 4rem 0; } h3 { font-family: var(--text-font-family); font-size: var(--h3-font-size); line-height: var(--h3-line-height); margin: 2rem 0 1rem 0; } p { text-align: justify; } strong { font-weight: var(--bold-font-weight); } em { font-style: italic; } // Link style a { color: var(--black); text-decoration: none; transition: text-decoration 200ms ease-in-out; &:hover, &:focus, &:active { text-decoration: underline; } &:focus-visible { outline: 1px dashed var(--black); outline-offset: 2px; animation: expand-outline 200ms ease-in-out; } } // General layout body { min-height: 100vh; overflow: hidden; } // ---------------------------------------------------------------------------- // HEADER // ---------------------------------------------------------------------------- // Sidebar .sidebar { position: fixed; top: 0; bottom: 0; left: 0; padding: var(--sidebar-vertical-padding) var(--sidebar-horizontal-padding); overflow-y: auto; background-color: var(--transparent-white); transition: background-color 400ms ease-in-out; .sidebar__nav-item { width: 97vw; transition: width 400ms ease-in-out; + .sidebar__nav-item { margin: 0.75rem 0 0 0; } } .sidebar__nav-link { display: inline-block; max-width: 100vw; overflow-x: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--black); transition: max-width 400ms ease-in-out, color 400ms ease-in-out; } .sidebar__social { display: flex; align-items: center; margin: 1rem 0 0 0; } .sidebar__social-link { width: var(--icon-size); height: var(--icon-size); display: flex; justify-content: center; align-items: center; + .sidebar__social-link { margin: 0 0 0 1rem; } } .sidebar__instagram-icon, .sidebar__email-icon { width: 100%; height: 100%; fill: var(--black); transition: fill 400ms ease-in-out; } &--slimmed { background-color: transparent; .sidebar__nav-item { width: 15vw; } .sidebar__nav-link { max-width: 15vw; color: var(--transparent-black); } .sidebar__instagram-icon, .sidebar__email-icon { fill: var(--transparent-black); } &:hover { background-color: var(--transparent-white); .sidebar__nav-link { color: var(--black); } .sidebar__instagram-icon, .sidebar__email-icon { fill: var(--black); } } } } // ---------------------------------------------------------------------------- // MAIN // ---------------------------------------------------------------------------- // Exhibition section .exhibition-section { width: 100vw; height: 100vh; } .exhibition { width: 100%; height: 100%; } // ---------------------------------------------------------------------------- // FOOTER // ---------------------------------------------------------------------------- // Footer bar