cerebellum-alcohol-infographic/css/style.css

72 lines
896 B
CSS

html {
scroll-behavior: smooth;
}
header {
padding: 1rem 0;
}
main {
padding: 1rem 2rem;
}
.vertical-space {
width: 100%;
height: 1px;
margin-top: 1rem;
margin-bottom: 1rem;
}
.text-center {
text-align: center;
}
.alcohol-and-the-brain .chart {
min-width: 0;
}
.alcohol-abuse-chart-box {
display: flex;
width: 100%;
position: relative;
justify-content: center;
flex-direction: column;
}
.alcohol-abuse-chart-box p {
margin-top: 1rem;
}
svg {
max-width: 100%;
}
#Alcohol, #connection-rectangle, #brain, #brain-projection, #human {
opacity: 0;
}
.references ol {
margin: 0;
}
.references li {
transition: background-color 1s;
padding: 0.5rem 1rem;
}
.highlight {
background-color: rgb(251, 255, 130);
}
#brain-container canvas {
margin: 1rem auto;
}
.video-container {
margin: 2rem auto;
}
.video-container iframe {
max-width: 100%;
}