Move some utility classes into a shared location
This commit is contained in:
parent
b0aea72c12
commit
a784ddad4f
@ -7,8 +7,6 @@
|
||||
{% block stylesheets %}
|
||||
{{ block.super }}
|
||||
<style>
|
||||
.container { min-height: 60vh; }
|
||||
|
||||
.form-selector {
|
||||
max-width: 50em;
|
||||
margin: auto;
|
||||
@ -50,11 +48,6 @@
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ojuso-red { color: #ea4639; }
|
||||
.ojuso-green { color: #4ac95d; }
|
||||
.ojuso-yellow { color: #f9db3c; }
|
||||
.ojuso-blue { color: #008ad5; }
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
|
8
assets/css/ojuso.css
Normal file
8
assets/css/ojuso.css
Normal file
@ -0,0 +1,8 @@
|
||||
/* Make sure that the footer doesn't have space after it */
|
||||
.container { min-height: 60vh; }
|
||||
|
||||
/* Colour utility classes */
|
||||
.ojuso-red { color: #ea4639; }
|
||||
.ojuso-green { color: #4ac95d; }
|
||||
.ojuso-yellow { color: #f9db3c; }
|
||||
.ojuso-blue { color: #008ad5; }
|
@ -206,6 +206,9 @@ AWS_SECRET_ACCESS_KEY = "pTZAnmtvGzFBdI/jwtwRoFW5eK7eJ8FLFxr1/Jb+Yq4"
|
||||
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
|
||||
STATIC_URL = os.getenv("STATIC_URL", '/static/')
|
||||
STATICFILES_DIRS = [
|
||||
os.path.join(BASE_DIR, "assets")
|
||||
]
|
||||
STATICFILES_FINDERS = [
|
||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||
|
@ -7,10 +7,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans" />
|
||||
<link rel="stylesheet" href="{% static 'map/bootstrap/css/bootstrap.min.css' %}" />
|
||||
<link rel="stylesheet" href="{% static 'map/bootstrap/css/bootstrap-theme.min.css' %}" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous"/>
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans">
|
||||
<link rel="stylesheet" href="{% static 'map/bootstrap/css/bootstrap.min.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'css/ojuso.css' %}">
|
||||
<link rel="stylesheet" href="{% static 'map/bootstrap/css/bootstrap-theme.min.css' %}">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
|
||||
<title>{% block page_title %}Ojuso{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
Loading…
Reference in New Issue
Block a user