Skip to content

Commit 65ca502

Browse files
authored
Merge pull request #291 from scala/style-events-more
style events page more
2 parents cc694b0 + 1f77118 commit 65ca502

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

_includes/event-block.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
{% if event.speaker.size > 0 %}
2121
<span class="speaker">{{event.speaker}}</span>
2222
{% else %}
23-
<span class="speaker">Speaker TBA...</span>
23+
<span class="speaker muted">Speaker TBA...</span>
2424
{% endif %}
2525
</td>
2626
<td>
2727
{% if event.title.size > 0 %}
2828
<span class="title">{{event.title}}</span>
2929
{% else %}
30-
<span class="title">Talk title TBA...</span>
30+
<span class="title muted">Talk title TBA...</span>
3131
{% endif %}
3232
</td>
3333
<td>

events.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2 style="margin-bottom: 10px;">Scala Lunches at EPFL</h2>
2222
</p>
2323
<p>{{site.data.events.scala_lunches.header}}</p>
2424
</div>
25-
<div class="card-list scala-lunches">
25+
<div class="col-md-12 card-list scala-lunches">
2626
{% include event-block.html %}
2727
</div>
2828
<div class="col-md-12 title scala-lunches">

resources/css/main.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ $link-color: $orange;
3131

3232
$grey-color: #828282;
3333
$grey-color-light: lighten($grey-color, 40%);
34+
$grey-color-medium: lighten($grey-color, 7%);
3435
$grey-color-dark: darken($grey-color, 25%);
3536

3637
// Width of the content area
@@ -933,6 +934,14 @@ div.search {
933934

934935
/* CARDS */
935936

937+
.card-list {
938+
margin: 20px 0 50px 0;
939+
940+
.muted {
941+
color: $grey-color-medium;
942+
}
943+
}
944+
936945
.cards, .description-dialog {
937946
margin-top: 10px;
938947
@media(max-width: 991px) {

0 commit comments

Comments
 (0)