aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r--pydis_site/static/css/base/notification.css99
-rw-r--r--pydis_site/static/css/resources/resources.css29
2 files changed, 29 insertions, 99 deletions
diff --git a/pydis_site/static/css/base/notification.css b/pydis_site/static/css/base/notification.css
deleted file mode 100644
index b2824641..00000000
--- a/pydis_site/static/css/base/notification.css
+++ /dev/null
@@ -1,99 +0,0 @@
-/* On-page message styling */
-
-@keyframes message-slide-in {
- 0% {
- transform: translateX(100%);
- }
-
- 100% {
- transform: translateX(0);
- }
-}
-
-div.messages {
- animation: 0.5s ease-out 0s 1 message-slide-in;
- padding: 0.5rem;
- position: fixed;
- right: 0;
- top: 76px;
-
- z-index: 1000; /* On top of everything else */
-}
-
-/* Discord light theme inspired notifications */
-
-.messages .notification {
- background-color: #fdfdfd; /* Discord embed background */
- border: #eeeeee 1px solid; /* Discord embed border */
- border-left: #4f545c 4px solid; /* Discord default embed colour */
- color: #4a4a4a; /* Bulma default colour */
-}
-
-.messages .notification.is-primary {
- background-color: #fdfdfd;
- border-left-color: #7289DA;
- color: #4a4a4a; /* Bulma default colour */
-}
-
-.messages .notification.is-info {
- background-color: #fdfdfd;
- border-left-color: #1c8ad3; /* Bulma default colour */
- color: #4a4a4a; /* Bulma default colour */
-}
-
-.messages .notification.is-success {
- background-color: #fdfdfd;
- border-left-color: #21c65c;
- color: #4a4a4a; /* Bulma default colour */
-}
-
-.messages .notification.is-warning {
- background-color: #fdfdfd;
- border-left-color: #ffdd57; /* Bulma default colour */
- color: #4a4a4a; /* Bulma default colour */
-}
-
-.messages .notification.is-danger {
- background-color: #fdfdfd;
- border-left-color: #ff3860; /* Bulma default colour */
- color: #4a4a4a; /* Bulma default colour */
-}
-
-/* Discord dark theme inspired notifications */
-
-.messages .notification.is-dark {
- background-color: #33353C; /* Discord embed background */
- border: #36393f 1px solid; /* Discord embed border */
- border-left: #4f545c 4px solid; /* Discord default embed colour */
- color: #fff; /* Bulma default colour */
-}
-
-.messages .notification.is-dark.is-primary {
- background-color: #33353C;
- border-left-color: #7289DA;
- color: #fff; /* Bulma default colour */
-}
-
-.messages .notification.is-dark.is-info {
- background-color: #33353C;
- border-left-color: #1c8ad3; /* Bulma default colour */
- color: #fff; /* Bulma default colour */
-}
-
-.messages .notification.is-dark.is-success {
- background-color: #33353C;
- border-left-color: #21c65c;
- color: #fff; /* Bulma default colour */
-}
-
-.messages .notification.is-dark.is-warning {
- background-color: #33353C;
- border-left-color: #ffdd57; /* Bulma default colour */
- color: #fff; /* Bulma default colour */
-}
-
-.messages .notification.is-dark.is-danger {
- background-color: #33353C;
- border-left-color: #ff3860; /* Bulma default colour */
- color: #fff; /* Bulma default colour */
-}
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%);
+}