Skip to content

Commit dda45b2

Browse files
committed
replace header table layout with responsive image
1 parent 61c0f44 commit dda45b2

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

assets/sass/main.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ body {
1616
.banner {
1717
text-align: center;
1818
font-weight: bold;
19-
td img {
20-
height: 150px;
19+
img {
20+
max-width: 100%;
21+
height: auto;
2122
}
2223
}
2324
big {

layouts/partials/banner.html

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,6 @@
77
<small>... one iteration at a time... </small>
88
{{- end -}}
99
<div class="banner">
10-
{{- if eq .Kind "home" }}
1110
{{ partial "logo.html" . }}
1211
{{ partial "subtitle.html" . }}
13-
{{- else }}
14-
<table style="width: 100%">
15-
<tbody>
16-
<tr>
17-
<td>
18-
{{ partial "logo.html" . }}
19-
</td>
20-
<td>
21-
{{ partial "subtitle.html" . }}
22-
</td>
23-
</tr>
24-
</tbody>
25-
</table>
26-
{{- end }}
2712
</div>{{ if eq .Kind "home" }}<hr />{{ end }}

0 commit comments

Comments
 (0)