Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
justinreyes_reading
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
Justin Reyes
justinreyes_reading
Commits
4072dc6d
Commit
4072dc6d
authored
Mar 27, 2023
by
justin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented and added basic CSS styling added as static file
parent
215eac48
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
2 deletions
+47
-2
home.html
justinreyes_reading/bookshelf/templates/bookshelf/home.html
+3
-1
settings.py
justinreyes_reading/justinreyes_reading/settings.py
+1
-0
style.css
justinreyes_reading/static/css/style.css
+41
-0
base.html
justinreyes_reading/templates/base.html
+2
-1
No files found.
justinreyes_reading/bookshelf/templates/bookshelf/home.html
View file @
4072dc6d
{% extends 'base.html' %} {% block content %}
{% extends 'base.html' %}
{% block content %}
<h1>
Welcome to Justin's Database of Favorite Books and Authors!
</h1>
<h1>
Welcome to Justin's Database of Favorite Books and Authors!
</h1>
<p>
<p>
I love all types of books, and most of the ones I read are just
I love all types of books, and most of the ones I read are just
...
...
justinreyes_reading/justinreyes_reading/settings.py
View file @
4072dc6d
...
@@ -118,6 +118,7 @@ USE_TZ = True
...
@@ -118,6 +118,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.1/howto/static-files/
# https://docs.djangoproject.com/en/4.1/howto/static-files/
STATIC_URL
=
"static/"
STATIC_URL
=
"static/"
STATICFILES_DIRS
=
BASE_DIR
,
"static"
# Default primary key field type
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
...
...
justinreyes_reading/static/css/style.css
0 → 100644
View file @
4072dc6d
@import
url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;1,300&display=swap")
;
body
{
background-color
:
#494d64
;
color
:
#f5bde6
;
font-family
:
"Nunito"
,
sans-serif
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
height
:
100vh
;
width
:
100vw
;
}
.footer
{
position
:
fixed
;
bottom
:
0
;
left
:
0
;
right
:
0
;
height
:
4rem
;
background
:
#1f2937
;
display
:
flex
;
color
:
white
;
justify-content
:
space-between
;
padding
:
0px
200px
;
align-items
:
center
;
list-style-type
:
none
;
}
.more-details
>
li
{
list-style-type
:
none
;
}
a
{
color
:
#91d7e3
;
text-decoration
:
none
;
transition
:
font-size
0.25s
ease
;
}
a
:hover
{
font-size
:
1.2rem
;
}
justinreyes_reading/templates/base.html
View file @
4072dc6d
{% load static %}
<html
lang=
"en"
>
<html
lang=
"en"
>
<head>
<head>
<link
rel=
"stylesheet"
href=
"
style.css
"
/>
<link
rel=
"stylesheet"
href=
"
{% static 'css/style.css' %}
"
/>
<title>
<title>
{% block title %} My Favorite Books and Authors {% endblock %}
{% block title %} My Favorite Books and Authors {% endblock %}
</title>
</title>
...
...
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