Skip to content

Commit 80808e4

Browse files
committed
styling changes
1 parent 8ade5b9 commit 80808e4

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/theme/DocItem/Layout/styles.module.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,21 @@
4646
/* Translation popup */
4747

4848
.docCloudCard {
49-
background: var(--click-cloud-card-background);
5049
display: flex;
5150
flex-direction: column;
5251
padding: 1rem;
5352
border-radius: 8px;
5453
margin-bottom: 24px;
5554
}
5655

56+
[data-theme='dark'] .docCloudCard {
57+
background: var(--click-cloud-card-background);
58+
}
59+
60+
[data-theme='light'] .docCloudCard {
61+
background: var(--ifm-table-head-background);
62+
}
63+
5764
.docCloudCardHeader {
5865
display: flex;
5966
flex-wrap: nowrap;
@@ -70,14 +77,19 @@
7077
.docCloudCardContent {
7178
font-weight: 400;
7279
font-size: 14px;
73-
margin-bottom: 24px;
80+
margin-bottom: 18px;
7481
}
7582

7683
.docCloudCardLink {
7784
width: fit-content;
78-
padding: 0 16px;
85+
padding: 0 12px;
7986
white-space: nowrap;
8087
}
88+
89+
[data-theme='light'] .docCloudCardLink {
90+
background-color: var(--palette_info_300);
91+
}
92+
8193
.docCloudCardLink:hover {
8294
text-decoration: none;
8395
}

0 commit comments

Comments
 (0)