diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2024-02-02 23:25:31 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2024-02-02 23:30:29 -0500 |
| commit | c7264e3ace8a6b1e22420702f00296a4bdadb6da (patch) | |
| tree | 1a157a968bea7e24fc708a22e933e8ea7ce01f1f /src/styles | |
| parent | 2c2bdccd645cafd26318c2f2659242f046b61daf (diff) | |
| download | personal-website-c7264e3ace8a6b1e22420702f00296a4bdadb6da.tar.gz personal-website-c7264e3ace8a6b1e22420702f00296a4bdadb6da.tar.bz2 personal-website-c7264e3ace8a6b1e22420702f00296a4bdadb6da.zip | |
Tags; More changes on blog
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/cards.css | 24 | ||||
| -rw-r--r-- | src/styles/index.css | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/styles/cards.css b/src/styles/cards.css new file mode 100644 index 0000000..192335d --- /dev/null +++ b/src/styles/cards.css @@ -0,0 +1,24 @@ +h1 { + margin-top: 2px; + margin-bottom: 2px; +} + +article { + background-color: #3B513B; + padding: 1.2em; + border-radius: 20px; + gap: 0.5em; + margin: 0.5em; +} + +main { + display: grid; + grid-template-columns: repeat(2, 1fr); +} + +/* Mobile view */ +@media (max-width: 992px) { + main { + grid-template-columns: 1fr; + } +} diff --git a/src/styles/index.css b/src/styles/index.css index 327b6aa..1b5a8ca 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -57,6 +57,10 @@ grid-row: 1 / span 2; } +.blog-title { + margin-bottom: 2px; +} + /* Mobile view */ @media (max-width: 992px) { .social { |
