www-new/pages/index.module.css

198 lines
3.2 KiB
CSS
Raw Normal View History

2021-07-27 01:39:38 -04:00
.page {
padding-bottom: calc(60rem / 16);
}
2021-07-09 13:02:51 -04:00
.intro {
display: flex;
flex-direction: column;
justify-content: flex-start;
2021-07-09 13:02:51 -04:00
align-items: center;
2021-07-09 18:27:51 -04:00
position: relative;
2021-07-09 14:00:37 -04:00
height: 65vh;
min-height: calc(420rem / 16);
max-height: calc(580rem / 16);
}
.introTop {
flex-grow: 1;
2021-07-09 13:02:51 -04:00
}
2021-07-13 02:25:50 -04:00
.introContent {
flex-grow: 1;
2021-07-13 02:25:50 -04:00
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.introBottom {
flex-grow: 1;
min-height: calc(132rem / 16);
}
2021-07-09 14:00:37 -04:00
.clubTitleWrapper {
2021-07-09 13:02:51 -04:00
display: flex;
flex-direction: row;
2021-07-09 14:00:37 -04:00
justify-content: center;
2021-07-09 13:02:51 -04:00
align-items: center;
2021-07-23 01:33:59 -04:00
gap: 1rem;
2021-07-09 14:00:37 -04:00
}
.clubTitleWrapper img {
height: calc(70rem / 16);
2021-07-09 13:02:51 -04:00
}
2021-07-09 14:00:37 -04:00
.clubTitle {
2021-07-19 20:00:37 -04:00
font-family: "Futura", "sans-serif";
2021-07-09 14:00:37 -04:00
font-size: calc(33rem / 16);
2021-07-13 02:25:50 -04:00
text-align: center;
2021-07-09 14:00:37 -04:00
color: var(--home-title-purple);
}
.clubDescription {
margin-bottom: calc(50rem / 16);
2021-07-13 02:25:50 -04:00
text-align: center;
2021-07-09 14:00:37 -04:00
color: var(--purple-2);
}
2021-07-13 02:25:50 -04:00
.clubDescription br {
display: none;
}
2021-07-09 18:27:51 -04:00
.codey {
position: absolute;
2021-07-27 00:04:56 -04:00
bottom: calc(-124rem / 16);
right: calc(20rem / 16);
2021-07-09 18:27:51 -04:00
z-index: -1;
}
2021-07-09 15:21:29 -04:00
.cardsBackground {
margin: 0;
width: 100%;
background-color: var(--off-white);
}
2021-07-09 14:00:37 -04:00
.cards {
2021-07-09 13:02:51 -04:00
display: flex;
2021-07-09 14:00:37 -04:00
flex-direction: row;
2021-07-09 15:21:29 -04:00
justify-content: center;
align-items: flex-start;
gap: calc(100rem / 16);
2021-07-09 14:00:37 -04:00
2021-07-23 01:33:59 -04:00
padding: calc(42rem / 16) calc(100rem / 16);
2021-07-09 14:00:37 -04:00
}
.cardsHeading {
2021-07-13 01:33:23 -04:00
margin: 1rem 0 calc(8rem / 16);
font-size: calc(24rem / 16);
2021-07-09 14:00:37 -04:00
font-weight: 700;
}
2021-07-13 01:33:23 -04:00
.cardsDescription {
margin: calc(8rem / 16) 0 1rem;
}
2021-07-13 02:25:50 -04:00
.cardsDescription br {
display: none;
}
.cardsDividingLine {
display: none;
}
2021-07-09 15:21:29 -04:00
.eventCards {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
gap: 1rem;
}
2021-07-23 01:33:59 -04:00
/* On a smaller desktop screen, make the events/new flow vertically */
@media only screen and (max-width: calc(1100rem / 16)) {
2021-07-13 02:25:50 -04:00
.cards {
2021-07-23 01:33:59 -04:00
flex-direction: column;
align-items: center;
gap: calc(32rem / 16);
}
.cards > section {
max-width: calc(540rem / 16);
2021-07-13 02:25:50 -04:00
}
}
@media only screen and (max-width: calc(768rem / 16)) {
2021-07-27 01:39:38 -04:00
.page {
padding-bottom: calc(30rem / 16);
}
2021-07-13 02:25:50 -04:00
.intro {
2021-07-27 00:16:14 -04:00
height: calc(330rem / 16);
2021-07-27 01:39:38 -04:00
min-height: unset;
max-height: unset;
2021-07-13 02:25:50 -04:00
}
.introContent {
padding: 1rem;
max-width: calc(260rem / 16);
}
2021-07-27 01:39:38 -04:00
.introBottom {
min-height: calc(100rem / 16);
}
2021-07-13 02:25:50 -04:00
.clubTitleWrapper img {
display: none;
}
.clubTitle {
margin: calc(8rem / 16) 0;
font-size: calc(20rem / 16);
}
.clubDescription {
margin: calc(8rem / 16) 0 calc(26rem / 16);
color: var(--purple-2);
}
.clubDescription br {
display: inline;
}
.codey {
2021-07-27 00:16:14 -04:00
bottom: calc(-46rem / 16);
2021-07-13 02:25:50 -04:00
right: auto;
z-index: -1;
height: calc(120rem / 16);
}
.cards {
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: calc(8rem / 16);
2021-07-27 01:39:38 -04:00
padding: calc(36rem / 16) calc(20rem / 16) calc(20rem / 16);
2021-07-13 02:25:50 -04:00
}
.cardsHeading {
margin: 0;
font-size: calc(18rem / 16);
font-weight: 600;
}
.cardsDescription br {
display: inline;
}
.cardsDividingLine {
display: block;
margin: 1rem 0 calc(34rem / 16);
height: calc(1rem / 16);
border: none;
background-color: var(--purple-2);
}
}