diff --git a/Dockerfile b/Dockerfile index 0780da0..2e6b44d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,7 @@ FROM python:3 ADD main.py / ADD requirements.txt / ADD templates /templates +ADD static /static VOLUME /download/ @@ -10,4 +11,4 @@ RUN pip install manga-py -CMD ["python", "./main.py"] \ No newline at end of file +CMD ["python", "./main.py"] diff --git a/static/style.css b/static/style.css index 1847971..6c68ed7 100644 --- a/static/style.css +++ b/static/style.css @@ -6,13 +6,37 @@ text-decoration: none; font-size: 16px } -body{ - background: white; +.grid-container{ + display: grid; + grid-template-columns: auto auto auto auto; + grid-template-rows: auto auto auto auto; + grid-gap: 10px; + // background-color: #2196F3; + padding: 10px; } -.wrapper{ - display: block; +.grid-container > div { + // background-color: rgba(255,255,0.9); + text-align: center; + padding: 20px 0; + fonrt-size: 30px; } - -.main { - float:right +.header{ + grid-column-start: 2; + grid-column-end: 4; +} +.nav{ + grid-column:1; + border-style: dotted; +} +ul{ + list-style: none; + text-align:left; + padding-left:2px; +} +.main{ + grid-column-start: 2; + grid-column-end: 4; + grid-row-start: 2; + grid-row-end: 4; + background-color: rgba(255,255,0,0.9); } diff --git a/templates/index.html b/templates/index.html index ffa5288..c63c2e0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -6,21 +6,18 @@