Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
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
captainwong
douban-api-proxy
Commits
16cd57fe
Commit
16cd57fe
authored
Feb 16, 2020
by
Ozzieisaacs
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'cover_layout/fix-pull-left-cover-layout'
parents
3f578122
50907194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
style.css
cps/static/css/style.css
+4
-0
user_edit.html
cps/templates/user_edit.html
+1
-1
No files found.
cps/static/css/style.css
View file @
16cd57fe
...
@@ -65,6 +65,10 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
...
@@ -65,6 +65,10 @@ span.glyphicon.glyphicon-tags {padding-right: 5px;color: #999;vertical-align: te
.navbar-default
.navbar-toggle
{
border-color
:
#000
;}
.navbar-default
.navbar-toggle
{
border-color
:
#000
;}
.cover
{
margin-bottom
:
10px
;}
.cover
{
margin-bottom
:
10px
;}
.cover-height
{
max-height
:
100px
;}
.cover-height
{
max-height
:
100px
;}
.col-sm-2
a
.cover-small
{
margin
:
5px
;
max-height
:
200px
;
}
.btn-file
{
position
:
relative
;
overflow
:
hidden
;}
.btn-file
{
position
:
relative
;
overflow
:
hidden
;}
.btn-file
input
[
type
=
file
]
{
position
:
absolute
;
top
:
0
;
right
:
0
;
min-width
:
100%
;
min-height
:
100%
;
font-size
:
100px
;
text-align
:
right
;
filter
:
alpha
(
opacity
=
0
);
opacity
:
0
;
outline
:
none
;
background
:
white
;
cursor
:
inherit
;
display
:
block
;}
.btn-file
input
[
type
=
file
]
{
position
:
absolute
;
top
:
0
;
right
:
0
;
min-width
:
100%
;
min-height
:
100%
;
font-size
:
100px
;
text-align
:
right
;
filter
:
alpha
(
opacity
=
0
);
opacity
:
0
;
outline
:
none
;
background
:
white
;
cursor
:
inherit
;
display
:
block
;}
...
...
cps/templates/user_edit.html
View file @
16cd57fe
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
{% for entry in downloads %}
{% for entry in downloads %}
<div
class=
"col-sm-2"
>
<div
class=
"col-sm-2"
>
<a
class=
"pull-left"
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
>
<a
class=
"pull-left"
href=
"{{ url_for('web.show_book', book_id=entry.id) }}"
>
<img
class=
"media-object
"
width=
"100
"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"..."
>
<img
class=
"media-object
cover-small
"
src=
"{{ url_for('web.get_cover', book_id=entry.id) }}"
alt=
"..."
>
</a>
</a>
</div>
</div>
{% endfor %}
{% endfor %}
...
...
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