Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional additional styling adjustments for homepage Podcast blocks #361

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ $ const withVideo = defaultValue(input.withVideo, false);
src="https://img.diverseeducation.com/files/base/diverse/all/image/2023/12/InTheMarginsArt23_1_.656deceee49c6.png"
srcset=["https://img.diverseeducation.com/files/base/diverse/all/image/2023/12/InTheMarginsArt23_1_.656deceee49c6.png?dpr=2 2x"]
alt="In The Margins Logo"
attrs={ width: 150, height: 150 }
/>
</div>
<div class="col">
Expand All @@ -50,9 +51,9 @@ $ const withVideo = defaultValue(input.withVideo, false);
${i18n("Latest Episode")}
</@left>
</@header>
<@title tag="h5">
<@text tag="h5" modifiers=["podcast-title"]>
<marko-web-content-name tag=null obj=node link=true />
</@title>
</@text>
</@body>
</marko-web-node>
</div>
Expand Down Expand Up @@ -142,6 +143,7 @@ $ const withVideo = defaultValue(input.withVideo, false);
src="https://img.diverseeducation.com/files/base/diverse/all/image/2023/12/InTheMarginsArt23_1_.656deceee49c6.png?w=100"
srcset=["https://img.diverseeducation.com/files/base/diverse/all/image/2023/12/InTheMarginsArt23_1_.656deceee49c6.png?w=100&dpr=2 2x"]
alt="In The Margins Logo"
attrs={ width: 150, height: 150 }
/>
</div>
<div class="col">
Expand All @@ -158,9 +160,9 @@ $ const withVideo = defaultValue(input.withVideo, false);
${i18n("Latest Episode")}
</@left>
</@header>
<@title tag="h5">
<@text tag="h5" modifiers=["podcast-title"]>
<marko-web-content-name tag=null obj=node link=true />
</@title>
</@text>
</@body>
</marko-web-node>
</div>
Expand Down
17 changes: 17 additions & 0 deletions sites/diverseeducation.com/server/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,20 @@ $primary: #0087ca;
}
}
}

.node {
&--latest-podcast {
.node__text--podcast-title {
font-family: Open Sans,open-sans-fallback,sans-serif;
font-size: 18px;
font-weight: 700;
letter-spacing: .25px;
line-height: 1.33;
margin-bottom: 20px;
text-transform: none;
a {
color: #3f4043 !important;
}
}
}
}
Loading