Skip to content

Commit 41d9517

Browse files
committed
Fixed GIF
1 parent 489b078 commit 41d9517

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ <h2 class="section-title">
3838
another infosec blog
3939
</h2>
4040

41-
<div class="welcome-message">
42-
<img src="/images/hackerman.webp" alt="Welcome message in ASCII art">
41+
<div class="welcome-gif-container">
42+
<img src="/images/hackerman.webp" alt="Welcome GIF">
4343
</div>
4444

4545

themes/geocities-reaper/layouts/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ <h2 class="section-title">
88
another infosec blog
99
</h2>
1010
{{ if .Site.Params.welcome_message }}
11-
<div class="welcome-message">
12-
<img src="{{ .Site.Params.welcome_message | relURL }}" alt="Welcome message in ASCII art">
11+
<div class="welcome-gif-container">
12+
<img src="{{ .Site.Params.welcome_message | relURL }}" alt="Welcome GIF">
1313
</div>
1414
{{ end }}
1515

themes/geocities-reaper/static/css/style.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,19 @@ body {
217217
margin: 15px 0;
218218
}
219219

220+
.welcome-gif-container {
221+
max-width: 100%;
222+
text-align: center;
223+
margin: 0 auto;
224+
}
225+
226+
.welcome-gif-container img {
227+
display: block;
228+
margin: 0 auto;
229+
max-width: 100%;
230+
height: auto;
231+
}
232+
220233
.ascii-art {
221234
white-space: pre-wrap;
222235
word-wrap: break-word;

0 commit comments

Comments
 (0)