File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments