Skip to content

Commit ad5455f

Browse files
Adding some styling to event page
1 parent fd81f83 commit ad5455f

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ <h3>Set up instructions</h3>
4040
{% endif %}
4141
</div>
4242
<div class="col-md-3">
43-
<div class="infobox">
44-
<h3>Information</h3>
43+
<div class="infobox post__event-info">
44+
<h3><i class="fas fa-info-circle"></i> Information</h3>
4545
<hr/>
4646
<p><b>RSVP:</b> <a href="{{ page.rsvp_link }}">Click here</a></p>
4747
<p><b>Level:</b> {{ page.level }}</p>

_sass/post.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
.post {
2+
background-color: white;
23
padding: 30px 20px 0;
34
}
45

6+
.post__event-info {
7+
background-color: $light-white !important;
8+
}
9+
510
.post__project-logo {
611
width: 150px;
7-
margin-bottom: 5px;
12+
margin-bottom: 16px;
813
}
914

1015
.post__sponsor-img {

_sass/style.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//Global styles here.
22

33
.body {
4-
background-color: $main-background;
4+
//background-color: $main-background;
55
overflow-x: hidden;
66
/*Here I need to move the background image to slide under the navigation*/
77
/*Any smarter solutions are welcome!*/
@@ -76,6 +76,7 @@ a {
7676
border-bottom: $blue 1px solid;
7777
border-bottom-left-radius: 5px;
7878
border-bottom-right-radius: 5px;
79+
box-shadow: $black-shadow;
7980
}
8081

8182
.page__background-img-container {

0 commit comments

Comments
 (0)