site/pages/badger-profile/style.css
@value badgerWhite, badgerBlack, badgerRedOnWhite from "../../css/_colors.css";
@value mediumScreen from "../../css/_sizes.css";
.categories {
composes: fontS2 from "../../css/typography/_fonts.css";
composes: sansSerif from "../../css/typography/_fonts.css";
margin-bottom: 10px;
}
.header {
composes: serif from "../../css/typography/_fonts.css";
font-size: 40px;
line-height: 1.1;
margin-bottom: 5px;
}
.profileContainer {
composes: fontS2 from "../../css/typography/_fonts.css";
composes: lightSerif from "../../css/typography/_fonts.css";
padding-top: 20px;
padding-bottom: 30px;
display: flex;
flex-wrap: wrap;
justify-content: center;
flex-direction: column;
align-items: center;
}
.subheader {
composes: fontS2 from "../../css/typography/_fonts.css";
composes: boldSansSerif from "../../css/typography/_fonts.css";
}
.authorLinks {
composes: subheader;
}
.categoryBox {
composes: boldSansSerif from "../../css/typography/_fonts.css";
font-size: 16px;
line-height: 1.0;
color: badgerBlack;
border: solid 2px badgerRedOnWhite;
padding: 10px 20px;
text-decoration: none;
display: inline-block;
margin-right: 20px;
margin-bottom: 20px;
}
.about {
margin: 40px 0;
}
.authorLinks a {
color: badgerBlack;
border-bottom: solid 2px badgerRedOnWhite;
}
.authorLink {
margin-top: 40px;
}
.authorLink:first-child{
margin-bottom: 10px;
}
.badgerImage {
width: 100%;
}
.badgerProfile {
background-color: badgerWhite;
color: badgerBlack;
padding: 0 20px;
}
.descriptionSections p {
margin-bottom: 20px;
}
.profileDescriptionContainer {
width: 100%;
max-width: 335px;
}
.profileDescriptionContainer hr {
border-top: 1px solid #ccc;
margin: 30px 0;
}
.profilePictureContainer {
max-width: 335px;
max-height: 335px;
margin-bottom: 30px;
}
@media mediumScreen {
.profileContainer {
margin: 0 auto;
padding-bottom: 40px;
}
.profileDescriptionContainer{
max-width: 478px;
}
.profilePictureContainer {
width: 478px;
max-width: 478px;
max-height: 478px;
margin-right: 0px;
}
}
/* L */
@media screen and (min-width: 1050px) {
.profileContainer {
max-width: 1200px;
margin: 0 auto;
padding-bottom: 30px;
flex-direction: row;
align-items: flex-start;
}
.profileDescriptionContainer{
width: 50%;
max-width: 660px;
}
.profilePictureContainer {
width: 454px;
max-width: 454px;
max-height: 454px;
margin-right: 50px;
}
}