diff --git a/app/static/scss/_colours.scss b/app/static/scss/_colours.scss index 6949caaa..2cb20634 100644 --- a/app/static/scss/_colours.scss +++ b/app/static/scss/_colours.scss @@ -4,4 +4,12 @@ $green: #00b550; $green-hover: #83f188; $light-grey: #ddd; $grey: #bbb; -$dark-grey: #777; \ No newline at end of file +$dark-grey: #777; + +.red { + color: red; +} + +.orangered { + color: orangered; +} \ No newline at end of file diff --git a/app/static/scss/_typography.scss b/app/static/scss/_typography.scss index c28d2f94..78846d5a 100644 --- a/app/static/scss/_typography.scss +++ b/app/static/scss/_typography.scss @@ -137,6 +137,10 @@ content: "\e9d7"; } +.fe-warning::before { + content: "\e904"; +} + .fe-arrow-up::before { content: "\e914"; } diff --git a/app/static/structure.css b/app/static/structure.css index b4a365ff..e703bf4c 100644 --- a/app/static/structure.css +++ b/app/static/structure.css @@ -1,5 +1,13 @@ /* This file contains SCSS used for creating the general structure of pages. Selectors should be things like body, h1, nav, etc which are used site-wide */ +.red { + color: red; +} + +.orangered { + color: orangered; +} + .pl-0 { padding-left: 0 !important; } @@ -140,6 +148,10 @@ nav, etc which are used site-wide */ content: "\e9d7"; } +.fe-warning::before { + content: "\e904"; +} + .fe-arrow-up::before { content: "\e914"; } @@ -638,4 +650,13 @@ fieldset legend { display: block !important; } +.moderator_list { + list-style-type: none; + padding-left: 0; +} +.moderator_list li { + display: inline-block; + padding-right: 5px; +} + /*# sourceMappingURL=structure.css.map */ diff --git a/app/static/structure.scss b/app/static/structure.scss index 2f560e86..b234c5b9 100644 --- a/app/static/structure.scss +++ b/app/static/structure.scss @@ -373,4 +373,14 @@ nav, etc which are used site-wide */ .show_menu { display: block!important; -} \ No newline at end of file +} + +.moderator_list { + list-style-type: none; + padding-left: 0; + + li { + display: inline-block; + padding-right: 5px; + } +} diff --git a/app/static/styles.css b/app/static/styles.css index a62eae67..02745ec2 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -1,4 +1,12 @@ /* */ +.red { + color: red; +} + +.orangered { + color: orangered; +} + .pl-0 { padding-left: 0 !important; } @@ -139,6 +147,10 @@ content: "\e9d7"; } +.fe-warning::before { + content: "\e904"; +} + .fe-arrow-up::before { content: "\e914"; } diff --git a/app/templates/base.html b/app/templates/base.html index 096e6898..143b0171 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -11,6 +11,12 @@ {% if user.created_recently() %} {% endif %} + {% if user.reputation < -10 %} + + + {% elif user.reputation < 0 %} + + {% endif %} {% endif %} {% endmacro %} diff --git a/app/templates/community/community.html b/app/templates/community/community.html index 18d83eae..fc36868b 100644 --- a/app/templates/community/community.html +++ b/app/templates/community/community.html @@ -84,11 +84,11 @@

{{ _('About community') }}

-

{{ community.description_html|safe }}

-

{{ community.rules_html|safe }}

+

{{ community.description_html|safe if community.description_html else '' }}

+

{{ community.rules_html|safe if community.rules_html else '' }}

{% if len(mods) > 0 and not community.private_mods %}

Moderators

-