Skip to content

Commit c7aa6b5

Browse files
committed
Html clean up
1 parent 1c855f6 commit c7aa6b5

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from toonkit import app
22

33
if __name__ == '__main__':
4-
app.run(debug=True)
4+
app.run(debug=True, host='100.115.92.197')

toonkit/static/css/zach.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ body {
1515
background:#fafafa;
1616
}
1717

18+
.my-container {
19+
display: flex;
20+
justify-content: center;
21+
}
22+
1823
h1 {
1924
font-family: 'Architects Daughter', cursive;
2025
}
@@ -75,13 +80,14 @@ header div img {
7580
}
7681

7782
.main-content {
83+
max-width: 1150px;
7884
position: relative;
7985
margin: 5%;
8086
overflow:hidden;
81-
padding-top: 2%;
82-
padding-left: 5%;
87+
padding: 3%;
88+
/*padding-left: 5%;
8389
padding-right: 5%;
84-
padding-bottom: 5%;
90+
padding-bottom: 5%;*/
8591
border-radius: 20px;
8692
box-shadow: 0px 0px 20px 2px lightgrey;
8793
background: #fdfdfd;

toonkit/templates/layout.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,10 @@
9292
</header>
9393
{% endblock header %}
9494

95+
<div class="my-container">
9596
{% block content %}
9697
{% endblock content %}
98+
</div>
9799

98100
{% endblock body %}
99101

toonkit/templates/staff.html

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% endblock head %}
66

77
{% block content %}
8-
<div class="main-content">
8+
<div id="main" class="main-content">
99
<h1>Toonkit Contributors</h1>
1010
<!-- Vice -->
1111
<div class="contributor">
@@ -33,26 +33,25 @@ <h2>Founder, Web Development / Backend</h2>
3333
<div class="main-content">
3434
<h1>Contributor - Zach</h1>
3535
<h2>Pythonista / Backend / Web Development</h2>
36-
<p><b>Zach</b>, also known as zzzachzzz, is a contributor of Toonkit.und Discord as Bin#7773, is a founder of Toonkit. His main interests are software development, game design, cybersecurity, and cryptography. His primary language is English, born in the United States. He prefers to </p>
36+
<p><b>Zach</b>, also known as zzzachzzz, is a contributor of Toonkit.</p>
3737
<a href="https://github.com/zzzachzzz"><i class="fab fa-github fa-1.5x" style="color:black"></i></a>
3838
</div>
3939
</div>
4040
</div>
4141

4242
<style>
43+
#main {
44+
padding-top: 2%;
45+
padding-left: 0%;
46+
padding-right: 0%;
47+
}
4348
.contributor {
44-
45-
display: inline-block;
46-
/*flex-direction: row;
49+
display: flex;
50+
flex-direction: row;
4751
align-items: center;
4852
justify-content: center;
49-
height: 100%;*/
50-
height: 100%;
51-
/*position: relative;*/
52-
overflow: hidden;
5353
}
5454
.contributor div {
55-
float: right;
5655
width: 68%;
5756
margin: 2%;
5857
}
@@ -61,8 +60,6 @@ <h2>Pythonista / Backend / Web Development</h2>
6160
display: inline-block;
6261
width: 200px;
6362
height: 200px;
64-
float: left;
65-
/*transform: translateY(25%);*/
6663
}
6764
</style>
6865
{% endblock content %}

0 commit comments

Comments
 (0)