Skip to content

Commit 82fbaac

Browse files
committed
Update dependencies.
1 parent 84d9e45 commit 82fbaac

File tree

12 files changed

+226
-117
lines changed

12 files changed

+226
-117
lines changed

.nvm

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20.18.1

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Flask-Assets Tutorial
22

3-
![Python](https://img.shields.io/badge/Python-v3.10-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
3+
![Python](https://img.shields.io/badge/Python-v3.12-blue.svg?logo=python&longCache=true&logoColor=white&colorB=5e81ac&style=flat-square&colorA=4c566a)
44
![Flask](https://img.shields.io/badge/Flask-v3.0.0-blue.svg?longCache=true&logo=flask&style=flat-square&logoColor=white&colorB=5e81ac&colorA=4c566a)
55
![Flask-Assets](https://img.shields.io/badge/Flask--Assets-v2.1.0-blue.svg?longCache=true&logo=flask&style=flat-square&logoColor=white&colorB=5e81ac&colorA=4c566a)
66
![Gunicorn](https://img.shields.io/badge/Gunicorn-v21.2.0-blue.svg?longCache=true&logo=gunicorn&style=flat-square&logoColor=white&colorB=a3be8c&colorA=4c566a)

flask_assets_tutorial/admin/routes.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Routes for logged-in account pages."""
22

33
from flask import Blueprint, render_template
4+
45
from log import LOGGER
56

67
admin_blueprint = Blueprint("admin_blueprint", __name__, template_folder="templates", static_folder="static")

flask_assets_tutorial/main/routes.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Routes for main pages."""
22

33
from flask import Blueprint, render_template
4+
45
from log import LOGGER
56

67
main_blueprint = Blueprint("main_blueprint", __name__, template_folder="templates", static_folder="static")

flask_assets_tutorial/static/dist/css/account.css

+16-9
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ nav {
1111
}
1212
}
1313
nav .nav-wrapper {
14-
max-width: 85vw;
14+
width: 915px;
15+
max-width: 80vw;
1516
display: flex;
1617
justify-content: space-between;
1718
align-items: center;
18-
width: auto;
1919
margin: 0 auto;
2020
}
21-
@media (max-width: 600px) {
21+
@media (max-width: 800px) {
2222
nav .nav-wrapper {
2323
max-width: 90vw;
2424
}
@@ -62,9 +62,15 @@ html .container {
6262
min-height: 100%;
6363
background: white;
6464
margin: 40px auto 0;
65-
padding: 3vw;
65+
padding: 40px;
6666
box-shadow: 0 0 5px #bec6cf;
6767
}
68+
@media (max-width: 800px) {
69+
body .container,
70+
html .container {
71+
width: 100%;
72+
}
73+
}
6874
@media (max-width: 600px) {
6975
body .container,
7076
html .container {
@@ -96,12 +102,13 @@ html .container p {
96102
ul {
97103
list-style: none;
98104
width: 50%;
99-
border: 1px solid #e6e6e6;
105+
border: 1px solid #d0d4d9;
106+
border-radius: 3px;
100107
padding: 10px;
101108
}
102-
@media (max-width: 600px) {
109+
@media (max-width: 800px) {
103110
ul {
104-
width: unset;
111+
width: auto;
105112
}
106113
}
107114
ul li {
@@ -131,14 +138,14 @@ nav {
131138
}
132139
}
133140
nav .nav-wrapper {
141+
width: 915px;
134142
max-width: 85vw;
135143
display: flex;
136144
justify-content: space-between;
137145
align-items: center;
138-
width: auto;
139146
margin: 0 auto;
140147
}
141-
@media (max-width: 600px) {
148+
@media (max-width: 800px) {
142149
nav .nav-wrapper {
143150
max-width: 90vw;
144151
}

flask_assets_tutorial/static/dist/css/landing.css

+16-9
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ nav {
1111
}
1212
}
1313
nav .nav-wrapper {
14-
max-width: 85vw;
14+
width: 915px;
15+
max-width: 80vw;
1516
display: flex;
1617
justify-content: space-between;
1718
align-items: center;
18-
width: auto;
1919
margin: 0 auto;
2020
}
21-
@media (max-width: 600px) {
21+
@media (max-width: 800px) {
2222
nav .nav-wrapper {
2323
max-width: 90vw;
2424
}
@@ -62,9 +62,15 @@ html .container {
6262
min-height: 100%;
6363
background: white;
6464
margin: 40px auto 0;
65-
padding: 3vw;
65+
padding: 40px;
6666
box-shadow: 0 0 5px #bec6cf;
6767
}
68+
@media (max-width: 800px) {
69+
body .container,
70+
html .container {
71+
width: 100%;
72+
}
73+
}
6874
@media (max-width: 600px) {
6975
body .container,
7076
html .container {
@@ -96,12 +102,13 @@ html .container p {
96102
ul {
97103
list-style: none;
98104
width: 50%;
99-
border: 1px solid #e6e6e6;
105+
border: 1px solid #d0d4d9;
106+
border-radius: 3px;
100107
padding: 10px;
101108
}
102-
@media (max-width: 600px) {
109+
@media (max-width: 800px) {
103110
ul {
104-
width: unset;
111+
width: auto;
105112
}
106113
}
107114
ul li {
@@ -131,14 +138,14 @@ nav {
131138
}
132139
}
133140
nav .nav-wrapper {
141+
width: 915px;
134142
max-width: 85vw;
135143
display: flex;
136144
justify-content: space-between;
137145
align-items: center;
138-
width: auto;
139146
margin: 0 auto;
140147
}
141-
@media (max-width: 600px) {
148+
@media (max-width: 800px) {
142149
nav .nav-wrapper {
143150
max-width: 90vw;
144151
}

flask_assets_tutorial/static/src/less/global.less

+9-4
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ html {
1616
min-height: 100%;
1717
background: white;
1818
margin: 40px auto 0;
19-
padding: 3vw;
19+
padding: 40px;
2020
box-shadow: 0 0 5px #bec6cf;
2121

22+
@media(max-width: @tablet-breakpoint) {
23+
width: 100%;
24+
}
25+
2226
@media(max-width: @mobile-breakpoint) {
2327
width: 90vw;
2428
max-width: unset;
@@ -50,10 +54,11 @@ html {
5054
ul {
5155
list-style: none;
5256
width: 50%;
53-
border: 1px solid #e6e6e6;
57+
border: 1px solid #d0d4d9;
58+
border-radius: 3px;
5459
padding: 10px;
55-
@media(max-width: @mobile-breakpoint) {
56-
width: unset;
60+
@media(max-width: @tablet-breakpoint) {
61+
width: auto;
5762
}
5863

5964
li {

flask_assets_tutorial/static/src/less/nav.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ nav {
1111
}
1212

1313
.nav-wrapper {
14+
width: 915px;
1415
max-width: 85vw;
1516
display: flex;
1617
justify-content: space-between;
1718
align-items: center;
18-
width: auto;
1919
margin: 0 auto;
20-
@media(max-width: @mobile-breakpoint) {
20+
@media(max-width: @tablet-breakpoint) {
2121
max-width: 90vw;
2222
}
2323

gunicorn.conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Gunicorn configuration file."""
22

3-
import socket
43
from os import environ, path
54

65
from dotenv import load_dotenv

0 commit comments

Comments
 (0)