aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-04-24 16:44:59 +0200
committerGravatar GitHub <[email protected]>2021-04-24 16:44:59 +0200
commit657ef9345a3fe55dc0a5443d2a89a0874a6302d3 (patch)
tree098b7572e2b380b7f57ae7eedb180fa0b70edc8e /pydis_site/static/css
parentPagination: Use REPL style examples (diff)
parentMerge pull request #481 from dawnofmidnight/patch-1 (diff)
Merge branch 'main' into limit-infraction-result
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r--pydis_site/static/css/base/base.css8
-rw-r--r--pydis_site/static/css/error_pages.css66
-rw-r--r--pydis_site/static/css/home/index.css14
3 files changed, 87 insertions, 1 deletions
diff --git a/pydis_site/static/css/base/base.css b/pydis_site/static/css/base/base.css
index b53ff5d4..a1d325f9 100644
--- a/pydis_site/static/css/base/base.css
+++ b/pydis_site/static/css/base/base.css
@@ -69,6 +69,14 @@ main.site-content {
background-color: transparent;
}
+#linode-logo {
+ padding-left: 15px;
+ background: url(https://www.linode.com/wp-content/uploads/2021/01/Linode-Logo-Black.svg) no-repeat center;
+ filter: invert(1) grayscale(1);
+ background-size: 60px;
+ color: #00000000;
+}
+
#django-logo {
padding-bottom: 2px;
background: url(https://static.djangoproject.com/img/logos/django-logo-negative.png) no-repeat center;
diff --git a/pydis_site/static/css/error_pages.css b/pydis_site/static/css/error_pages.css
new file mode 100644
index 00000000..ee41fa5c
--- /dev/null
+++ b/pydis_site/static/css/error_pages.css
@@ -0,0 +1,66 @@
+html {
+ height: 100%;
+}
+
+body {
+ background-color: #7289DA;
+ background-image: url("https://raw.githubusercontent.com/python-discord/branding/main/logos/banner_pattern/banner_pattern.svg");
+ background-size: 128px;
+ font-family: "Hind", "Helvetica", "Arial", sans-serif;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+}
+
+h1,
+p {
+ color: black;
+ padding: 0;
+ margin: 0;
+ margin-bottom: 10px;
+}
+
+h1 {
+ margin-bottom: 15px;
+ font-size: 26px;
+}
+
+p,
+li {
+ line-height: 125%;
+}
+
+a {
+ color: #7289DA;
+}
+
+ul {
+ margin-bottom: 0;
+}
+
+li {
+ margin-top: 10px;
+}
+
+.error-box {
+ display: flex;
+ flex-direction: column;
+ max-width: 512px;
+ background-color: white;
+ border-radius: 20px;
+ overflow: hidden;
+ box-shadow: 5px 7px 40px rgba(0, 0, 0, 0.432);
+}
+
+.logo-box {
+ display: flex;
+ justify-content: center;
+ height: 80px;
+ padding: 15px;
+ background-color: #758ad4;
+}
+
+.content-box {
+ padding: 25px;
+}
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 58ca8888..ee6f6e4c 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -45,6 +45,10 @@ h1 {
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
+#wave-hero-centered {
+ margin: auto auto;
+}
+
#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);
@@ -206,9 +210,17 @@ h1 {
#sponsors .hero-body {
padding-top: 2rem;
padding-bottom: 3rem;
+
+ text-align: center;
+}
+
+#sponsors .columns {
+ justify-content: center;
+ margin: auto;
+ max-width: 80%;
}
#sponsors img {
height: 5rem;
- margin-right: 2rem;
+ margin: auto 1rem;
}