aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2020-10-22 15:50:58 +1000
committerGravatar scragly <[email protected]>2020-10-22 15:50:58 +1000
commit6437abed32c35b5c3de365b7af2cedf9b4adea42 (patch)
tree560cbaa597e6afa6b82db0947ff786fa779a44b8 /pydis_site
parentAdd a message section to replace hero section for mobiles. (diff)
Override notice bottom margin, use new class instead of bulma class.
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/static/css/home/index.css3
-rw-r--r--pydis_site/templates/home/index.html2
2 files changed, 3 insertions, 2 deletions
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 18f2d1aa..cb79a6e6 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -186,6 +186,7 @@ span.repo-language-dot.javascript {
transform: scale(1.5);
}
-.message {
+.notice {
margin: 5px;
+ margin-bottom: -10px!important;
}
diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html
index fbdd942d..24806399 100644
--- a/pydis_site/templates/home/index.html
+++ b/pydis_site/templates/home/index.html
@@ -9,7 +9,7 @@
{% block content %}
{% include "base/navbar.html" %}
- <article class="message is-primary is-hidden-tablet">
+ <article class="message is-primary is-hidden-tablet notice">
<div class="message-header">
<p>100K Member Milestone!</p>
</div>