microsoft/hve-core
Publicmirrored fromhttps://github.com/microsoft/hve-coreAvailable
docs/docusaurus/src/components/HeroSection/styles.module.css
37lines · modecode
| 1 | .hero { |
| 2 | background: var(--ms-learn-hero-gradient); |
| 3 | position: relative; |
| 4 | padding: 0 24px; |
| 5 | overflow: hidden; |
| 6 | } |
| 7 | |
| 8 | .heroPattern { |
| 9 | position: absolute; |
| 10 | inset: 0; |
| 11 | background-image: var(--ms-learn-hero-pattern); |
| 12 | background-repeat: repeat; |
| 13 | background-size: 50px; |
| 14 | pointer-events: none; |
| 15 | } |
| 16 | |
| 17 | .heroContent { |
| 18 | position: relative; |
| 19 | max-width: 800px; |
| 20 | padding: 32px 48px 32px 0; |
| 21 | z-index: 1; |
| 22 | } |
| 23 | |
| 24 | .heroTitle { |
| 25 | color: var(--ms-learn-hero-text); |
| 26 | font-size: 40px; |
| 27 | font-weight: 600; |
| 28 | line-height: 45px; |
| 29 | margin: 0 0 24px; |
| 30 | } |
| 31 | |
| 32 | .heroSubtitle { |
| 33 | color: var(--ms-learn-hero-text); |
| 34 | font-size: 16px; |
| 35 | line-height: 25.6px; |
| 36 | margin: 0; |
| 37 | } |
| 38 | |