diff --git a/.drone.yml b/.drone.yml index d64718d..d40505d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ type: docker steps: - name: lint - image: python:3.10-slim + image: python:3.8-slim commands: - pip install poetry - poetry install diff --git a/divent/__init__.py b/divent/__init__.py deleted file mode 100644 index ed70515..0000000 --- a/divent/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -from .bot import run - -if __name__ == "__main__": - run() diff --git a/divent/static/css/global.css b/divent/static/css/global.css index 199a837..c2820f2 100644 --- a/divent/static/css/global.css +++ b/divent/static/css/global.css @@ -1,3 +1,23 @@ body { background-color: #202225; + display: flex; + flex-direction: column; + justify-content: center; + height: 100vh; + margin: 0; +} + +#content { + display: flex; + align-items: center; + flex-grow: 2; +} + +#box { + display: flex; + background-color: red; +} + +footer { + display: flex; } diff --git a/divent/templates/base.html.j2 b/divent/templates/base.html.j2 index 2592528..3785d39 100644 --- a/divent/templates/base.html.j2 +++ b/divent/templates/base.html.j2 @@ -7,14 +7,21 @@ - {% block title %}{% endblock title %} + {% block title %} + {% endblock title %} - - + + - {% block content %}{% endblock content %} - +
+
+ {% block content %} + {% endblock content %} +
+
diff --git a/divent/templates/guilds.html.j2 b/divent/templates/guilds.html.j2 index 3877721..cac471a 100644 --- a/divent/templates/guilds.html.j2 +++ b/divent/templates/guilds.html.j2 @@ -1,14 +1,10 @@ {% extends "base.html.j2" %} {% block content %} -