aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-04-11 23:51:02 +0200
committerGravatar Leon Sandøy <[email protected]>2019-04-11 23:51:02 +0200
commit6ede600cefd9ff249e0a087a96b8e0fde50a5657 (patch)
tree661b17234bbd08b7ec3a00281c3816f72e9cec12 /pydis_site/static/css
parentMake the pipeline green as grass. (diff)
New landing page. Not quite done yet. This probably should've been more than one commit.
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r--pydis_site/static/css/base/base.css20
-rw-r--r--pydis_site/static/css/home/index.css31
2 files changed, 51 insertions, 0 deletions
diff --git a/pydis_site/static/css/base/base.css b/pydis_site/static/css/base/base.css
new file mode 100644
index 00000000..5949725d
--- /dev/null
+++ b/pydis_site/static/css/base/base.css
@@ -0,0 +1,20 @@
+#django-logo {
+ height: 20px;
+ background: url(https://static.djangoproject.com/img/logos/django-logo-negative.png) no-repeat center;
+ filter: grayscale(1) invert(0.04);
+ background-size: 50px;
+ background-position: 0 0;
+ color: #00000000;
+}
+
+#bulma-logo {
+ padding-left: 18px;
+ height: 20px;
+ background: url(https://bulma.io/images/bulma-logo-white.png) no-repeat center;
+ background-size: 60px;
+ color: #00000000;
+}
+
+#pydis-text {
+ font-weight: bold;
+}
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 2d744915..2ead1a12 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -16,3 +16,34 @@
height: 5rem;
margin-right: 2rem;
}
+
+
+.navbar-item.is-large img {
+ max-height: 3rem;
+}
+
+.navbar-item.is-fullsize {
+ padding:0;
+}
+
+.navbar-item.is-fullsize img {
+ max-height: 4.75rem;
+}
+
+.navbar-item.has-no-highlight:hover {
+ background-color: transparent;
+}
+
+.navbar-item.has-left-margin-1 {
+ margin-left: 1rem;
+}
+
+.navbar-item.has-left-margin-2 {
+ margin-left: 2rem;
+}
+
+.navbar-item.has-left-margin-3 {
+ margin-left: 3rem;
+}
+
+