Skip to content

Commit

Permalink
improved readability for projects css
Browse files Browse the repository at this point in the history
  • Loading branch information
Mole1424 committed Sep 4, 2023
1 parent 1297b76 commit d5a226e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from db_schema import Projects, db

dev = False # if true then uses config.txt instead of environment variables
dev = False # if true then uses config.txt to set environment variables
if dev:
with open("config.txt", "r") as f:
for line in f.readlines():
Expand Down
9 changes: 8 additions & 1 deletion static/css/projectpage.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.projectarticle {
max-width: 80vw;
width: 50vw;
margin: auto;
}

Expand All @@ -24,6 +24,7 @@
flex-direction: column;
padding-left: 3vw;
width: 50%;
text-align: justify;
}

.description h1 {
Expand All @@ -32,6 +33,10 @@
margin-top: 1vh;
}

.fullblog p {
text-align: justify;
}

.fullblog a {
color: var(--accent);
text-decoration: none;
Expand Down Expand Up @@ -63,6 +68,7 @@
@media screen and (max-width: 500px) {
.projectarticle {
padding-top: 10vh;
width: 80vw;
}

.imgtitle {
Expand All @@ -72,6 +78,7 @@
.imgtitle img {
max-height: 20vh;
max-width: 100%;
margin: auto;
}

.description {
Expand Down

0 comments on commit d5a226e

Please sign in to comment.