Fakultas Ilmu Komputer UI

Commit 4254aa2b authored by Muhammad Ilham Peruzzi's avatar Muhammad Ilham Peruzzi
Browse files

add sass configuration

parent 1864e907
body {
.container {
padding: 10%;
}
}
body {
.container {
padding: 10%;
}
}
......@@ -6,6 +6,8 @@
<title>To-Do lists</title>
<link href="/static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/base.css" rel="stylesheet">
<link href="/static/scss/list.scss" rel="stylesheet" type="text/css"/>
<link href="/static/scss/home.scss" rel="stylesheet" type="text/css"/>
</head>
<body>
......
......@@ -41,7 +41,8 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'lists'
'lists',
'sass_processor'
]
MIDDLEWARE = [
......@@ -135,3 +136,10 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
SASS_PROCESSOR_ROOT = os.path.join(PROJECT_DIR, 'static')
STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'sass_processor.finders.CssFinder',
]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment