diff --git a/static/css/styles.css b/static/css/styles.css index 687e900e..547d94f5 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -748,7 +748,7 @@ input[type=file] { color: rgb(49 74 87 / var(--tw-text-opacity)); } -.dark #signup_form input[type=email],.dark +.dark #signup_form input[type=email],.dark #signup_form input[type=password] { --tw-bg-opacity: 1; background-color: rgb(23 42 52 / var(--tw-bg-opacity)); @@ -1207,6 +1207,10 @@ input[type=file] { margin-right: 0.75rem; } +.mr-1 { + margin-right: 0.25rem; +} + .mt-12 { margin-top: 3rem; } @@ -1283,22 +1287,6 @@ input[type=file] { margin-left: 1rem; } -.-mt-2 { - margin-top: -0.5rem; -} - -.-mt-4 { - margin-top: -1rem; -} - -.-mb-2 { - margin-bottom: -0.5rem; -} - -.-mb-4 { - margin-bottom: -1rem; -} - .block { display: block; } @@ -1840,14 +1828,6 @@ input[type=file] { border-width: 0px; } -.border-2 { - border-width: 2px; -} - -.border-4 { - border-width: 4px; -} - .border-b { border-bottom-width: 1px; } @@ -2153,11 +2133,6 @@ input[type=file] { padding-bottom: 3.5rem; } -.px-1 { - padding-left: 0.25rem; - padding-right: 0.25rem; -} - .pl-11 { padding-left: 2.75rem; } @@ -2465,10 +2440,6 @@ input[type=file] { color: rgb(229 231 235 / var(--tw-text-opacity)); } -.underline { - text-decoration-line: underline; -} - .placeholder-gray-500::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgb(107 114 128 / var(--tw-placeholder-opacity)); @@ -2927,14 +2898,18 @@ input[type=file] { margin-top: 2rem; } - .md\:mt-16 { - margin-top: 4rem; + .md\:mb-10 { + margin-bottom: 2.5rem; } .md\:mb-0 { margin-bottom: 0px; } + .md\:mt-16 { + margin-top: 4rem; + } + .md\:mb-8 { margin-bottom: 2rem; } diff --git a/templates/news/list.html b/templates/news/list.html index 4ca5e2f0..e3a6c1e3 100644 --- a/templates/news/list.html +++ b/templates/news/list.html @@ -140,15 +140,15 @@ {{ entry.publish_at|date:"M jS, Y" }}
- {% if entry.tag == "link" %} + {% if entry.is_link %} - {% elif entry.tag == "news" %} + {% elif entry.is_news %} - {% elif entry.tag == "blogpost" %} + {% elif entry.is_blogpost %} - {% elif entry.tag == "poll" %} + {% elif entry.is_poll %} - {% elif entry.tag == "video" %} + {% elif entry.is_video %} {% else %} @@ -163,11 +163,6 @@ {% endif %}
- {% if user.image %} -
- user -
- {% endif %}