Skip to content

Commit de8f390

Browse files
committed
remove unused styling
1 parent 8fedd88 commit de8f390

2 files changed

Lines changed: 13 additions & 89 deletions

File tree

web-components/hero-section/hero-section.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,6 @@ h6, p {
148148
flex-flow: column wrap;
149149
align-items: flex-start;
150150
gap: 1em;
151-
padding: 3em;
151+
padding: 3em 2em;
152152
}
153153
}

wp-includes/css/page.css

Lines changed: 12 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -36,47 +36,19 @@
3636

3737
/* Backgrounds */
3838
/* -------------------------------------------------------- */
39-
.internship-bg {
40-
background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../../wp-content/images/internship_collaboration.jpeg);
41-
background-repeat: no-repeat;
42-
background-size: cover;
43-
background-position: center;
44-
color: var(--white);
45-
}
46-
47-
.blur-bg {
48-
backdrop-filter: blur(6px);
49-
}
50-
51-
.engage-bg {
52-
background-image: url(../../wp-content/backgrounds/Engage_HomepageBG.png);
53-
background-repeat: no-repeat;
54-
background-size: cover;
55-
color: var(--white);
56-
}
57-
58-
.learn-bg {
59-
background-image: url(../../wp-content/backgrounds/Learn_HomepageBG.png);
60-
background-repeat: no-repeat;
61-
background-size: cover;
62-
background-position: right;
63-
color: var(--black);
64-
}
65-
6639
.white-bg {
6740
background-color: var(--white);
41+
color: var(--black);
6842
}
6943

70-
.white-bg h3, .white-bg h4 {
71-
color: var(--black);
72-
}
73-
7444
.gray-bg {
7545
background-color: var(--bg-gray);
46+
color: var(--black);
7647
}
7748

7849
.light-gray-bg {
7950
background-color: var(--bg-light-gray);
51+
color: var(--black);
8052
}
8153

8254
.gray-bg a, .light-gray-bg a {
@@ -87,19 +59,6 @@
8759
color: var(--black);
8860
}
8961

90-
.gray-bg a {
91-
color: var(--blue)
92-
}
93-
94-
.blue-bg {
95-
background-color: var(--bg-dark-blue);
96-
color: var(--white);
97-
}
98-
99-
.blue-bg a {
100-
color: var(--font-light-blue);
101-
}
102-
10362
.dark-gray-bg {
10463
background-color: var(--bg-dark-gray-02);
10564
color: var(--white);
@@ -113,6 +72,15 @@
11372
.dark-gray-bg h4 {
11473
font-size: var(--plex-24) !important;
11574
}
75+
76+
.blue-bg {
77+
background-color: var(--bg-dark-blue);
78+
color: var(--white);
79+
}
80+
81+
.blue-bg a {
82+
color: var(--font-light-blue);
83+
}
11684
/* -------------------------------------------------------- */
11785

11886
/* Icons */
@@ -127,10 +95,6 @@
12795
height: var(--plex-28);
12896
}
12997

130-
.icon-xl {
131-
height: var(--plex-36);
132-
}
133-
13498
.icon {
13599
margin-bottom: 0.5em;
136100
}
@@ -213,36 +177,6 @@
213177
}
214178
/* -------------------------------------------------------- */
215179

216-
/* Hero section */
217-
/* -------------------------------------------------------- */
218-
.hero {
219-
padding: 3em;
220-
}
221-
222-
.hero div:nth-child(2) {
223-
padding-left: 1em;
224-
}
225-
226-
.main-content section:first-child {
227-
width: 100%;
228-
background-color:var(--bg-dark-gray-01);
229-
}
230-
231-
.main-content section:first-child p {
232-
font-size: var(--plex-20);
233-
}
234-
235-
.main-content section:first-child b {
236-
font-weight: var(--bold);
237-
}
238-
239-
.main-content section:first-child img {
240-
margin-top: 4em;
241-
}
242-
243-
.main-content section:first-child h6 {
244-
padding: 0;
245-
}
246180
/* -------------------------------------------------------- */
247181

248182
/* Content containers */
@@ -353,11 +287,6 @@
353287
.spacer {
354288
height: 0.3125em;
355289
}
356-
357-
/* Hero section subtext */
358-
.subtext {
359-
font-weight: 300;
360-
}
361290
/* -------------------------------------------------------- */
362291

363292
/* Media queries */
@@ -393,11 +322,6 @@
393322
.dark-gray-bg h4 {
394323
font-size: var(--plex-20) !important;
395324
}
396-
397-
/* Remove padding from hero content for smaller screens */
398-
.hero div:nth-child(2) {
399-
padding-left: 0em;
400-
}
401325
}
402326

403327
/* 1024px and above screen sizes */

0 commit comments

Comments
 (0)