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

CHEMH-000 | @jdwjdwjdw | Update event node styles #88

Merged
merged 1 commit into from
Feb 28, 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# [ChEM-H Subtheme](https://github.com/SU-SWS/chem_h_subtheme)
##### Version: 2.2.4
##### Version: 2.2.5

Changelog: [Changelog.txt](CHANGELOG.txt)

Expand Down
2 changes: 1 addition & 1 deletion chem_h_subtheme.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ChEM-H Subtheme
type: theme
description: 'ChEM-H Subtheme.'
package: Stanford
version: 2.2.4
version: 2.2.5
core_version_requirement: ^9 || ^10
base theme: stanford_basic
libraries:
Expand Down
2 changes: 1 addition & 1 deletion dist/css/chem_h_subtheme.css

Large diffs are not rendered by default.

23 changes: 22 additions & 1 deletion src/scss/components/events/_event-node.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@
@include grid-media-min('2xl') {
background: $su-color-black url(../../assets/png/header-sm-000--cropped.png) no-repeat 50%/cover;
}

.su-event-type,
.node-stanford-event-title {
justify-content: center;
text-align: center;

div {
&::after {
color: $su-color-white;
}
}

a,
p,
.su-event-label-past {
Expand All @@ -25,6 +32,20 @@
letter-spacing: .3rem;
margin-bottom: .5rem;
opacity: .9;
display: inline-block;
}
}

.su-event-label-past {
border-right: 1px solid $su-color-white;
padding-right: 10px;
}

// Past Events label if no event types are added
.node-stanford-event-title {
.su-event-label-past {
border: none;
padding-right: unset;
}
}

Expand Down
Loading