Skip to content

Commit 2ef2d6d

Browse files
committed
Merge pull request python3statement#25 from Carreau/legend
Add legend for timeline.
2 parents e7ceb51 + 38da88a commit 2ef2d6d

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

_sections/40-timeline.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ extended support. (Python's own timeline is available
1515

1616
<div id="visualization"></div>
1717

18+
<div>
19+
<p class=" py2">Compatible with Python 2 and Python 3.</p>
20+
<p class="py3">Compatible with Python 3 only.</p>
21+
</div>
1822
See how to [add your project to the list of participating projects](https://github.com/python3statement/python3statement.github.io#add-your-project) and to [this timeline](https://github.com/python3statement/python3statement.github.io#add-timeline-information)

combo.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,23 @@
44
{% include css/skeleton.css %}
55
{% include css/main.css %}
66

7-
div.vis-item {
7+
div.vis-item , p.py3{
88
background-color:#03acf6;
99
color: white;
1010
}
1111

1212

13-
div.vis-item.py2 {
13+
div.vis-item.py2, p.py2 {
1414
background-color: #3dbf18;
1515
border-color: #3dbf18;
16+
color:white;
17+
18+
}
19+
20+
p.py2:first-child, p.py3:first-child{
21+
margin-top: 0px;
22+
margin-bottom: 5px;
23+
1624
}
1725

1826
div.vis-item.vis-selected {

0 commit comments

Comments
 (0)