|
3 | 3 | width: 100%; |
4 | 4 | height: auto; |
5 | 5 | display: block; |
| 6 | + opacity: calc(0.4); |
6 | 7 | } |
7 | 8 |
|
8 | 9 | .pydata_banner { |
9 | 10 | position: relative; |
10 | 11 | } |
11 | 12 |
|
12 | | -@media only screen and (max-width: 996px) { |
| 13 | +@media only screen and (max-width: 530px) { |
| 14 | + /*Small mobile screens*/ |
| 15 | + .logos_carousel { |
| 16 | + display: none; |
| 17 | + } |
| 18 | + |
| 19 | + .pydata_header { |
| 20 | + text-align: center; |
| 21 | + color: var(--ifm-color-blue-jupyter); |
| 22 | + font-family: var(--ifm-font-family-bebas-neue); |
| 23 | + font-size: 16px; |
| 24 | + font-weight: 600; |
| 25 | + position: absolute; |
| 26 | + top: 25%; |
| 27 | + left: 50%; |
| 28 | + transform: translate(-50%, -50%); |
| 29 | + } |
| 30 | + |
| 31 | + .pydata_informations { |
| 32 | + text-align: center; |
| 33 | + color:var(--ifm-color-primary-p2); |
| 34 | + font-size: 12px; |
| 35 | + font-weight: 600; |
| 36 | + position: absolute; |
| 37 | + top: 60%; |
| 38 | + left: 50%; |
| 39 | + transform: translate(-50%, -50%); |
| 40 | + } |
| 41 | +} |
| 42 | + |
| 43 | +@media only screen and (min-width: 530px) and (max-width: 996px) { |
13 | 44 | /*Mobile*/ |
14 | 45 | .logos_carousel { |
15 | 46 | display: none; |
16 | 47 | } |
17 | 48 |
|
18 | 49 | .pydata_header { |
19 | 50 | text-align: center; |
20 | | - color: var(--ifm-color-primary-p1); |
21 | | - font-size: 1em; |
| 51 | + color: var(--ifm-color-blue-jupyter); |
| 52 | + font-family: var(--ifm-font-family-bebas-neue); |
| 53 | + font-size: var(--ifm-font-size-medium); |
| 54 | + font-weight: 600; |
22 | 55 | position: absolute; |
23 | 56 | top: 40%; |
24 | 57 | left: 50%; |
|
27 | 60 |
|
28 | 61 | .pydata_informations { |
29 | 62 | text-align: center; |
30 | | - color: white; |
31 | | - font-size: 0.75em; |
| 63 | + color: var(--ifm-color-primary-p2); |
| 64 | + font-size: var(--ifm-font-size-small); |
| 65 | + font-weight: 600; |
32 | 66 | position: absolute; |
33 | 67 | top: 70%; |
34 | 68 | left: 50%; |
35 | 69 | transform: translate(-50%, -50%); |
36 | 70 | } |
37 | | - |
38 | | - a { |
39 | | - color: var(--ifm-color-primary-p1); |
40 | | - } |
41 | 71 | } |
42 | 72 |
|
43 | 73 | .hero_container { |
|
75 | 105 | /*Desktop*/ |
76 | 106 | .pydata_header { |
77 | 107 | text-align: center; |
78 | | - color: var(--ifm-color-primary-p1); |
79 | | - font-size: 2em; |
| 108 | + color: var(--ifm-color-blue-jupyter); |
| 109 | + font-family: var(--ifm-font-family-bebas-neue); |
| 110 | + font-size: var(--ifm-font-size-large); |
| 111 | + font-weight: 600; |
80 | 112 | position: absolute; |
81 | 113 | top: 40%; |
82 | 114 | left: 50%; |
|
85 | 117 |
|
86 | 118 | .pydata_informations { |
87 | 119 | text-align: center; |
88 | | - color: white; |
89 | | - font-size: 1.5em; |
| 120 | + color: var(--ifm-color-primary-p2); |
| 121 | + font-size: var(--ifm-font-size-medium); |
| 122 | + font-weight: 600; |
90 | 123 | position: absolute; |
91 | 124 | top: 70%; |
92 | 125 | left: 50%; |
93 | 126 | transform: translate(-50%, -50%); |
94 | 127 | } |
95 | 128 |
|
96 | | - a { |
97 | | - color: var(--ifm-color-primary-p1); |
98 | | - } |
99 | 129 | } |
0 commit comments