-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #565 from asuc-octo/jaden-refactor-yaml
Remove dependency on Yaml
- Loading branch information
Showing
10 changed files
with
614 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
121 changes: 63 additions & 58 deletions
121
frontend/src/assets/scss/bt/about/_current_and_past.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,85 @@ | ||
.current-contributors, | ||
.past-contributors { | ||
// width's chosen so column widths are exactly 150px, kinda jank but whatevers | ||
@include desktop { | ||
width: 690px; | ||
} | ||
@include tablet { | ||
width: 650px; | ||
} | ||
@include mobile { | ||
width: 330px; | ||
display: flex; | ||
flex-direction: column; | ||
|
||
> div { | ||
display: grid; | ||
grid-template-columns: repeat(4, 150px); | ||
justify-content: center; | ||
flex-wrap: wrap; | ||
gap: 25px; | ||
|
||
@include media(mobile) { | ||
grid-template-columns: repeat(2, 150px); | ||
} | ||
} | ||
} | ||
|
||
.contributor-card { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
margin-bottom: 25px; | ||
.contributor-card { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
margin-bottom: 25px; | ||
|
||
// use width/height to enforce aspect ratio i guess | ||
.headshot { | ||
width: 150px; | ||
height: 150px; | ||
// use width/height to enforce aspect ratio i guess | ||
.headshot { | ||
width: 150px; | ||
height: 150px; | ||
|
||
margin-bottom: 10px; | ||
margin-bottom: 10px; | ||
|
||
img { | ||
width: 150px; | ||
height: 150px; | ||
img { | ||
width: 150px; | ||
height: 150px; | ||
|
||
position: absolute; | ||
object-fit: cover; | ||
object-position: 50% 20%; | ||
border-radius: 3px; | ||
} | ||
position: absolute; | ||
object-fit: cover; | ||
object-position: 50% 20%; | ||
border-radius: 3px; | ||
} | ||
|
||
.serious { | ||
z-index: $z-index-serious; | ||
transition: 0.2s; | ||
.serious { | ||
z-index: $z-index-serious; | ||
transition: 0.2s; | ||
|
||
&:hover { | ||
opacity: 0; | ||
} | ||
&:hover { | ||
opacity: 0; | ||
} | ||
} | ||
} | ||
|
||
.name { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
.name { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
width: 100%; | ||
margin-bottom: 3px; | ||
width: 100%; | ||
margin-bottom: 3px; | ||
|
||
p { | ||
// font-weight: 500; | ||
color: $bt-grey-text; | ||
} | ||
p { | ||
// font-weight: 500; | ||
color: $bt-grey-text; | ||
} | ||
|
||
svg { | ||
width: 22px; | ||
height: 21px; | ||
padding: 2px; | ||
transition: 0.2s; | ||
border-radius: 4px; | ||
margin-bottom: 2px; | ||
svg { | ||
width: 22px; | ||
height: 21px; | ||
padding: 2px; | ||
transition: 0.2s; | ||
border-radius: 4px; | ||
margin-bottom: 2px; | ||
|
||
&:hover { | ||
background-color: $bt-button-background; | ||
} | ||
&:hover { | ||
background-color: $bt-button-background; | ||
} | ||
} | ||
} | ||
|
||
.role { | ||
font-size: 14px; | ||
color: $bt-light-text; | ||
} | ||
.role { | ||
font-size: 14px; | ||
word-wrap: normal; | ||
color: $bt-light-text; | ||
} | ||
} |
Oops, something went wrong.