aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/content/page.css
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/static/css/content/page.css')
-rw-r--r--pydis_site/static/css/content/page.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css
index d831f86d..239f2809 100644
--- a/pydis_site/static/css/content/page.css
+++ b/pydis_site/static/css/content/page.css
@@ -2,10 +2,29 @@
padding: 1rem;
}
+#edit-on-github {
+ margin-left: 1rem;
+}
+
+@media (max-width: 600px) {
+ #edit-on-github {
+ display: none;
+ }
+}
+
i.has-icon-padding {
padding: 0 10px 25px 0;
}
+.card.github-card {
+ height: 100%;
+ display: flex;
+ flex-direction: column;
+}
+
+.card.github-card .card-content {
+ flex: 1;
+}
/*
* Move padding padding from <pre> tag to hljs <code> tags so the padding
* space is colored the same as the background of hljs <code> blocks.