diff options
author | xengineering <me@xengineering.eu> | 2021-11-27 14:14:51 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2021-11-27 14:14:51 +0100 |
commit | 0de11573b0a4b81d34e9b5005341e746cb4777f2 (patch) | |
tree | d1a5d7eaae8409b16869a78433a6b3171fdca771 /css | |
parent | 73f855d464c034bb832a3093b38e406ec24767f9 (diff) | |
download | libweb-0de11573b0a4b81d34e9b5005341e746cb4777f2.tar libweb-0de11573b0a4b81d34e9b5005341e746cb4777f2.tar.zst libweb-0de11573b0a4b81d34e9b5005341e746cb4777f2.zip |
Implement .card and footer
Diffstat (limited to 'css')
-rw-r--r-- | css/xengineering.css | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/css/xengineering.css b/css/xengineering.css index a931a02..4a322ed 100644 --- a/css/xengineering.css +++ b/css/xengineering.css @@ -181,6 +181,27 @@ pre { border-radius: 0.5em; } +footer { + height: 3vh; + background-color: rgba(0,0,0,0); +} + +.card { + margin-top: 1vh; + margin-bottom: 1vh; + padding: 1em; + box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); + border-radius: 0.5em; +} + +.card-first-item { + margin-top: 0px; +} + +.card-last-item { + margin-bottom: 0px; +} + /******************************************************************************/ @@ -203,6 +224,10 @@ body { padding-right: 20vw; } +.card:hover { + box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); +} + } /******************************************************************************/ |