174 lines
3 KiB
SCSS
174 lines
3 KiB
SCSS
@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: transparent;
|
|
transition: background-color 400ms ease-in-out;
|
|
|
|
.sidebar__nav {
|
|
|
|
.sidebar__nav-item {
|
|
|
|
+ .sidebar__nav-item {
|
|
margin: 0.75rem 0 0 0;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: var(--transparent-black);
|
|
transition: color 400ms ease-in-out;
|
|
}
|
|
}
|
|
|
|
.sidebar__social {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 1rem 0 0 0;
|
|
|
|
a {
|
|
width: var(--icon-size);
|
|
height: var(--icon-size);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
+ a {
|
|
margin: 0 0 0 1rem;
|
|
}
|
|
|
|
svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
fill: var(--transparent-black);
|
|
transition: fill 400ms ease-in-out;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var(--transparent-white);
|
|
|
|
.sidebar__nav {
|
|
|
|
a {
|
|
color: var(--black);
|
|
}
|
|
}
|
|
|
|
.sidebar__social {
|
|
|
|
svg {
|
|
fill: var(--black);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// MAIN
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Home section
|
|
|
|
.exhibitions-section {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
}
|
|
|
|
.exhibitions-section__iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// FOOTER
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// Footer bar
|