Skip to content

Commit 519ccf7

Browse files
Change font sizes and text color.
1 parent 4c207f4 commit 519ccf7

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

src/components/home/Hero/styles.module.css

+16-12
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@
1919

2020
.pydata_header {
2121
text-align: center;
22-
color: var(--ifm-color-blue-jupyter);
22+
color: var(--ifm-color-primary-p2);
2323
font-family: var(--ifm-font-family-bebas-neue);
24-
font-size: 16px;
24+
font-size: var(--ifm-font-size-normal);
2525
font-weight: 600;
2626
position: absolute;
27-
top: 25%;
27+
top: 15%;
2828
left: 50%;
2929
transform: translate(-50%, -50%);
30+
min-width: 250px;
3031
}
3132

3233
.pydata_informations {
@@ -35,9 +36,10 @@
3536
font-size: 12px;
3637
font-weight: 600;
3738
position: absolute;
38-
top: 60%;
39+
top: 65%;
3940
left: 50%;
4041
transform: translate(-50%, -50%);
42+
min-width: 250px;
4143
}
4244
}
4345

@@ -49,14 +51,15 @@
4951

5052
.pydata_header {
5153
text-align: center;
52-
color: var(--ifm-color-blue-jupyter);
54+
color: var(--ifm-color-primary-p2);
5355
font-family: var(--ifm-font-family-bebas-neue);
54-
font-size: var(--ifm-font-size-medium);
56+
font-size: var(--ifm-font-size-secondary-title);
5557
font-weight: 600;
5658
position: absolute;
57-
top: 40%;
59+
top: 30%;
5860
left: 50%;
5961
transform: translate(-50%, -50%);
62+
min-width: 350px;
6063
}
6164

6265
.pydata_informations {
@@ -65,7 +68,7 @@
6568
font-size: var(--ifm-font-size-small);
6669
font-weight: 600;
6770
position: absolute;
68-
top: 70%;
71+
top: 60%;
6972
left: 50%;
7073
transform: translate(-50%, -50%);
7174
}
@@ -106,14 +109,15 @@
106109
/*Desktop*/
107110
.pydata_header {
108111
text-align: center;
109-
color: var(--ifm-color-blue-jupyter);
112+
color: var(--ifm-color-primary-p2);
110113
font-family: var(--ifm-font-family-bebas-neue);
111-
font-size: var(--ifm-font-size-large);
114+
font-size: var(--ifm-font-size-main-title);
112115
font-weight: 600;
113116
position: absolute;
114-
top: 40%;
117+
top: 30%;
115118
left: 50%;
116119
transform: translate(-50%, -50%);
120+
min-width: 600px;
117121
}
118122

119123
.pydata_informations {
@@ -122,7 +126,7 @@
122126
font-size: var(--ifm-font-size-medium);
123127
font-weight: 600;
124128
position: absolute;
125-
top: 70%;
129+
top: 60%;
126130
left: 50%;
127131
transform: translate(-50%, -50%);
128132
}

src/css/custom.css

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
--ifm-font-size-small: 14px;
3737
--ifm-font-size-normal: 18px;
3838
--ifm-font-size-medium: 24px;
39-
--ifm-font-size-large: 40px;
4039
--ifm-font-size-main-title: 48px;
4140
--ifm-font-size-secondary-title: 32px;
4241

0 commit comments

Comments
 (0)