Skip to content

Commit

Permalink
Style speakers without avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
ryelle committed Aug 6, 2024
1 parent 689b563 commit 7b67f8f
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
35 changes: 35 additions & 0 deletions css/includes/people.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,38 @@ body.single-wcb_organizer {
display: none;
}
}

body.single-wcb_speaker {

& .wp-block-post-content .wp-block-read-more {
display: none;
}

& .wp-block-wordcamp-avatar {
max-width: 100%;
height: auto !important;
width: auto !important;
overflow: hidden;
position: relative;

& img {
vertical-align: middle;
}

&::before {
content: "";
background-image: url(https://us.wordcamp.org/2024/files/2024/04/generic.png);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 100%;
height: 100%;
position: absolute;
z-index: -1;
}

&.is-style-rounded::before {
border-radius: 50%;
}
}
}
32 changes: 32 additions & 0 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b67f8f

Please sign in to comment.