{{ post.score }}
- -- r/{{ post.community }} - • - Posted by - u/{{ post.author }} - {{ post.time }} -
-diff --git a/static/style.css b/static/style.css index 96e48dd..bbf2444 100644 --- a/static/style.css +++ b/static/style.css @@ -22,6 +22,10 @@ header { font-size: 20px; } +#lib, #github { + color: white; +} + main { max-width: 750px; margin: 0 auto; @@ -83,6 +87,10 @@ span { padding: 20px; } +#stats { + margin-top: 10px; +} + /* User */ .user { @@ -124,6 +132,11 @@ span { cursor: pointer; } +#sort > div.selected { + background: aqua; + color: black; +} + #sort > div:hover { background: #222; } @@ -136,6 +149,15 @@ span { display: flex; } +.post.highlighted { + border: 2px solid #555; + background: #222; +} + +.post.highlighted > .post_left { + background: #333; +} + .post:hover { background: #222; } @@ -158,6 +180,10 @@ span { padding: 5px; } +.post_right > p > span, .comment_right > p > span { + float: right; +} + .post_title { font-size: 20px; } diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..7e44e79 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,34 @@ + + +
+ {% block head %} +- r/{{ post.community }} - • - Posted by - u/{{ post.author }} - {{ post.time }} -
-+ r/{{ post.community }} + • + Posted by + u/{{ post.author }} + {{ post.time }} +
+- r/{{ post.community }} - • - Posted by - u/{{ post.author }} - {{ post.time }} -
-+ r/{{ post.community }} + • + Posted by + u/{{ post.author }} + {{ post.time }} +
++ Posted by u/{{ comment.author }} + {{ comment.time }} +
+{{ sub.description }}
-{{ sub.description }}
+- r/{{ sub.name }} - • - Posted by - u/{{ post.author }} - {{ post.time }} -
-+ r/{{ sub.name }} + • + Posted by + u/{{ post.author }} + {{ post.time }} +
+Karma: {{ user.karma }} | Description: "{{ user.description }}"
-Karma: {{ user.karma }} | Description: "{{ user.description }}"
- r/{{ post.community }} - • - Posted by - u/{{ post.author }} - {{ post.time }} -
-+ r/{{ post.community }} + • + Posted by + u/{{ post.author }} + {{ post.time }} +
+
{{ comment.score }}
- -- Posted by u/{{ comment.author }} - {{ comment.time }} -
-{{ comment.body }}
-