diff --git a/src/colab/custom_settings.py b/src/colab/custom_settings.py index 504ecd1..1560c5a 100644 --- a/src/colab/custom_settings.py +++ b/src/colab/custom_settings.py @@ -1,6 +1,11 @@ from settings import * from django.utils.translation import ugettext_lazy as _ +# Allow Django runserver to serve SVG files +# https://code.djangoproject.com/ticket/20162 +import mimetypes +mimetypes.add_type('image/svg+xml', '.svg') + DEBUG = False TEMPLATE_DEBUG = False diff --git a/src/static/css/screen.css b/src/static/css/screen.css index 627433f..dc9cf89 100644 --- a/src/static/css/screen.css +++ b/src/static/css/screen.css @@ -24,6 +24,10 @@ li hr { margin-left: 10px; } +.navbar-brand img { + height: 40px; +} + #user-menu .wrapper { padding: 3px 10px; white-space: nowrap; diff --git a/src/static/img/logo.png b/src/static/img/logo.png deleted file mode 100644 index a5a49ce..0000000 Binary files a/src/static/img/logo.png and /dev/null differ diff --git a/src/static/img/logo.svg b/src/static/img/logo.svg new file mode 100644 index 0000000..cd22010 --- /dev/null +++ b/src/static/img/logo.svg @@ -0,0 +1,64 @@ + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/src/static/img/logo_nav.png b/src/static/img/logo_nav.png deleted file mode 100644 index 31fdc9f..0000000 Binary files a/src/static/img/logo_nav.png and /dev/null differ diff --git a/src/static/img/logo_small.png b/src/static/img/logo_small.png deleted file mode 100644 index 7e657ff..0000000 Binary files a/src/static/img/logo_small.png and /dev/null differ diff --git a/src/templates/base.html b/src/templates/base.html index b62de0b..d6dd051 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -58,7 +58,7 @@ - Colab + Colab