Skip to content

Commit

Permalink
Remove redundant CSS selectors
Browse files Browse the repository at this point in the history
Change margins on #project_description to what it seems it was intended to be
Adjust project description template
  • Loading branch information
ze committed Apr 15, 2018
1 parent f4e645d commit 9a4fdf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions media/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; } */

Expand Down Expand Up @@ -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; }
Expand Down
7 changes: 2 additions & 5 deletions readthedocs/templates/core/project_details.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,14 @@ <h3>{% trans "Build a version" %}</h3>
{% endif %}
{% endblock %}

<div id="project_description">
{% if project.description %}
<div id="project_description">
<h3>{% trans "Description" %}</h3>
<div id="project_description">
<p>
{{ project.description|restructuredtext }}
</p>
</div>
{% endif %}
</div>

{% endif %}

</div>{# END .module #}

Expand Down

0 comments on commit 9a4fdf3

Please sign in to comment.