Skip to content

Commit ef30a9c

Browse files
committed
Reclass release info badge block on home page.
The comment for the note/news block was incorrect. Fix the release info block on the homepage so it floats to the right.
1 parent 4bc0fa0 commit ef30a9c

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

doc/_static/style.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,8 @@ div.related li.right
281281
background-color: #f7f7f7;
282282
}
283283

284-
/* This is a little hack to inject a 'news' block into the title
285-
page without having to set up a custom directive. */
286-
#roundup-issue-tracker .news
284+
/* style for the floating release_info badge block on the home page */
285+
#roundup-issue-tracker .release_info
287286
{
288287
float: right;
289288
width: auto;
@@ -292,7 +291,6 @@ div.related li.right
292291
padding: 1em;
293292
margin: 1em;
294293
}
295-
#roundup-issue-tracker .note .admonition-title { display: none; }
296294

297295
table
298296
{

website/www/_static/style.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,9 +281,8 @@ div.related li.right
281281
background-color: #f7f7f7;
282282
}
283283

284-
/* This is a little hack to inject a 'news' block into the title
285-
page without having to set up a custom directive. */
286-
#roundup-issue-tracker .news
284+
/* style for the floating release_info badge block on the home page */
285+
#roundup-issue-tracker .release_info
287286
{
288287
float: right;
289288
width: auto;
@@ -292,7 +291,6 @@ div.related li.right
292291
padding: 1em;
293292
margin: 1em;
294293
}
295-
#roundup-issue-tracker .note .admonition-title { display: none; }
296294

297295
table
298296
{

website/www/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Roundup Issue Tracker
1919

2020
.. raw:: html
2121

22-
<div class="release_info note">
22+
<div class="release_info news">
2323
<!-- package version/pypi download -->
2424
<a
2525
href="https://pypi.org/project/roundup/#files">

0 commit comments

Comments
 (0)