Skip to content

Commit 3a34172

Browse files
committed
Attempting to fix arrows on h5
Signed-off-by: Jimmy McArthur <jimmy@tipit.net>
1 parent d623f0a commit 3a34172

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

summit/css/static-summit-about-page.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,25 @@ button.btn i, a.btn i {
168168
max-width: 40%;
169169
display: inline-block;
170170
text-align: center;
171+
position: relative;
172+
}
173+
.summit-banner h5 strong:before, .summit-banner h5 strong:after {
174+
position: absolute;
175+
content: '';
176+
background-size: cover;
177+
background-position-y: 7px;
178+
width: 5em;
179+
height: 1em;
180+
display: inline-block;
181+
margin: 0 0.5em;
182+
}
183+
.summit-banner h5 strong:before {
184+
left: -5px;
185+
background: url("../images/arrow-right.svg") bottom left no-repeat;
186+
}
187+
.summit-banner h5 strong:after {
188+
right: -5px;
189+
background: url("../images/arrow-left.svg") bottom left no-repeat;
171190
}
172191

173192
.summit-banner h5 span {

summit/templates/Includes/StaticSummitPageHeaderSmall.ss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
<div class="summit-banner">
4040
<h4 class="script">Join us November 13-15, 2018 in</h4>
4141
<h1 class="inline">Berlin, Germany</h1>
42-
<h5><span class="arrow left"></span><strong>CityCube</strong><span class="arrow right"></span></h5>
42+
<h5>
43+
<strong>CityCube</strong>
44+
</h5>
45+
<!-- <span class="arrow left"></span><span class="arrow right"></span> -->
4346
</div>
4447
</div>
4548
</div>

0 commit comments

Comments
 (0)