diff --git a/tildes/scss/modules/_user.scss b/tildes/scss/modules/_user.scss deleted file mode 100644 index a59dc22..0000000 --- a/tildes/scss/modules/_user.scss +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) 2019 Tildes contributors -// SPDX-License-Identifier: AGPL-3.0-or-later - -.user-bio { - @extend %links-text; - @extend %lists-text; - - border: 1px solid; - padding: 0.4rem; - margin-bottom: 1rem; - font-size: 0.6rem; - - summary::after { - font-size: 0.6rem; - font-style: italic; - content: "Hide bio"; - display: none; - } - - &[open] { - font-size: 0.8rem; - - summary { - &::after { - display: inline; - } - - span { - display: none; - } - } - } -} diff --git a/tildes/scss/styles.scss b/tildes/scss/styles.scss index 665d7f7..c197317 100644 --- a/tildes/scss/styles.scss +++ b/tildes/scss/styles.scss @@ -33,7 +33,6 @@ @import 'modules/time'; @import 'modules/toast'; @import 'modules/topic'; -@import 'modules/user'; // Note: if you add a new theme, you may also want to add a new theme-color // meta tag inside the base.jinja2 template, so mobile browsers can match diff --git a/tildes/scss/themes/_theme_base.scss b/tildes/scss/themes/_theme_base.scss index 2d1dea3..dcbedfe 100644 --- a/tildes/scss/themes/_theme_base.scss +++ b/tildes/scss/themes/_theme_base.scss @@ -470,15 +470,6 @@ } } - .user-bio { - border-color: map-get($theme, "border"); - background-color: map-get($theme, "background-secondary"); - - &[open] { - color: map-get($theme, "foreground-highlight"); - } - } - .is-comment-deleted, .is-comment-removed { color: map-get($theme, "foreground-secondary"); } diff --git a/tildes/tildes/templates/user.jinja2 b/tildes/tildes/templates/user.jinja2 index 194ca47..9a75569 100644 --- a/tildes/tildes/templates/user.jinja2 +++ b/tildes/tildes/templates/user.jinja2 @@ -48,13 +48,6 @@ {% endif %} - {% if user.bio_rendered_html %} -
- View {{ user.username }}'s bio - {{ user.bio_rendered_html|safe }} -
- {% endif %} - {% if posts %} {% if request.has_permission("view_history", user) and posts.has_prev_page %}