diff options
author | Doge <[email protected]> | 2021-05-09 17:48:44 +0800 |
---|---|---|
committer | Doge <[email protected]> | 2021-05-09 17:48:44 +0800 |
commit | e17c8354fcc5fdb3e7d66363e0acc79650577af3 (patch) | |
tree | a153c9a381e99f4382b3837b3826f6d960597684 /source/css | |
parent | 33c134891460fcc379dc5d835299a95c4aad0710 (diff) | |
download | chromate-e17c8354fcc5fdb3e7d66363e0acc79650577af3.tar.gz chromate-e17c8354fcc5fdb3e7d66363e0acc79650577af3.tar.bz2 chromate-e17c8354fcc5fdb3e7d66363e0acc79650577af3.zip |
Code enhancement
Diffstat (limited to 'source/css')
-rw-r--r-- | source/css/style.css | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source/css/style.css b/source/css/style.css index 5596590..009e27b 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -22,7 +22,17 @@ pre { } .post-entry { - margin-bottom: 3rem !important; + margin-bottom: 1.5rem !important; + margin-top: 1.5rem !important; + transition: box-shadow 0.1s; +} + +.post-entry:hover { + box-shadow: 0 1em 2em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%); +} + +.post-card { + margin-top: 1.5rem !important; } .pagination-bar { |