react-code-dataset / next.js /examples /cms-payload /components /Hero /MediumImpact /index.module.scss
Download next.js/examples/cms-payload/components/Hero/MediumImpact/index.module.scss from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 968 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-payload/components/Hero/MediumImpact/index.module.scss
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/examples/cms-payload/components/Hero/MediumImpact/index.module.scss
-
curl -L -o index.module.scss https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/examples/cms-payload/components/Hero/MediumImpact/index.module.scss
968 Bytes
| @use "../../../css/common.scss" as *; | |
| .hero { | |
| padding-top: calc(var(--base) * 3); | |
| @include mid-break { | |
| padding-top: var(--base); | |
| } | |
| } | |
| .richText { | |
| position: relative; | |
| h1 { | |
| @extend %h2; | |
| } | |
| &::after { | |
| content: ""; | |
| display: block; | |
| position: absolute; | |
| width: 100vw; | |
| left: calc(var(--gutter-h) * -1); | |
| height: 200px; | |
| background: linear-gradient(to bottom, var(--color-base-100), transparent); | |
| top: calc(100% + (var(--base) * 2)); | |
| right: 0; | |
| @include mid-break { | |
| display: none; | |
| } | |
| } | |
| } | |
| .links { | |
| position: relative; | |
| list-style: none; | |
| margin: 0; | |
| padding: 0; | |
| display: flex; | |
| margin-top: calc(var(--base) * 4); | |
| li { | |
| margin-right: 12px; | |
| } | |
| @include mid-break { | |
| display: block; | |
| margin-top: var(--base); | |
| li { | |
| margin-right: 0; | |
| } | |
| } | |
| } | |
| .link { | |
| @include mid-break { | |
| width: 100%; | |
| } | |
| } | |
| .media { | |
| position: relative; | |
| width: calc(100% + var(--gutter-h)); | |
| } | |