Skip to content

Commit 9a4fdf3

Browse files
committed
Remove redundant CSS selectors
Change margins on #project_description to what it seems it was intended to be Adjust project description template
1 parent f4e645d commit 9a4fdf3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

media/css/core.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ form.form-wide textarea {
129129
#content { padding: 50px 0; }
130130
#content ul { margin-bottom: 20px; }
131131

132-
#content #project_description { margin-bottom: 20px; }
132+
#project_description { margin-top: 20px; }
133133
/* Commenting this for now. Want to figure out how to make it look sane with small amounts of text. */
134134
/* #content p { background-color: #eee; } */
135135

@@ -632,7 +632,6 @@ p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; }
632632
.left { float: left; }
633633
.right { float: right; }
634634
.right-menu { float: right; margin-right: 132px; }
635-
.quiet { color: #999; }
636635
.help_text { color: #999; }
637636
.highlighted { background-color: #ee9; padding: 0 1px; margin: 0 1px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
638637
.first { margin-left: 0; padding-left: 0; }

readthedocs/templates/core/project_details.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,14 @@ <h3>{% trans "Build a version" %}</h3>
7373
{% endif %}
7474
{% endblock %}
7575

76-
<div id="project_description">
7776
{% if project.description %}
77+
<div id="project_description">
7878
<h3>{% trans "Description" %}</h3>
79-
<div id="project_description">
8079
<p>
8180
{{ project.description|restructuredtext }}
8281
</p>
83-
</div>
84-
{% endif %}
8582
</div>
86-
83+
{% endif %}
8784

8885
</div>{# END .module #}
8986

0 commit comments

Comments
 (0)