diff options
| author | WriterV2 <primary-v2@protonmail.com> | 2022-11-05 11:52:51 +0100 |
|---|---|---|
| committer | WriterV2 <primary-v2@protonmail.com> | 2022-11-05 11:52:51 +0100 |
| commit | 329302410f1e49626e53810e42af96ee8a48385d (patch) | |
| tree | ff78bb4e8a6a793ef25bd2d3dbad875ced96fc44 /docs/style.css | |
| parent | 69336e9c603608e27cc4458d664839f038233a00 (diff) | |
Add separate works div
Diffstat (limited to 'docs/style.css')
| -rw-r--r-- | docs/style.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/style.css b/docs/style.css index 2981ad6..e27e7bc 100644 --- a/docs/style.css +++ b/docs/style.css @@ -36,16 +36,18 @@ nav { main { margin: 2em; min-height: calc(100vh - 108.8px - 25.6px - 25.6px); +} +main .works { display: grid; row-gap: 2em; column-gap: 2em; } -main .work-card:nth-child(even) { +main .works .work-card:nth-child(even) { background-position: left; align-items: flex-end; } @media screen and (min-width: 992px) { - main { + main .works { grid-template-columns: 1fr 1fr; } } |
