aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/home/index.css
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2022-06-19 19:28:10 +0100
committerGravatar GitHub <[email protected]>2022-06-19 19:28:10 +0100
commitf49d4001f3010b2b636b7562885676b247844d9f (patch)
tree05d1f6c76d84e0a604fa90dc638a03b012997256 /pydis_site/static/css/home/index.css
parentMerge pull request #724 from python-discord/events-css (diff)
parentAdd hover transition to match welcome video. (diff)
Merge pull request #726 from python-discord/frontpage-banners
Diffstat (limited to 'pydis_site/static/css/home/index.css')
-rw-r--r--pydis_site/static/css/home/index.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 7ec8af74..e1d70370 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -49,11 +49,16 @@ h1 {
margin: auto auto;
}
-#wave-hero-right img{
+#wave-hero-right img {
border-radius: 10px;
box-shadow: 0 1px 6px rgba(0,0,0,0.16), 0 1px 6px rgba(0,0,0,0.23);
margin-top: 1em;
text-align: right;
+ transition: all 0.3s cubic-bezier(.25,.8,.25,1);
+}
+
+#wave-hero-right img:hover {
+ box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
#wave-hero .wave {