Skip to content

Commit cb9a2d9

Browse files
Label and info about event done.
1 parent 8f64bda commit cb9a2d9

File tree

3 files changed

+11
-64
lines changed

3 files changed

+11
-64
lines changed

_layouts/post.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 class="post__subtitle"><em>{{ page.project_description }}</em></h2>
2929

3030
<div class="post__event-col col-md-5 col-12">
3131
<div class="row">
32-
<div class="no-gutters__col col-12">
32+
<div class="no-gutters__col col-3">
3333
<h2 class="post__label">Event</h2>
3434
</div>
3535
</div>
@@ -40,7 +40,7 @@ <h2 class="post__label">Event</h2>
4040
</div>
4141

4242
<div class="row">
43-
<div class="no-gutters__col col-12">
43+
<div class="no-gutters__col col-3">
4444
<h2 class="post__label">Venue</h2>
4545
</div>
4646
</div>
@@ -51,7 +51,7 @@ <h2 class="post__label">Venue</h2>
5151
</div>
5252

5353
<div class="row">
54-
<div class="no-gutters__col col-12">
54+
<div class="no-gutters__col col-3">
5555
<h2 class="post__label">Date</h2>
5656
</div>
5757
</div>

_sass/post.scss

Lines changed: 8 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -30,56 +30,34 @@
3030
}
3131

3232
.post__event-col {
33-
padding-top: 4%;
33+
padding-top: 2%;
3434
background: rgb(0, 0, 0);
3535
}
3636

37-
.post__event-col .row:first-child .post__label {
38-
border-top-left-radius: 5px;
39-
border-top-right-radius: 5px;
40-
}
41-
42-
.post__event-col .row:last-child .post__event-title {
43-
border-bottom-left-radius: 5px;
44-
border-bottom-right-radius: 5px;
45-
}
46-
4737
.post__label {
4838
font-family: 'Encode Sans Expanded', sans-serif;
49-
background: #818181;
39+
background: linear-gradient(45deg, #818181, #818181 80%, transparent 80%, transparent 100%);
5040
font-size: 1.25em;
5141
color: #072948;
52-
//border-top-left-radius: 5px;
53-
//border-top-right-radius: 5px;
42+
border-top-left-radius: 5px;
5443
padding-left: 0.25em;
44+
padding-right: 0.25em;
45+
margin-top: 0.5em;
5546
margin-bottom: 0;
47+
min-width: 5em;
5648
}
5749

5850
.post__event-title {
5951
background: rgba(7, 41, 72, 0.52);
60-
//border-radius: 0 0 5px 5px;
52+
border-radius: 0 0 5px 5px;
6153
border: #072948 2px ridge;
6254
font-size: 1.25em;
6355
font-family: 'Encode Sans Expanded', sans-serif;
6456
color: antiquewhite;
6557
padding-left: 0.25em;
58+
border-radius: 0 5px 5px 5px;
6659
}
6760

68-
69-
70-
//.post__meta {
71-
// @extend .post__event-title;
72-
//}
73-
//
74-
//.post__venue {
75-
// @extend .post__event-title;
76-
// margin-top: 2%;
77-
// }
78-
//
79-
//.post__date {
80-
// @extend .post__venue;
81-
// }
82-
8361
.post__button {
8462
padding: 1% 5%;
8563
margin: 0 2% 2% 2%;

static/css/typography.css

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)