www-new/components/OrganizedContent.module.css

124 lines
1.9 KiB
CSS

.wrapper {
display: flex;
line-height: calc(24 / 16);
}
.wrapper h1 {
font-size: 1.5rem;
margin: 1rem 0 1rem 0;
color: var(--blue-2);
}
.content {
display: flex;
flex-direction: column;
}
.nav {
margin: calc(8rem / 16) calc(32rem / 16) 0 0;
color: var(--purple-2);
font-weight: 500;
}
.navItem {
display: flex;
overflow: hidden;
white-space: nowrap;
font-size: 0.875rem;
border-bottom: 1px solid var(--blue-2-25);
align-items: center;
height: calc(40rem / 16);
width: calc(284rem / 16);
padding-left: calc(14rem / 16);
padding-right: calc(38rem / 16);
}
.selected {
background-color: var(--blue-1-05);
color: var(--blue-2);
font-weight: bold;
}
.readAll {
font-weight: bold;
}
.marker {
display: none;
background-color: var(--blue-2);
height: calc(24rem / 16);
width: calc(4rem / 16);
margin-right: 1rem;
}
.selected .marker {
display: inline;
}
.navLink {
width: 100%;
cursor: pointer;
padding: 0.5rem 2rem 0.5rem 0.5rem;
}
.selected .navLink {
/* smaller to account for marker width */
padding: 0.5rem 1.15rem 0.5rem 0.5rem;
}
.footer {
margin-top: auto;
display: flex;
justify-content: space-between;
}
.previous,
.next {
flex: 1;
display: flex;
cursor: pointer;
display: flex;
color: var(--purple-2);
font-size: 0.75rem;
}
.previous {
margin-right: calc(8rem / 16);
}
.next {
justify-content: flex-end;
justify-self: flex-end;
text-align: end;
margin-left: calc(8rem / 16);
}
.arrowHeading {
color: var(--blue-2);
font-size: 0.875rem;
font-weight: bold;
border-bottom: calc(1.6rem / 16) solid var(--blue-2);
padding-bottom: calc(4rem / 16);
}
.arrow {
fill: var(--blue-2);
margin-top: 1.7rem;
}
.prevArrow {
transform: rotate(90deg);
padding-right: 0.5rem;
}
.nextArrow {
transform: rotate(270deg);
padding-left: 0.5rem;
}
@media only screen and (max-width: calc(768rem / 16)) {
.nav {
display: none;
}
}