Skip to content

Commit f0771bf

Browse files
Full screen image size calculated differently (home page).
Added some images which could be used for header background in about page. Removed classes and data- attributes no longer needed from header images.
1 parent be1e330 commit f0771bf

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

_pages/03_events.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
permalink: /events/
55
---
66
<section class="events-page">
7-
<div class="events-page__background-img-container" data-image-type="responsive">
7+
<div class="events-page__background-img-container">
88
<picture>
99
<source srcset="../static/images/events_page/events_page_top_480x150px.jpg 480w,
1010
../static/images/events_page/events_page_top_960x300px.jpg 960w,
@@ -17,8 +17,7 @@
1717
sizes="100vw">
1818
<img class=""
1919
src="../static/images/events_page/events_page_top_960x300px.jpg"
20-
alt="Events"
21-
data-overlay="linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.65) 100%)">
20+
alt="Events">
2221
</picture>
2322
<div class="events-page__title-container row container-fluid">
2423
<div class="col-sm-12">

_pages/04_contact.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
permalink: /contact/
55
---
66
<section class="contact">
7-
<div class="contact__background-img-container" data-image-type="responsive">
7+
<div class="contact__background-img-container">
88
<picture>
99
<source srcset="../static/images/contact/contact_top_450x150px.jpg 450w,
1010
../static/images/contact/contact_top_960x300px.jpg 960w,
@@ -17,8 +17,7 @@
1717
sizes="100vw">
1818
<img class=""
1919
src="../static/images/contact/contact_top_960x300px.jpg"
20-
alt="Contact Us"
21-
data-overlay="linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 100%)">
20+
alt="Contact Us">
2221
</picture>
2322
<div class="contact__page-title-container row container-fluid">
2423
<div class="col-sm-12">

_sass/style.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ a {
4141
.page__background-img-container {
4242
position: relative;
4343
&::after {
44+
width: 100vw;
4445
content: "";
4546
position: absolute;
4647
top: 0;
@@ -100,11 +101,15 @@ a {
100101
}
101102

102103
.navigation__brand {
104+
position: relative;
103105
background-color: rgba(0, 0, 0, 0.2);
104106
border: rgba(0, 0, 0, 0.2) 1px solid;
105107
border-radius: 6px;
106108
}
107109

110+
.navigation__brand-link {
111+
}
112+
108113
.navigation__brand-name {
109114
font-size: 0.8em;
110115
color: $brand-name;

_sass/typography.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115

116116
.event-label {
117117
font-family: 'Encode Sans Expanded', sans-serif;
118-
background: linear-gradient(45deg, $grey, $grey 80%, transparent 80%, transparent 100%);
118+
background-image: linear-gradient(45deg, $grey, $grey 80%, transparent 80%, transparent 100%);
119119
font-size: 1.25em;
120120
text-align: left;
121121
color: $title-dark;

0 commit comments

Comments
 (0)