From 9a4fdf3a5fb132458622840c4328f49f45a5fdd6 Mon Sep 17 00:00:00 2001 From: ze Date: Sat, 14 Apr 2018 23:45:03 -0400 Subject: [PATCH] Remove redundant CSS selectors Change margins on #project_description to what it seems it was intended to be Adjust project description template --- media/css/core.css | 3 +-- readthedocs/templates/core/project_details.html | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/media/css/core.css b/media/css/core.css index 063edf5e585..e363486f8c5 100644 --- a/media/css/core.css +++ b/media/css/core.css @@ -129,7 +129,7 @@ form.form-wide textarea { #content { padding: 50px 0; } #content ul { margin-bottom: 20px; } -#content #project_description { margin-bottom: 20px; } +#project_description { margin-top: 20px; } /* Commenting this for now. Want to figure out how to make it look sane with small amounts of text. */ /* #content p { background-color: #eee; } */ @@ -632,7 +632,6 @@ p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; } .left { float: left; } .right { float: right; } .right-menu { float: right; margin-right: 132px; } -.quiet { color: #999; } .help_text { color: #999; } .highlighted { background-color: #ee9; padding: 0 1px; margin: 0 1px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } .first { margin-left: 0; padding-left: 0; } diff --git a/readthedocs/templates/core/project_details.html b/readthedocs/templates/core/project_details.html index c38253d06aa..2ed32097f81 100644 --- a/readthedocs/templates/core/project_details.html +++ b/readthedocs/templates/core/project_details.html @@ -73,17 +73,14 @@

{% trans "Build a version" %}

{% endif %} {% endblock %} -
{% if project.description %} +

{% trans "Description" %}

-

{{ project.description|restructuredtext }}

-
-{% endif %}
- +{% endif %}
{# END .module #}