www-new/pages/resources/internships/index.module.css

145 lines
2.8 KiB
CSS

.page {
margin: calc(20rem / 16) 0 calc(60rem / 16);
}
.title {
height: calc(80rem / 14);
padding-left: calc(20rem / 16);
color: var(--primary-title);
margin-top: 3rem;
}
.content {
color: var(--text);
}
.content span {
color: var(--primary-accent);
}
.titleContainer {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
max-width: calc(800rem / 16);
margin: 0 auto;
overflow-y: clip;
overflow-x: clip;
height: calc(200rem / 16);
}
.codey {
z-index: -1;
height: calc(400rem / 20);
}
.selectorContainer {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--light--author-text);
width: calc(61.52vw + 124.3px);
margin: calc(20rem / 16) auto;
}
.selector {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin: 0;
padding: calc(10rem / 16);
border-top-left-radius: calc(10rem / 16);
border-top-right-radius: calc(10rem / 16);
background-color: transparent;
color: var(--primary-accent);
font-size: calc(1.716vw + 7.566px);
font-weight: 700;
cursor: pointer;
width: calc(100% / 3);
border: none;
font-family: var(--font-mono);
transition: background-color 0.2s ease-out;
}
.selector:hover {
background-color: var(--dark--primary-accent-lightest);
}
.selected {
background-color: var(--light--author-text);
}
.selected:hover {
background-color: var(--light--author-text);
}
.subpagesWrapper {
overflow-x: hidden;
margin: calc(20rem / 14) calc(0.1924 * 100vw - 62.15px);
}
.subpagesContainer {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-rows: repeat(1, minmax(0, 1fr));
width: calc(3 * (61.52vw + 124.3px));
transition: transform 0.6s cubic-bezier(0.88, 0.1, 0.64, 0.95);
}
.subpage0 {
transform: translateX(0);
}
.subpage1 {
transform: translateX(calc(-1 * (61.52vw + 124.3px)));
}
.subpage2 {
transform: translateX(calc(-2 * (61.52vw + 124.3px)));
}
.subpageContainer {
padding: 10px;
margin: 0 10px;
overflow-y: hidden;
transition: all 2.5s cubic-bezier(0.95, 0.34, 0, 1);
}
.subpage {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
@media only screen and (max-width: calc(768rem / 16)) {
.page {
margin-bottom: calc(30rem / 16);
}
.titleContainer {
display: flex;
flex-direction: column;
align-items: center;
max-width: calc(800rem / 16);
margin: 0 auto;
overflow-y: clip;
height: calc(130rem / 16);
}
.title {
padding-left: 0;
}
.content ul {
padding-left: calc(20rem / 16);
}
.content ol {
padding-left: calc(16rem / 16);
}
.codey {
width: calc(140rem / 16);
height: calc(124rem / 16);
padding-left: calc(30rem / 16);
}
}