Skip to content

Commit 11c6368

Browse files
committed
Feature/shaun pagination restyle (#110)
* new past events style * updated style for mobile and modified date layout
1 parent ae9d30c commit 11c6368

3 files changed

Lines changed: 18 additions & 4 deletions

File tree

app/templates/event.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
<div class="page" id="page-{{ loop.revindex }}">
3535
<ul>
3636
{% endif %}
37-
<li class="item-{{ loop.revindex -1 }}"><a
37+
<li class="item-{{ loop.revindex -1 }}"><i class="fa fa-calendar-check-o" aria-hidden="true">&nbsp;</i><a
3838
href="../../event/{{ previousEvent.getMindsUrl }}">{{ previousEvent.getTalk().getTitle|e }}
39-
on {{ previousEvent.getDateTimeAsString }}</a></li>
39+
on {{ previousEvent.getDateTimeAsString }}</a></li>
4040

4141
{% endfor %}
4242

app/templates/home.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@
5050
<div class="page" id="page-{{ loop.revindex }}">
5151
<ul>
5252
{% endif %}
53-
<li class="item-{{ loop.revindex -1 }}"><a
53+
<li class="item-{{ loop.revindex -1 }}"><i class="fa fa-calendar-check-o show-for-medium-up" aria-hidden="true"><span class="meetup-date"> on {{ previousEvent.getDateTimeAsString }}</span> </i><a
5454
href="../../event/{{ previousEvent.getMindsUrl }}">{{ previousEvent.getTalk().getTitle|e }}
55-
on {{ previousEvent.getDateTimeAsString }}</a></li>
55+
</a> </li>
5656

5757
{% endfor %}
5858

public/css/paginate.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@
1616
margin: 0;
1717
padding: 0;
1818
list-style-type: none;
19+
margin-bottom:10px;
1920
}
2021
.pagination-number a {
2122
display: inline-block;
2223
background: rgba(106, 168, 79, 1.0);
2324
border: 0;
25+
width: 100%;
2426
font-size: 20px;
2527
font-weight: 800;
2628
line-height: 40px;
@@ -39,4 +41,16 @@
3941
color: #f3f3f3;
4042
text-transform: uppercase;
4143
padding: 0 20px;
44+
}
45+
46+
.pages li {
47+
padding: 0.45em;
48+
border-bottom: solid 1px rgba(106, 168, 79, 0.4);
49+
list-style: none;
50+
}
51+
.pages i {padding: 1em; }
52+
.pages i span {font-family: "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif;
53+
color: #296410;}
54+
.meetup-date {
55+
font-size: smaller;
4256
}

0 commit comments

Comments
 (0)