diff --git a/db.sqlite3 b/db.sqlite3 index e3ed524..7dec1d7 100644 Binary files a/db.sqlite3 and b/db.sqlite3 differ diff --git a/news/__pycache__/models.cpython-37.pyc b/news/__pycache__/models.cpython-37.pyc index cddbba1..ba692cc 100644 Binary files a/news/__pycache__/models.cpython-37.pyc and b/news/__pycache__/models.cpython-37.pyc differ diff --git a/news/__pycache__/views.cpython-37.pyc b/news/__pycache__/views.cpython-37.pyc index 082128c..6034061 100644 Binary files a/news/__pycache__/views.cpython-37.pyc and b/news/__pycache__/views.cpython-37.pyc differ diff --git a/news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4 b/news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4 copie similarity index 100% rename from news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4 rename to news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4 copie diff --git a/news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4.png b/news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4.png new file mode 100644 index 0000000..d399c4a Binary files /dev/null and b/news/static/media/74d7e72e-e415-462e-8978-5ef942ff96a4.png differ diff --git a/news/static/media/a1f5bf0d-2dbb-4cd7-8cc0-dc39b93935d4 copie.png b/news/static/media/a1f5bf0d-2dbb-4cd7-8cc0-dc39b93935d4 copie.png new file mode 100644 index 0000000..a948d0c Binary files /dev/null and b/news/static/media/a1f5bf0d-2dbb-4cd7-8cc0-dc39b93935d4 copie.png differ diff --git a/news/static/media/a1f5bf0d-2dbb-4cd7-8cc0-dc39b93935d4.png b/news/static/media/a1f5bf0d-2dbb-4cd7-8cc0-dc39b93935d4.png new file mode 100644 index 0000000..6e0bf94 Binary files /dev/null and b/news/static/media/a1f5bf0d-2dbb-4cd7-8cc0-dc39b93935d4.png differ diff --git a/news/static/news/LibreBaskerville-Bold.otf b/news/static/news/LibreBaskerville-Bold.otf new file mode 100755 index 0000000..5d4d968 Binary files /dev/null and b/news/static/news/LibreBaskerville-Bold.otf differ diff --git a/news/static/news/css/app.css b/news/static/news/css/app.css index 2f8c76a..db2f889 100644 --- a/news/static/news/css/app.css +++ b/news/static/news/css/app.css @@ -1,6 +1,10 @@ @font-face { font-family: LibreBaskerville; - src: url("LibreBaskerville-Regular.otf") format("opentype"); + src: url("../LibreBaskerville-Regular.otf") format("opentype"); +} +@font-face { + font-family: LibreBaskervilleBold; + src: url("../LibreBaskerville-Bold.otf") format("opentype"); } body { @@ -10,32 +14,108 @@ body { padding: 0px; } +.postcontainer { + +} + +.even { + background-color: #fff; + padding: 20px 0px; +} + +.odd { + background-color: #eee; + padding: 20px 0px; +} + +.header { + text-align: center; + /* background-color: #aaa; */ +} + +.imgcontainer { + position: relative; + /* text-align: center; */ + color: white; +} + +/* Bottom left text */ +.bottom-left { + width: 800px; + position: absolute; + bottom: 8px; + left: 16px; +} + +.crop { + width: 1000px; + /* width: 1000px; */ + height: 200px; + overflow: hidden; + border-radius: 20px;/*0px 20px 20px 0px;*/ +} + +.crop img { + width: 1000px; + height: 200px; + margin: -100px 0 0 -200px; +} + +.header h1 { + font-size: 36px; + line-height: 90%; + margin-top: 20px; +} + .content { + /* background-color: #eee; */ padding: 16px; } .content h1 { - font-family: 'LibreBaskerville'; + font-family: 'LibreBaskervilleBold'; font-size: 28px; - margin: 0px; + margin: 10px 0px 0px 0px; padding: 0px; } +.imgcontainer a { + color: #fff; +} + +.imgcontainer a:hover { + color: #aaa; +} + +.contentbody { + font-family: 'LibreBaskerville'; + padding: 12px 12px 0px 12px; +} + .post { - margin-bottom: 20px; + padding: 10px 0px; + margin-bottom: 10px; +} + +.padded { + padding: 8px; } .comments { + font-size: 14px; color: #666; - padding: 0px 10px; - background-color: #efe; - border-radius: 16px; + /* padding: 0px 10px; */ + /* background-color: #efe; */ + /* border-radius: 16px; */ } .info { - text-align: right; - padding: 0px 20px; - margin-top: 10px; + font-size: 14px; + border-bottom: 1px solid #ccc; + /* margin-bottom: 6px; */ +} + +.current { font-size: 14px; } diff --git a/news/templates/base.html b/news/templates/base.html index 1f26a12..2ac7bd7 100644 --- a/news/templates/base.html +++ b/news/templates/base.html @@ -12,23 +12,31 @@ -
-

Poker CC

- -

- {% if user.is_authenticated %} - Submit - {% else %} - Create account - {% endif %} -

- -
- - -
- {% block content %}{% endblock %} -
+ + +
+ +
+

poker
downtown

+ hardcore newsing + +

+
+ {% if user.is_authenticated %} + Submit + {% else %} + Create account + {% endif %} +

+
+ +
+ {% block content %}{% endblock %} +
+