Skip to content

Commit eab0966

Browse files
committed
Dark mode cards improvements
Also, this includes styles for the new Hero blocks
1 parent fc82fcf commit eab0966

15 files changed

+71
-5
lines changed

gcx/styles/src/css/helios-gcx-body.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545

4646
.dark-mode .landing-card .content {
47-
color: var(--color-black)
47+
color: var(--color-white)
4848
}
4949

5050
.full-articles {
@@ -141,6 +141,11 @@
141141
width: 100%;
142142
}
143143

144+
.dark-mode .doc .sidebarblock {
145+
background: var(--color-purple-700);
146+
box-shadow: 0px 6px 8px rgb(255 255 255 / 8%), 0px 4px 10px rgb(255 255 255 / 8%), 0px 3px 12px rgb(255 255 255 / 12%);
147+
}
148+
144149
.doc {
145150
color: var(--color-black);
146151
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.dsHeroBlock {
2+
background-image: url('../img/[email protected]');
3+
background-size: cover;
4+
color: white;
5+
font-family: 'Roboto', sans-serif;
6+
}
7+
8+
.dsHeroBlock[data-banner="2"]{
9+
background-image: url('../img/[email protected]');
10+
}
11+
12+
.dsHeroBlock[data-banner="3"]{
13+
background-image: url('../img/[email protected]');
14+
}
15+
16+
.dsHeroBlock[data-banner="4"]{
17+
background-image: url('../img/[email protected]');
18+
}
19+
20+
.dsHeroBlock[data-banner="5"]{
21+
background-image: url('../img/[email protected]');
22+
}
23+
24+
25+
26+
.dsHeroContent {
27+
padding: 50px 60px;
28+
width: 50%;
29+
}
30+
31+
.dsHeroTitle h1 {
32+
font-weight: 400;
33+
}
34+
35+
@media screen and (max-width: 820px) {
36+
.dsHeroContent {
37+
width: 100%;
38+
}
39+
}

gcx/styles/src/css/helios-gcx-links.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
}
4141

4242
.dark-mode .sidebarblock a.xref.page{
43-
color: var(--black);
43+
color: var(--color-white);
4444
}
4545

4646
.dark-mode .sidebarblock a{
47-
color: var(--black)!important;
47+
color: var(--color-white)!important;
4848
}
4949

5050
.doc .admonitionblock.caution a {

gcx/styles/src/css/helios-gcx-titles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
}
6060

6161
.dark-mode .doc .sidebarblock>.content>.title{
62-
color: var(--black);
62+
color: var(--white);
6363
}
6464

6565

347 KB
Loading
876 KB
Loading
208 KB
Loading
500 KB
Loading
723 KB
Loading
2.56 MB
Loading

0 commit comments

Comments
 (0)