diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 22:49:17 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-11-09 22:49:17 +0100 |
| commit | 892858567f0b5bc8719801bacd1e81d4334c2c7e (patch) | |
| tree | f34d01b0ee1d27461f7f130fb287fe7a21c69619 /scss/main.scss | |
| parent | f616d8f24e96c3f400d47a9f0ecc2af70d4694d4 (diff) | |
feat(style): simple card
Diffstat (limited to 'scss/main.scss')
| -rw-r--r-- | scss/main.scss | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/scss/main.scss b/scss/main.scss new file mode 100644 index 0000000..60a3a90 --- /dev/null +++ b/scss/main.scss @@ -0,0 +1,74 @@ +@use "../node_modules/reset-css/reset.css"; + +body { + height: 100vh; + display: flex; + align-items: center; + justify-content: center; + font-size: 18px; +} + +main { + width: 50%; + background: mediumpurple; + padding: 2rem; + border-radius: 32px; + box-shadow: 0px 0px 70px 2px rgba(0,0,0,0.75); +} + +h1 { + font-size: 3rem; +} + +h2 { + font-size: 2rem; +} + +.presentation { + position: relative; + display: flex; + align-items: center; + gap: 2rem; + margin-bottom: 2rem; + + &__information { + display: flex; + //width: 100%; + margin-right: 1rem; + flex-direction: column; + align-items: center; + justify-content: center; + gap: 0.5rem; + } + & figure { + display: inline; + & img { + height: 128px; + border-radius: 32px; + box-shadow: 0px 0px 50px -20px rgba(0,0,0,0.75); + } + } + & h2, p { + display: inline; + } +} + +.links { + display: flex; + margin-top: 2rem; + width: 100%; + gap: 1rem; + & .link { + display: block; + background: purple; + width: 33%; + padding: 1em; + border-radius: 16px; + } + & a { + display: block; + color: black; + text-decoration: none; + text-align: center; + } +} |
