|
| 1 | +.learn-container { |
| 2 | + display: flex; |
| 3 | + flex-direction: column; |
| 4 | + padding: 32px; |
| 5 | + border: 1px solid #0000; |
| 6 | + border-radius: 4px; |
| 7 | + background: linear-gradient(white, white) padding-box, |
| 8 | + var(--gradient-brand) border-box; |
| 9 | +} |
| 10 | + |
| 11 | +.learn-content-upper { |
| 12 | + display: flex; |
| 13 | + padding: 0; |
| 14 | + gap: 56px; |
| 15 | +} |
| 16 | + |
| 17 | +.learn-content-lower { |
| 18 | + padding: 8px 0 24px; |
| 19 | +} |
| 20 | + |
| 21 | +.learn-container hr { |
| 22 | + position: static; |
| 23 | + width: 100%; |
| 24 | + height: 1px; |
| 25 | + background: var(--primary-p75); |
| 26 | + border: none; |
| 27 | +} |
| 28 | + |
| 29 | +.learn-container li::before { |
| 30 | + all: unset; |
| 31 | +} |
| 32 | + |
| 33 | +.learn-intro { |
| 34 | + width: 24.188rem; |
| 35 | + height: 100%; |
| 36 | +} |
| 37 | + |
| 38 | +.learn-links { |
| 39 | + padding: 8px 0 24px; |
| 40 | + display: flex; |
| 41 | + flex-direction: column; |
| 42 | + align-items: flex-start; |
| 43 | + flex: 1 0 0; |
| 44 | +} |
| 45 | + |
| 46 | +.publications-releases-faq { |
| 47 | + display: flex; |
| 48 | + justify-content: space-between; |
| 49 | + gap: 1rem; |
| 50 | +} |
| 51 | + |
| 52 | +.learn-chip * { |
| 53 | + color: white; |
| 54 | + margin: 0; |
| 55 | +} |
| 56 | + |
| 57 | +.learn-links > section, |
| 58 | +.publications-releases-faq > section { |
| 59 | + width: 100%; |
| 60 | +} |
| 61 | + |
| 62 | +.learn-links > section > ul, |
| 63 | +.publications-releases-faq > section > ul { |
| 64 | + display: flex; |
| 65 | + flex-direction: column; |
| 66 | + gap: 1rem; |
| 67 | +} |
| 68 | + |
| 69 | +.learn-links > section li, |
| 70 | +.publications-releases-faq > section li { |
| 71 | + border: 1px solid; |
| 72 | + border-color: var(--primary-p75); |
| 73 | + padding: 1rem; |
| 74 | + margin-bottom: 0; |
| 75 | + border-radius: 0.5rem; |
| 76 | + align-items: center; |
| 77 | + color: inherit; |
| 78 | + display: flex; |
| 79 | + justify-content: space-between; |
| 80 | + transition: background 0.5s ease; |
| 81 | +} |
| 82 | + |
| 83 | +.learn-links > section li *, |
| 84 | +.publications-releases-faq > section li * { |
| 85 | + margin-bottom: 0; |
| 86 | +} |
| 87 | + |
| 88 | +.learn-links > section li svg path, |
| 89 | +.publications-releases-faq > section li svg path { |
| 90 | + /* transition: stroke 0.5s ease; */ |
| 91 | + transform: translateX(0); |
| 92 | + transition: transform 0.2s ease; |
| 93 | +} |
| 94 | + |
| 95 | +.publications-footer { |
| 96 | + border-left: 3px solid var(--primary-p-300, #3792ad); |
| 97 | + padding-right: 0.75rem; |
| 98 | + padding-left: 0.75rem; |
| 99 | +} |
| 100 | + |
| 101 | +.prev-releases-footer a { |
| 102 | + border-left: 3px solid var(--primary-p-300, #3792ad); |
| 103 | + padding-right: 0.75rem; |
| 104 | + padding-left: 0.75rem; |
| 105 | + display: block; |
| 106 | +} |
| 107 | + |
| 108 | +.learn-chip { |
| 109 | + background: var(--gradient-purpleblue); |
| 110 | + padding: 0.75rem 1rem; |
| 111 | + border-radius: 4rem; |
| 112 | + text-decoration: none; |
| 113 | + display: flex; |
| 114 | + justify-content: space-between; |
| 115 | + align-items: center; |
| 116 | +} |
| 117 | + |
| 118 | +.learn-chevron { |
| 119 | + width: 1.5rem; |
| 120 | + height: 1.5rem; |
| 121 | +} |
| 122 | + |
| 123 | +.learn-question-mark { |
| 124 | + vertical-align: middle; |
| 125 | +} |
| 126 | + |
| 127 | +.learn-links > section li:hover, |
| 128 | +.publications-releases-faq > section li:hover { |
| 129 | + background-image: var(--gradient-brand); |
| 130 | +} |
| 131 | + |
| 132 | +.learn-links > section li:hover *, |
| 133 | +.publications-releases-faq > section li:hover * { |
| 134 | + color: #fff; |
| 135 | +} |
| 136 | + |
| 137 | +.learn-links > section li:hover svg path, |
| 138 | +.publications-releases-faq > section li:hover svg path { |
| 139 | + stroke: #fff; |
| 140 | + transform: translateX(3px); |
| 141 | +} |
| 142 | + |
| 143 | +@media (width <= 768px) { |
| 144 | + .learn-container { |
| 145 | + padding: 1rem; |
| 146 | + } |
| 147 | + |
| 148 | + .learn-container * { |
| 149 | + font-size: 1rem; |
| 150 | + } |
| 151 | + |
| 152 | + .learn-container * a { |
| 153 | + max-width: 16rem; |
| 154 | + } |
| 155 | + |
| 156 | + .learn-content-upper, |
| 157 | + .publications-releases-faq { |
| 158 | + flex-direction: column; |
| 159 | + gap: 0; |
| 160 | + } |
| 161 | + |
| 162 | + .learn-intro { |
| 163 | + width: 100%; |
| 164 | + } |
| 165 | + |
| 166 | + .learn-chip { |
| 167 | + border-radius: 4px; |
| 168 | + } |
| 169 | + |
| 170 | + .learn-chevron { |
| 171 | + display: none; |
| 172 | + } |
| 173 | +} |
0 commit comments