|
1 | 1 | import styled from "styled-components"; |
2 | 2 |
|
3 | 3 | export const ProgramsWrapper = styled.div` |
4 | | - a { |
5 | | - color: ${props => props.theme.keppelColor}; |
6 | | - overflow-wrap: break-word; |
7 | | - } |
8 | | - img{ |
9 | | - width: 19vw; |
10 | | - float: right; |
11 | | - margin-left: 40px; |
12 | | - margin-bottom: 30px; |
13 | | - &.hacktoberfest-img { |
14 | | - width: 50%; |
| 4 | + a { |
| 5 | + color: ${(props) => props.theme.keppelColor}; |
| 6 | + overflow-wrap: break-word; |
| 7 | + } |
| 8 | + img { |
| 9 | + width: 19vw; |
| 10 | + float: right; |
| 11 | + margin-left: 40px; |
| 12 | + margin-bottom: 30px; |
| 13 | + &.hacktoberfest-img { |
| 14 | + width: 50%; |
15 | 15 |
|
16 | | - @media only screen and (max-width: 768px) { |
17 | | - width: 27vw; |
18 | | - } |
19 | | - } |
20 | | - @media only screen and (max-width:572px) { |
21 | | - display: block; |
22 | | - float: none; |
23 | | - width: 35vw; |
24 | | - margin: 0 auto 40px auto; |
25 | | - &.hacktoberfest-img { |
26 | | - width: 50vw; |
27 | | - } |
28 | | - } |
| 16 | + @media only screen and (max-width: 768px) { |
| 17 | + width: 27vw; |
| 18 | + } |
29 | 19 | } |
30 | | -
|
31 | | - .flex-div{ |
32 | | - flex-grow: 0.25; |
| 20 | + @media only screen and (max-width: 572px) { |
| 21 | + display: block; |
| 22 | + float: none; |
| 23 | + width: 35vw; |
| 24 | + margin: 0 auto 40px auto; |
| 25 | + &.hacktoberfest-img { |
| 26 | + width: 50vw; |
| 27 | + } |
33 | 28 | } |
| 29 | + } |
| 30 | +
|
| 31 | + .flex-div { |
| 32 | + flex-grow: 0.25; |
| 33 | + } |
34 | 34 |
|
35 | | - .iframe-container { |
36 | | - position: relative; |
37 | | - float: right; |
| 35 | + .iframe-container { |
| 36 | + position: relative; |
| 37 | + float: right; |
38 | 38 |
|
39 | | - @media only screen and (max-width:572px){ |
40 | | - float:none; |
41 | | - margin-left: 0px; |
42 | | - overflow: hidden; |
| 39 | + @media only screen and (max-width: 572px) { |
| 40 | + float: none; |
| 41 | + margin-left: 0px; |
| 42 | + overflow: hidden; |
43 | 43 |
|
44 | | - iframe{ |
45 | | - border: 0; |
46 | | - height: 100%; |
47 | | - width: 100%; |
48 | | - left:0; |
49 | | - top:0; |
50 | | - } |
51 | | - } |
| 44 | + iframe { |
| 45 | + border: 0; |
| 46 | + height: 100%; |
| 47 | + width: 100%; |
| 48 | + left: 0; |
| 49 | + top: 0; |
| 50 | + } |
52 | 51 | } |
| 52 | + } |
53 | 53 |
|
54 | | - .apply-button{ |
55 | | - position: relative; |
56 | | - text-align: center; |
57 | | - vertical-align: bottom; |
58 | | - } |
59 | | - .gsod-table-container{ |
60 | | - overflow-x: auto; |
61 | | - } |
62 | | - .mlh_logo{ |
63 | | - width: 19vw; |
64 | | - float: right; |
65 | | - margin-left: 40px; |
66 | | - margin-bottom: 30px; |
67 | | - .mlh_svg__cls-1 { |
68 | | - transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
69 | | - fill: ${props => props.theme.whiteToBlack}; |
70 | | - } |
71 | | - @media only screen and (max-width:572px) { |
72 | | - display: block; |
73 | | - float: none; |
74 | | - width: 35vw; |
75 | | - margin: 0 auto 40px auto; |
76 | | - } |
| 54 | + .apply-button { |
| 55 | + position: relative; |
| 56 | + text-align: center; |
| 57 | + vertical-align: bottom; |
| 58 | + } |
| 59 | + .gsod-table-container { |
| 60 | + overflow-x: auto; |
| 61 | + } |
| 62 | + .mlh_logo { |
| 63 | + width: 19vw; |
| 64 | + float: right; |
| 65 | + margin-left: 40px; |
| 66 | + margin-bottom: 30px; |
| 67 | + .mlh_svg__cls-1 { |
| 68 | + transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
| 69 | + fill: ${(props) => props.theme.whiteToBlack}; |
| 70 | + } |
| 71 | + @media only screen and (max-width: 572px) { |
| 72 | + display: block; |
| 73 | + float: none; |
| 74 | + width: 35vw; |
| 75 | + margin: 0 auto 40px auto; |
77 | 76 | } |
| 77 | + } |
78 | 78 |
|
79 | | - .sca_logo{ |
80 | | - width: 19vw; |
81 | | - float: right; |
82 | | - margin-left: 40px; |
83 | | - margin-bottom: 30px; |
84 | | - .sca_svg__fil0, .sca_svg__fil6 { |
85 | | - transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
86 | | - fill: ${props => props.theme.whiteToBlack}; |
87 | | - } |
88 | | - @media only screen and (max-width:572px) { |
89 | | - display: block; |
90 | | - float: none; |
91 | | - width: 35vw; |
92 | | - margin: 0 auto 40px auto; |
93 | | - } |
94 | | - } |
95 | | - .lfx_logo{ |
96 | | - width: 19vw; |
97 | | - float: right; |
98 | | - margin-left: 40px; |
99 | | - margin-bottom: 30px; |
100 | | - .lfx-white_svg__b{ |
101 | | - transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
102 | | - fill: ${props => props.theme.whiteToBlue003764}; |
103 | | - } |
104 | | - .lfx-white_svg__c{ |
105 | | - transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
106 | | - fill: ${props => props.theme.whiteToBlue0096d6}; |
107 | | - } |
108 | | - @media only screen and (max-width:572px) { |
109 | | - display: block; |
110 | | - float: none; |
111 | | - width: 35vw; |
112 | | - margin: 0 auto 40px auto; |
113 | | - } |
114 | | - } |
115 | | - .lfx-timeline_terms{ |
116 | | - list-style:none; |
117 | | - } |
118 | | - .tutorials-table { |
119 | | - border-spacing: 0; |
120 | | - th { |
121 | | - padding: 14px 0 14px 12px; |
122 | | - border-top: 1px solid #e3e3e3; |
123 | | - border-bottom: 1px solid #e3e3e3; |
124 | | - } |
125 | | - td { |
126 | | - padding: 14px 0 14px 12px; |
127 | | - border-bottom: 1px solid #e3e3e3; |
128 | | - } |
129 | | - tbody tr { |
130 | | - transition: .2s ease; |
131 | | - :hover { |
132 | | - background-color: ${props => props.theme.green3C494FToGreyF5F5F5}; |
133 | | - } |
| 79 | + .sca_logo { |
| 80 | + width: 19vw; |
| 81 | + float: right; |
| 82 | + margin-left: 40px; |
| 83 | + margin-bottom: 30px; |
| 84 | + .sca_svg__fil0, |
| 85 | + .sca_svg__fil6 { |
| 86 | + transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
| 87 | + fill: ${(props) => props.theme.whiteToBlack}; |
| 88 | + } |
| 89 | + @media only screen and (max-width: 572px) { |
| 90 | + display: block; |
| 91 | + float: none; |
| 92 | + width: 35vw; |
| 93 | + margin: 0 auto 40px auto; |
| 94 | + } |
| 95 | + } |
| 96 | + .lfx_logo { |
| 97 | + width: 19vw; |
| 98 | + float: right; |
| 99 | + margin-left: 40px; |
| 100 | + margin-bottom: 30px; |
| 101 | + .lfx-white_svg__b { |
| 102 | + transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
| 103 | + fill: ${(props) => props.theme.whiteToBlue003764}; |
| 104 | + } |
| 105 | + .lfx-white_svg__c { |
| 106 | + transition: fill 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); |
| 107 | + fill: ${(props) => props.theme.whiteToBlue0096d6}; |
| 108 | + } |
| 109 | + @media only screen and (max-width: 572px) { |
| 110 | + display: block; |
| 111 | + float: none; |
| 112 | + width: 35vw; |
| 113 | + margin: 0 auto 40px auto; |
| 114 | + } |
| 115 | + } |
| 116 | + .lfx-timeline_terms { |
| 117 | + list-style: none; |
| 118 | + } |
| 119 | + .tutorials-table { |
| 120 | + border-spacing: 0; |
| 121 | + th { |
| 122 | + padding: 14px 0 14px 12px; |
| 123 | + border-top: 1px solid #e3e3e3; |
| 124 | + border-bottom: 1px solid #e3e3e3; |
| 125 | + } |
| 126 | + td { |
| 127 | + padding: 14px 0 14px 12px; |
| 128 | + border-bottom: 1px solid #e3e3e3; |
| 129 | + } |
| 130 | + tbody tr { |
| 131 | + transition: 0.2s ease; |
| 132 | + :hover { |
| 133 | + background-color: ${(props) => props.theme.green3C494FToGreyF5F5F5}; |
| 134 | + } |
| 135 | + } |
| 136 | + } |
| 137 | +
|
| 138 | + /* ── LFX In-page navigation ── */ |
| 139 | + .lfx-on-this-page { |
| 140 | + background: ${(props) => props.theme.green3C494FToGreyF5F5F5}; |
| 141 | + border-left: 4px solid #00b39f; |
| 142 | + border-radius: 6px; |
| 143 | + padding: 1rem 1.5rem; |
| 144 | + margin: 1.5rem 0 2rem 0; |
| 145 | + display: inline-block; |
| 146 | + min-width: 260px; |
| 147 | +
|
| 148 | + strong { |
| 149 | + display: block; |
| 150 | + font-size: 0.85rem; |
| 151 | + text-transform: uppercase; |
| 152 | + letter-spacing: 0.05em; |
| 153 | + margin-bottom: 0.5rem; |
| 154 | + color: #00b39f; |
| 155 | + } |
| 156 | + ul { |
| 157 | + margin: 0; |
| 158 | + padding-left: 1.2rem; |
| 159 | + } |
| 160 | + li { |
| 161 | + margin: 0.3rem 0; |
| 162 | + list-style: disc; |
| 163 | + } |
| 164 | + a { |
| 165 | + color: #00b39f; |
| 166 | + text-decoration: none; |
| 167 | + font-size: 0.95rem; |
| 168 | + &:hover { |
| 169 | + text-decoration: underline; |
| 170 | + } |
| 171 | + } |
| 172 | + } |
134 | 173 |
|
135 | | - } |
| 174 | + /* ── Back to top link ── */ |
| 175 | + .lfx-back-to-top { |
| 176 | + display: inline-block; |
| 177 | + margin: 1.5rem 0 0.5rem 0; |
| 178 | + font-size: 0.85rem; |
| 179 | + color: #00b39f; |
| 180 | + text-decoration: none; |
| 181 | + border: 1px solid #00b39f; |
| 182 | + border-radius: 4px; |
| 183 | + padding: 4px 10px; |
| 184 | + &:hover { |
| 185 | + background: #00b39f; |
| 186 | + color: #fff; |
136 | 187 | } |
| 188 | + } |
137 | 189 | `; |
0 commit comments