Skip to content

Commit 33192de

Browse files
authored
CHEMH-315: Styling for Opportunities (#111)
* CHEMH-315: Styling for Opportunities * fixup
1 parent a388f5e commit 33192de

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

dist/css/chem_h_subtheme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/scss/theme/_black-heading-bg.scss

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,53 @@
3434
color: $su-color-white;
3535
}
3636
}
37+
38+
// Opportunity content type overrides
39+
.node--stanford-opportunity {
40+
.su-opp-title-wrapper {
41+
background: $chemh-color-true-black url("../../assets/png/header-sm-000--cropped.png") no-repeat center/cover;
42+
43+
width: 100vw;
44+
position: relative;
45+
left: 50%;
46+
transform: translateX(-50%);
47+
overflow-x: hidden;
48+
49+
.node-stanford-page-title {
50+
background: none;
51+
width: auto;
52+
53+
h1 {
54+
margin: 0;
55+
}
56+
57+
@include grid-media-min('md') {
58+
padding-top: 0;
59+
}
60+
}
61+
62+
.node-stanford-opportunity-su-opp-icon,
63+
.su-opp-summary {
64+
color: $su-color-white;
65+
}
66+
}
67+
68+
.su-opp-node-container-wrapper {
69+
.main-region {
70+
.node-stanford-opportunity-su-opp-cta-url {
71+
.su-button {
72+
&:hover,
73+
&:focus {
74+
a {
75+
color: $su-color-white;
76+
}
77+
}
78+
79+
a {
80+
color: $su-color-black;
81+
}
82+
}
83+
}
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)