From faec65163096a25c5cf791c9af6030c9cb7175f1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 21 Jul 2018 22:46:02 +0200 Subject: [PATCH] Update stuff --- static/nryg.less | 12 +++++++++ templates/base.html | 8 ++++++ templates/errors/400.html | 14 ++++++++++ templates/errors/403.html | 14 ++++++++++ templates/errors/500.html | 20 +++++++++++++++ templates/setcss.html | 2 +- webserver.py | 54 ++++++++++++++++++++++++--------------- 7 files changed, 102 insertions(+), 22 deletions(-) create mode 100644 templates/errors/400.html create mode 100644 templates/errors/403.html create mode 100644 templates/errors/500.html diff --git a/static/nryg.less b/static/nryg.less index e7298c9d..e32338b2 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -169,6 +169,18 @@ nav { } } +@media (min-width:600px) { + .desktop-only { + display: none; + } +} + +@media (max-width:600px) { + .mobile-only { + display: none; + } +} + .osu { font-family: 'Exo 2', 'Helvetica Neue', 'Arial', sans-serif; font-style: italic; diff --git a/templates/base.html b/templates/base.html index 8c2c5fad..40da03f9 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,6 +14,14 @@
Royalnet Home + + {% if session.get('username') is not none %} + Telegram + Discord + Steam + /r/RoyalGames + {% endif %} +