Skip to content

Commit aa02036

Browse files
committed
[#13] Fix About image
1 parent 8310ebc commit aa02036

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

about.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,9 @@ <h2 class="m-auto black-text">TIMELINE OF COMPETITION ANNOUNCEMENTS</h2>
136136
</div>
137137

138138
<div class="row">
139-
<div class="col grid-background-image" style="background-image: url('res/img/chair-welcome.jpg')">
139+
<div id="chair-welcome-background" class="col grid-background-image">
140+
<div id="chair-welcome" class="grid-background-image">
141+
</div>
140142
</div>
141143

142144
<div class="col grid-text-only my-auto">

res/css/about.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,28 @@
88
}
99

1010
.grid-background-image {
11-
background-color: #444444; /* For debugging */
1211
height: auto;
1312
width: auto;
1413
background-position: center;
1514
background-repeat: no-repeat;
1615
background-size: cover;
1716
}
1817

19-
.outline {
20-
border-style: solid;
18+
#chair-welcome-background {
19+
background-image: url("../img/chair-welcome-background.jpg") !important;
20+
background-size: cover;
21+
background-repeat: no-repeat;
22+
z-index: -1;
23+
}
24+
25+
#chair-welcome {
26+
background-image: url("../img/chair-welcome.jpg") !important;
27+
background-size: contain;
28+
background-repeat: no-repeat;
29+
z-index: 2;
30+
width: 100%;
31+
height: 100%;
32+
/* border-style: solid; */
2133
}
2234

2335
/* Formatting for the top-right grid */
266 KB
Loading

0 commit comments

Comments
 (0)