diff options
15 files changed, 45 insertions, 7 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 99c7689..f37673b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -32,19 +32,20 @@ </head> <body> {{ block "header" . }} - <header> - {{ $image := resources.Get "logo.png" }} - {{ $image := $image.Resize "x45" }} - <nav> + {{ $image := resources.Get "logo.png" }} + {{ $image := $image.Resize "x40" }} + <nav id="topnav"> + <div> <a href="/">Home</a> <a href="/about">About</a> <a href="https://memes.sapka.me">Memes</a> <a href="https://git.sapka.me">Git</a> - </nav> + </div> + </nav> + <header> <div id="logo-space"> <a href="/"> <div id="logo"> - <img alt="logo" id="logo" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/> </div> <h1>{{ .Site.Title }}</h1> </a> diff --git a/resources/_gen/images/2022/month_without_apple/dirty_boy_hu9315d2891d22138d6fde282339abb963_4212612_500x0_resize_q75_box.jpg b/resources/_gen/images/2022/month_without_apple/dirty_boy_hu9315d2891d22138d6fde282339abb963_4212612_500x0_resize_q75_box.jpg Binary files differnew file mode 100644 index 0000000..9241aeb --- /dev/null +++ b/resources/_gen/images/2022/month_without_apple/dirty_boy_hu9315d2891d22138d6fde282339abb963_4212612_500x0_resize_q75_box.jpg diff --git a/resources/_gen/images/2022/month_without_apple/guts_hu9315d2891d22138d6fde282339abb963_5829557_500x0_resize_q75_box.jpg b/resources/_gen/images/2022/month_without_apple/guts_hu9315d2891d22138d6fde282339abb963_5829557_500x0_resize_q75_box.jpg Binary files differnew file mode 100644 index 0000000..0c0fa3c --- /dev/null +++ b/resources/_gen/images/2022/month_without_apple/guts_hu9315d2891d22138d6fde282339abb963_5829557_500x0_resize_q75_box.jpg diff --git a/resources/_gen/images/2022/month_without_apple/keyboard_hu9315d2891d22138d6fde282339abb963_4341087_500x0_resize_q75_box.jpg b/resources/_gen/images/2022/month_without_apple/keyboard_hu9315d2891d22138d6fde282339abb963_4341087_500x0_resize_q75_box.jpg Binary files differnew file mode 100644 index 0000000..6fb71f8 --- /dev/null +++ b/resources/_gen/images/2022/month_without_apple/keyboard_hu9315d2891d22138d6fde282339abb963_4341087_500x0_resize_q75_box.jpg diff --git a/resources/_gen/images/2022/month_without_apple/nub_hu9315d2891d22138d6fde282339abb963_3635825_500x0_resize_q75_box.jpg b/resources/_gen/images/2022/month_without_apple/nub_hu9315d2891d22138d6fde282339abb963_3635825_500x0_resize_q75_box.jpg Binary files differnew file mode 100644 index 0000000..3152a90 --- /dev/null +++ b/resources/_gen/images/2022/month_without_apple/nub_hu9315d2891d22138d6fde282339abb963_3635825_500x0_resize_q75_box.jpg diff --git a/resources/_gen/images/2022/month_without_apple/speaker_hu9315d2891d22138d6fde282339abb963_4411947_500x0_resize_q75_box.jpg b/resources/_gen/images/2022/month_without_apple/speaker_hu9315d2891d22138d6fde282339abb963_4411947_500x0_resize_q75_box.jpg Binary files differnew file mode 100644 index 0000000..1282182 --- /dev/null +++ b/resources/_gen/images/2022/month_without_apple/speaker_hu9315d2891d22138d6fde282339abb963_4411947_500x0_resize_q75_box.jpg diff --git a/resources/_gen/images/2022/secret_of_monkey_island/lazypirates_huadb8f75bcf415c468cd4b3721fb65b08_74580_500x0_resize_box.gif b/resources/_gen/images/2022/secret_of_monkey_island/lazypirates_huadb8f75bcf415c468cd4b3721fb65b08_74580_500x0_resize_box.gif Binary files differnew file mode 100644 index 0000000..77e8adb --- /dev/null +++ b/resources/_gen/images/2022/secret_of_monkey_island/lazypirates_huadb8f75bcf415c468cd4b3721fb65b08_74580_500x0_resize_box.gif diff --git a/resources/_gen/images/2022/secret_of_monkey_island/splash_hue843de6bbc1c9734745194dcdb5a3c20_726998_500x0_resize_box_3.png b/resources/_gen/images/2022/secret_of_monkey_island/splash_hue843de6bbc1c9734745194dcdb5a3c20_726998_500x0_resize_box_3.png Binary files differnew file mode 100644 index 0000000..9950799 --- /dev/null +++ b/resources/_gen/images/2022/secret_of_monkey_island/splash_hue843de6bbc1c9734745194dcdb5a3c20_726998_500x0_resize_box_3.png diff --git a/resources/_gen/images/2022/secret_of_monkey_island/swordfight_hu7bb572fc5cadd7fd8a0326a3c26eb945_72025_500x0_resize_q75_box.jpg b/resources/_gen/images/2022/secret_of_monkey_island/swordfight_hu7bb572fc5cadd7fd8a0326a3c26eb945_72025_500x0_resize_q75_box.jpg Binary files differnew file mode 100644 index 0000000..f5c45e9 --- /dev/null +++ b/resources/_gen/images/2022/secret_of_monkey_island/swordfight_hu7bb572fc5cadd7fd8a0326a3c26eb945_72025_500x0_resize_q75_box.jpg diff --git a/resources/_gen/images/2022/the_ivy_diaries_chapter_i/ivy_2_hudc11951b955630d8d1b5171b097afa83_15319637_500x0_resize_box_3.png b/resources/_gen/images/2022/the_ivy_diaries_chapter_i/ivy_2_hudc11951b955630d8d1b5171b097afa83_15319637_500x0_resize_box_3.png Binary files differnew file mode 100644 index 0000000..89d1b7e --- /dev/null +++ b/resources/_gen/images/2022/the_ivy_diaries_chapter_i/ivy_2_hudc11951b955630d8d1b5171b097afa83_15319637_500x0_resize_box_3.png diff --git a/resources/_gen/images/2022/the_ivy_diaries_chapter_i/ivy_3_hu490d1396f0d4b541304b3ae7fa0d1729_23164012_500x0_resize_box_3.png b/resources/_gen/images/2022/the_ivy_diaries_chapter_i/ivy_3_hu490d1396f0d4b541304b3ae7fa0d1729_23164012_500x0_resize_box_3.png Binary files differnew file mode 100644 index 0000000..0cfa1c7 --- /dev/null +++ b/resources/_gen/images/2022/the_ivy_diaries_chapter_i/ivy_3_hu490d1396f0d4b541304b3ae7fa0d1729_23164012_500x0_resize_box_3.png diff --git a/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x20_resize_box_3.png b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x20_resize_box_3.png Binary files differnew file mode 100644 index 0000000..897fa12 --- /dev/null +++ b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x20_resize_box_3.png diff --git a/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x24_resize_box_3.png b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x24_resize_box_3.png Binary files differnew file mode 100644 index 0000000..0fc9c6a --- /dev/null +++ b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x24_resize_box_3.png diff --git a/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x40_resize_box_3.png b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x40_resize_box_3.png Binary files differnew file mode 100644 index 0000000..9ddf805 --- /dev/null +++ b/resources/_gen/images/logo_hua845fe3caf56d36f9e084b214bb2f690_3957_0x40_resize_box_3.png diff --git a/static/style.css b/static/style.css index fc55c10..7c9dad1 100644 --- a/static/style.css +++ b/static/style.css @@ -3,6 +3,7 @@ font-family: 'arial'; padding: 0; margin: 0; + font-size: 1.1em; } img { max-width: 99%; @@ -15,12 +16,48 @@ a { text-decoration: none; } + #topnav { + width: 100%; + background-color: #000000; + } + #topnav div { + width: 600px; + max-width: 95%; + margin-left: auto; + margin-right: auto; + display: flex; + flex-direction: row; + height: 30px; + align-items: center; + justify-items: center; + } + #topnav img { + height: 20px; + } + #topnav div a { + flex-grow: 1; + text-align: center; + color: #ffffff; + vertical-align: middle; + font-weight: bold; + text-transform: uppercase; + height: 100%; + padding-top: 7px + } + #topnav div a:hover { + background-color: #ffffff; + color: #000000; + text-decoration: none; + } + + + + main, header, footer { width: 600px; max-width: 95%; margin-left: auto; margin-right: auto; - background-color: #ff0000; } |