aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static
diff options
context:
space:
mode:
authorGravatar Jeremiah Boby <[email protected]>2020-10-28 18:14:54 +0000
committerGravatar GitHub <[email protected]>2020-10-28 18:14:54 +0000
commit33e05594f66e1812cda687f26f5297db42505a0d (patch)
tree34557043024a68cf0312d3193303e8d4f495001a /pydis_site/static
parentMerge pull request #407 from python-discord/remove_oauth (diff)
parentChange resources home name from resources -> index (diff)
Merge pull request #395 from ks129/resources-home
Dewikification - Create app for resources + index page of resources
Diffstat (limited to 'pydis_site/static')
-rw-r--r--pydis_site/static/css/resources/resources.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css
new file mode 100644
index 00000000..cf4cb472
--- /dev/null
+++ b/pydis_site/static/css/resources/resources.css
@@ -0,0 +1,29 @@
+.box, .tile.is-parent {
+ transition: 0.1s ease-out;
+}
+.box {
+ min-height: 15vh;
+}
+.tile.is-parent:hover .box {
+ box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
+}
+.tile.is-parent:hover {
+ padding: 0.65rem 0.85rem 0.85rem 0.65rem;
+ filter: saturate(1.1) brightness(1.1);
+}
+
+#readingBlock {
+ background-image: linear-gradient(141deg, #911eb4 0%, #b631de 71%, #cf4bf7 100%);
+}
+
+#interactiveBlock {
+ background-image: linear-gradient(141deg, #d05600 0%, #da722a 71%, #e68846 100%);
+}
+
+#communitiesBlock {
+ background-image: linear-gradient(141deg, #3b756f 0%, #3a847c 71%, #41948b 100%);
+}
+
+#podcastsBlock {
+ background-image: linear-gradient(141deg, #232382 0%, #30309c 71%, #4343ad 100%);
+}