Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Academe
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nathan Kibanoff
Academe
Commits
57cba7a0
Commit
57cba7a0
authored
Oct 24, 2017
by
Gab De Jesus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added static files css
parent
5d0c3bca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
17 deletions
+27
-17
settings.py
academe/settings.py
+8
-0
db.sqlite3
db.sqlite3
+0
-0
main.css
static/css/main.css
+17
-0
base.html
templates/base.html
+2
-17
No files found.
academe/settings.py
View file @
57cba7a0
...
...
@@ -122,3 +122,11 @@ USE_TZ = True
# https://docs.djangoproject.com/en/1.11/howto/static-files/
STATIC_URL
=
'/static/'
STATICFILES_DIRS
=
[
# look for static files in rootdir
os
.
path
.
join
(
BASE_DIR
,
'static'
),
]
# Tells django where to put static files after collectstatic
STATIC_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'staticfiles'
)
\ No newline at end of file
db.sqlite3
View file @
57cba7a0
No preview for this file type
static/css/main.css
0 → 100644
View file @
57cba7a0
table
{
font-family
:
arial
,
sans-serif
;
border-collapse
:
collapse
;
width
:
100%
;
}
td
,
th
{
border
:
1px
solid
#dddddd
;
text-align
:
left
;
padding
:
8px
;
}
tr
:nth-child
(
even
)
{
background-color
:
#dddddd
;
}
\ No newline at end of file
templates/base.html
View file @
57cba7a0
{% load static %}
<!DOCTYPE html>
<html>
<head>
<title>
Academe
</title>
<style>
table
{
font-family
:
arial
,
sans-serif
;
border-collapse
:
collapse
;
width
:
100%
;
}
td
,
th
{
border
:
1px
solid
#dddddd
;
text-align
:
left
;
padding
:
8px
;
}
tr
:nth-child
(
even
)
{
background-color
:
#dddddd
;
}
</style>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'css/main.css' %}"
>
</head>
<body>
<h1><center>
Academe
</center></h1>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment