From e8d5821d136c1a876cede5c8958667f97ec4f277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pilecki?= <100201725+Prawy126@users.noreply.github.com> Date: Sun, 17 Dec 2023 23:16:03 +0100 Subject: [PATCH 1/7] Update index.html --- lab1/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/lab1/index.html b/lab1/index.html index 88b1ae9..a978e76 100644 --- a/lab1/index.html +++ b/lab1/index.html @@ -5,6 +5,7 @@
by {{ page.author | default: site.author }}
- -{{content}} - -{% if page.tags %} - tags: {{ page.tags | join: " - " }} -{% endif %} From 4605ed304baab3fcc3cb296fae3d2c666e064b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pilecki?= <100201725+Prawy126@users.noreply.github.com> Date: Sun, 17 Dec 2023 23:19:46 +0100 Subject: [PATCH 4/7] Delete _includes directory --- _includes/head-custom-google-analytics.html | 10 ---------- _includes/head-custom-theme-colors.html | 5 ----- _includes/head-custom.html | 12 ------------ 3 files changed, 27 deletions(-) delete mode 100644 _includes/head-custom-google-analytics.html delete mode 100644 _includes/head-custom-theme-colors.html delete mode 100644 _includes/head-custom.html diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html deleted file mode 100644 index 8a3ae5c..0000000 --- a/_includes/head-custom-google-analytics.html +++ /dev/null @@ -1,10 +0,0 @@ -{% if site.google_analytics %} - -{% endif %} diff --git a/_includes/head-custom-theme-colors.html b/_includes/head-custom-theme-colors.html deleted file mode 100644 index a30e708..0000000 --- a/_includes/head-custom-theme-colors.html +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/_includes/head-custom.html b/_includes/head-custom.html deleted file mode 100644 index 44cdb83..0000000 --- a/_includes/head-custom.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -{% include head-custom-theme-colors.html %} - - -{% include head-custom-google-analytics.html %} - - - - - From 464e533fc555bb1fd18694e0591b906492ad3244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pilecki?= <100201725+Prawy126@users.noreply.github.com> Date: Sun, 17 Dec 2023 23:20:34 +0100 Subject: [PATCH 5/7] Add files via upload --- _includes/head-custom-google-analytics.html | 10 + _includes/head-custom-theme-colors.html | 5 + _includes/head-custom.html | 12 + _layouts/default.html | 38 +++ _layouts/post.html | 14 + _sass/_default_colors.scss | 15 ++ _sass/hacker.scss | 4 + _sass/jekyll-theme-hacker.scss | 281 ++++++++++++++++++++ _sass/rouge-base16-dark.scss | 87 ++++++ 9 files changed, 466 insertions(+) create mode 100644 _includes/head-custom-google-analytics.html create mode 100644 _includes/head-custom-theme-colors.html create mode 100644 _includes/head-custom.html create mode 100644 _layouts/default.html create mode 100644 _layouts/post.html create mode 100644 _sass/_default_colors.scss create mode 100644 _sass/hacker.scss create mode 100644 _sass/jekyll-theme-hacker.scss create mode 100644 _sass/rouge-base16-dark.scss diff --git a/_includes/head-custom-google-analytics.html b/_includes/head-custom-google-analytics.html new file mode 100644 index 0000000..41433d7 --- /dev/null +++ b/_includes/head-custom-google-analytics.html @@ -0,0 +1,10 @@ +{% if site.google_analytics %} + +{% endif %} diff --git a/_includes/head-custom-theme-colors.html b/_includes/head-custom-theme-colors.html new file mode 100644 index 0000000..39c0cb6 --- /dev/null +++ b/_includes/head-custom-theme-colors.html @@ -0,0 +1,5 @@ + + + + + diff --git a/_includes/head-custom.html b/_includes/head-custom.html new file mode 100644 index 0000000..08c2357 --- /dev/null +++ b/_includes/head-custom.html @@ -0,0 +1,12 @@ + + + +{% include head-custom-theme-colors.html %} + + +{% include head-custom-google-analytics.html %} + + + + + diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..b9f20c8 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,38 @@ + + + + + + + + + {% include head-custom.html %} + +{% seo %} + + + + +by {{ page.author | default: site.author }}
+ +{{content}} + +{% if page.tags %} + tags: {{ page.tags | join: " - " }} +{% endif %} diff --git a/_sass/_default_colors.scss b/_sass/_default_colors.scss new file mode 100644 index 0000000..e4460d2 --- /dev/null +++ b/_sass/_default_colors.scss @@ -0,0 +1,15 @@ +$apple-blossom: #ac4142; +$alto: #d0d0d0; +$bouquet: #aa759f; +$chelsea-cucumber: #90a959; +$cod-grey: #151515; +$conifer: #b5e853; +$dove-grey: #666; +$gallery: #eaeaea; +$grey: #888; +$gulf-stream: #75b5aa; +$hippie-blue: #6a9fb5; +$potters-clay: #8f5536; +$rajah: #f4bf75; +$raw-sienna: #d28445; +$silver-chalice: #aaa; diff --git a/_sass/hacker.scss b/_sass/hacker.scss new file mode 100644 index 0000000..327e938 --- /dev/null +++ b/_sass/hacker.scss @@ -0,0 +1,4 @@ +// Placeholder file. If your site uses +// @import "{{ site.theme }}"; +// Then using this theme with jekyll-remote-theme will work fine. +@import "jekyll-theme-hacker"; diff --git a/_sass/jekyll-theme-hacker.scss b/_sass/jekyll-theme-hacker.scss new file mode 100644 index 0000000..204d7a5 --- /dev/null +++ b/_sass/jekyll-theme-hacker.scss @@ -0,0 +1,281 @@ +@import "rouge-base16-dark"; +@import "default_colors"; + +$body-background: $cod-grey !default; +$body-foreground: $gallery !default; +$header: $conifer !default; +$blockquote-color: $silver-chalice !default; +$blockquote-border: $dove-grey !default; +$container-max-width: 1000px; + +@mixin media-max-width($max-width) { + @media (max-width: $max-width) { + @content; + } +} + +body { + margin: 0; + padding: 0; + background: $body-background url("../images/bkg.png") 0 0; + color: $body-foreground; + font-size: 16px; + line-height: 1.5; + font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; +} + +/* General & 'Reset' Stuff */ + +.container { + width: 90%; + max-width: $container-max-width; + margin: 0 auto; +} + +section { + display: block; + margin: 0 0 20px 0; +} + +h1, h2, h3, h4, h5, h6 { + margin: 0 0 20px; +} + +li { + line-height: 1.4 ; +} + +/* Header,