Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bellapanghulan_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
Ysabella Panghulan
bellapanghulan_reading
Commits
6149869f
Commit
6149869f
authored
Mar 28, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited list style
parent
87f113eb
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
96 additions
and
22 deletions
+96
-22
models.cpython-310.pyc
...ulan_reading/bookshelf/__pycache__/models.cpython-310.pyc
+0
-0
urls.cpython-310.pyc
...ghulan_reading/bookshelf/__pycache__/urls.cpython-310.pyc
+0
-0
authors.html
...ghulan_reading/bookshelf/templates/bookshelf/authors.html
+8
-7
books.html
...anghulan_reading/bookshelf/templates/bookshelf/books.html
+11
-8
home.html
...panghulan_reading/bookshelf/templates/bookshelf/home.html
+2
-2
list_bg.png
bellapanghulan_reading/static/assets/list_bg.png
+0
-0
base.css
bellapanghulan_reading/static/stylesheets/base.css
+7
-5
list.css
bellapanghulan_reading/static/stylesheets/list.css
+68
-0
No files found.
bellapanghulan_reading/bookshelf/__pycache__/models.cpython-310.pyc
View file @
6149869f
No preview for this file type
bellapanghulan_reading/bookshelf/__pycache__/urls.cpython-310.pyc
View file @
6149869f
No preview for this file type
bellapanghulan_reading/bookshelf/templates/bookshelf/authors.html
View file @
6149869f
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/list.css' %}"
>
{% endblock %}
{% block title %} My Favorite Authors {% endblock %}
{% block header %}
...
...
@@ -10,19 +13,17 @@
<div
class=
"authors-content"
>
{% block content %}
<div
class=
"list"
>
<
u
l>
<
o
l>
{% for object in object_list %}
<li>
<a
href=
"{{ object.get_absolute_url }}"
>
{{ object }}
</a>
</li>
{% endfor %}
</
u
l>
</
o
l>
</div>
<div
class=
"links"
>
<ul>
<li><a
href=
"/home/"
>
Home
</a></li>
<li><a
href=
"/books/"
>
Books
</a></li>
</ul>
<a
href=
"/home/"
class=
"btn-primary"
>
Home
</a>
<a
href=
"/books/"
class=
"btn-secondary"
>
Books
</a>
</div>
{% endblock %}
</div>
...
...
bellapanghulan_reading/bookshelf/templates/bookshelf/books.html
View file @
6149869f
{%extends 'base.html'%}
{% block stylesheets %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'stylesheets/list.css' %}"
>
{% endblock %}
{% block title %} My Favorite Books {% endblock %}
...
...
@@ -10,19 +15,17 @@
<div
class=
"books-content"
>
{% block content %}
<div
class=
"list"
>
<
u
l>
<
o
l>
{% for object in object_list %}
<li>
<a
href=
"{{ object.get_absolute_url }}"
>
{{ object.title }}
</a>
</li>
{% endfor %}
</
u
l>
</
o
l>
</div>
<div
class=
"links"
>
<ul>
<li><a
href=
"/home/"
>
Home
</a></li>
<li><a
href=
"/authors/"
>
Authors
</a></li>
</ul>
<a
href=
"/home/"
class=
"btn-primary"
>
Home
</a>
<a
href=
"/authors/"
class=
"btn-secondary"
>
Authors
</a>
</div>
{% endblock %}
</div>
...
...
bellapanghulan_reading/bookshelf/templates/bookshelf/home.html
View file @
6149869f
bellapanghulan_reading/static/assets/list_bg.png
0 → 100644
View file @
6149869f
67.6 KB
bellapanghulan_reading/static/stylesheets/base.css
View file @
6149869f
body
{
padding
:
0.5rem
;
}
.container
{
font-family
:
Verdana
,
Geneva
,
Tahoma
,
sans-serif
;
}
...
...
@@ -13,6 +10,7 @@ header {
h2
{
font-size
:
large
;
}
.btn-primary
{
width
:
max-content
;
display
:
inline-block
;
...
...
@@ -49,6 +47,10 @@ a {
text-decoration
:
none
;
}
a
:visited
{
text-decoration
:
none
;
}
.links
{
display
:
flex
;
margin-top
:
5rem
;
...
...
bellapanghulan_reading/static/stylesheets/list.css
0 → 100644
View file @
6149869f
body
{
background-image
:
url('../assets/list_bg.png')
;
}
.list
{
border-radius
:
0.5rem
;
}
h2
{
padding-left
:
2.5rem
;
padding-bottom
:
1rem
;
font-size
:
xx-large
;
border-bottom
:
1px
solid
white
;
}
ol
{
display
:
grid
;
grid-template-columns
:
1
fr
1
fr
1
fr
1
fr
1
fr
;
column-gap
:
1rem
;
row-gap
:
1rem
;
padding
:
0
;
width
:
80%
;
margin-right
:
auto
;
margin-left
:
auto
;
counter-reset
:
my-counter
;
list-style-type
:
none
;
}
ol
li
::before
{
content
:
counter
(
my-counter
);
counter-increment
:
my-counter
;
content
:
counter
(
my-counter
,
decimal-leading-zero
)
'\A''\A'
;
white-space
:
pre
;
font-size
:
large
;
color
:
#7448F6
;
}
li
{
padding
:
0.80rem
;
cursor
:
pointer
;
transition
:
all
400ms
ease
;
text-align
:
center
;
}
a
{
color
:
inherit
;
text-decoration
:
none
;
}
li
:hover
{
background-color
:
#E9E3FE
;
color
:
#7448F6
;
border-color
:
transparent
;
box-shadow
:
2px
2px
5px
rgba
(
0
,
0
,
0
,
0.3
);
transform
:
translateY
(
-5px
);
}
.book
{
display
:
flex
;
margin-right
:
auto
;
margin-left
:
auto
;
}
@media
only
screen
and
(
max-width
:
780px
)
{
ol
{
display
:
grid
;
grid-template-columns
:
1
fr
;
}
}
\ No newline at end of file
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