Skip to content

Commit

Permalink
Merge pull request #3 from Cyb3rM0nk3ys/refactoring
Browse files Browse the repository at this point in the history
Refactoring
  • Loading branch information
simonedimaria authored Dec 2, 2023
2 parents 73095c1 + 6559eb0 commit 850d3d4
Show file tree
Hide file tree
Showing 13 changed files with 109 additions and 149 deletions.
10 changes: 9 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

source "https://rubygems.org"

gem 'github-pages', group: :jekyll_plugins
gem "github-pages", group: :jekyll_plugins

gem "webrick", "~> 1.8"

gem "html-proofer"

gem "rubocop"

gem "rubocop-github"

gem "w3c_validators"
19 changes: 1 addition & 18 deletions _includes/head-custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,5 @@
{% include head-custom-metadata.html %}


<header>
<div class="container">
<center>
<img src="/assets/images/team-logo.svg" alt="Cyb3rM0nk3ys logo" width="7%" height="7%"/>
<a id="a-title" href="/">
<h1>Cyb3rM0nk3ys</h1>
</a>
<h2>Cyb3rM0nk3ys is a CTF team based in Verona.</h2>

<a href="/">
Home</a>
<a href="/members">
Monkeys</a>
<a href="/join">
Join us</a>
</center>
</div>
</header>

<!-- end custom head snippets -->
18 changes: 18 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<header>
<div class="container">
<div id="header">
<img src="/assets/images/team-logo.svg" alt="Cyb3rM0nk3ys logo" id="logo" />
<a id="a-title" href="/">
<h1>Cyb3rM0nk3ys</h1>
</a>
<h2>Cyb3rM0nk3ys is a CTF team based in Verona.</h2>

<a href="/">
Home</a>
<a href="/members">
Monkeys</a>
<a href="/join">
Join us</a>
</div>
</div>
</header>
50 changes: 50 additions & 0 deletions _includes/monkey-ascii.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@

██
██ ██████████ ████████████
██████████▒▒▒▒▒▒▒▒▒▒████████▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒ flag{ REDACTED } ▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒████████████▒▒██
████▒▒▒▒▒▒█████ ████████ ████
███████████ ██
██
██
██
██ ████████████████
██ ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒████
██ ▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▓
██ ██▒▒██████████▓▓▓▓▒▒▒▒▓▓▓▓██
██ ████ ░░ ░░░░████▓▓▒▒▒▒▓▓▓▓██
██ ██░░░░░░░░░░░░▒▒██▓▓▒▒▒▒▒▒▓▓▓▓██
██ ██████░░░░██████████▓▓▒▒████▓▓▓▓██
██ ██░░██░░ ░░██░░▒▒██▓▓██░░██▒▒▓▓██
██ ██ ░░░░░░░░ ░░░░▒▒████▓▓████▒▒▓▓▓▓██
██ ██ ██░░██ ░░ ░░░░████▓▓▒▒▒▒▒▒▓▓████
██ ██ ░░░░░░░░██▒▒▓▓▒▒▒▒████████
██ ████████░░ ░░░░░░░░░░░░░░████▓▓▒▒▒▒████▓▓████
██ ██░░░░░░░░░░░░░░░░░░░░░░░░▒▒████▒▒▒▒██▓▓▒▒▒▒▓▓████
██ ██░░░░░░▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓██▓▓
██ ██████████████████████████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓██
██ ██▒▒██▓▓▓▓██████████████▓▓▓▓▒▒▓▓▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒████
██████ ██▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒██▓▓▓▓▒▒▒▒▒▒▒▒▓▓████
██ ██ ██▒▒▒▒▒▒▒▒▒▒▒▒████████████▒▒▓▓▒▒▒▒▒▒▒▒▒▒██▓▓▓▓▒▒▒▒▒▒▒▒▓▓████
██░░ ░░░░████▒▒▒▒▒▒▒▒▒▒▒▒██░░░░░░░░░░░░████▒▒▒▒▒▒▒▒▒▒▓▓██▓▓▓▓▒▒▒▒▒▒▒▒▓▓████
██ ░░░░██████▒▒▒▒▒▒██▒▒▒▒██░░ ░░░░░░████▒▒▒▒▒▒▒▒▓▓████▓▓▓▓▒▒▒▒▒▒▒▒▓▓██
██░░░░████▒▒▒▒██▒▒▓▓██▒▒██░░▒▒░░██ ░░▒▒░░░░██▒▒▓▓▒▒▓▓██████████▒▒▒▒▓▓▒▒▓▓██
████████▒▒▒▒▓▓▓▓▓▓██▒▒████████▒▒████████████▒▒▓▓▓▓██████████████▒▒▒▒▒▒▒▒▓▓
██▒▒██▒▒▒▒▒▒▓▓▓▓████▓▓▒▒████ ░░██████▓▓▓▓▓▓██▒▒▒▒▒▒▓▓██████▓▓▒▒████▓▓
██▒▒██▒▒▒▒▓▓████████▓▓▒▒██ ░░ ░░░░██▓▓▓▓▓▓██▒▒▒▒▒▒▒▒▓▓▓▓████████░░░░██
██▒▒▓▓▓▓██████▓▓▓▓██▒▒██ ░░░░░░████▓▓██▒▒▒▒██▒▒▒▒████▓▓████░░░░░░██
████████████████▓▓▓▓██ ██░░░░░░████▓▓██▒▒██░░████▓▓██▓▓██░░██░░▒▒██
██████░░████▓▓▓▓██░░░░░░░░████▓▓██▒▒▒▒████ ██████████████░░▒▒██
██░░████░░██▓▓▓▓██░░░░░░████▓▓▓▓██▒▒▒▒██ ██░░██████ ██░░██
████ ░░░░████▓▓▓▓██████████▓▓████▒▒██░░ ░░░░████ ██░░██
██░░ ░░██████▓▓▓▓██████████████▒▒██ ░░░░████ ██
██░░░░▒▒████████████████████████ ░░▒▒████░░░░░░
░░░░░░██░░▒▒████████████████████████░░▒▒████░░░░░░░░░░░░░░░░
░░░░░░████░░░░░░░░░░░░░░░░░░░░░░░░████░░░░░░░░░░░░░░░░
5 changes: 2 additions & 3 deletions _layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
<html lang="{{ site.lang | default: " en-US" }}">

<head>

{% include head-custom.html %}

{% seo %}
</head>

<body>
{% include header.html %}
<div class="container">
<center>
<b>
Expand Down Expand Up @@ -63,4 +62,4 @@ <h1>404 ~ banana not found</h1>

</body>

</html>
</html>
7 changes: 5 additions & 2 deletions _layouts/achievement.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@
<head>

{% include head-custom.html %}

{% seo %}
</head>

<body>
{% include header.html %}
<div class="container">
<section id="writeup">
<small>{{ page.date | date: "%-d %B %Y" }}</small>
<h1><b>{{ page.title }}</b></h1>
<hr>
{{content}}
</section>
</section>
</div>
</body>
57 changes: 4 additions & 53 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,67 +1,18 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: " en-US" }}">
<html lang='{{ site.lang | default: "en-US" }}'>

<head>
{% include head-custom.html %}
{% seo %}
</head>

<body>
{% include header.html %}
<div class="container">
<section id="main_content">
<div id="ascii-art"></div>
<div id="left-column">
<pre>
██
██ ██████████ ████████████
██████████▒▒▒▒▒▒▒▒▒▒████████▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒ flag{ REDACTED } ▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒ ▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██
████▒▒▒▒▒▒▒▒▒▒██████▒▒▒▒▒▒▒▒████████████▒▒██
████▒▒▒▒▒▒█████ ████████ ████
███████████ ██
██
██
██
██ ████████████████
██ ██▒▒▒▒▒▒▒▒▒▒▒▒▒▒████
██ ▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▓
██ ██▒▒██████████▓▓▓▓▒▒▒▒▓▓▓▓██
██ ████ ░░ ░░░░████▓▓▒▒▒▒▓▓▓▓██
██ ██░░░░░░░░░░░░▒▒██▓▓▒▒▒▒▒▒▓▓▓▓██
██ ██████░░░░██████████▓▓▒▒████▓▓▓▓██
██ ██░░██░░ ░░██░░▒▒██▓▓██░░██▒▒▓▓██
██ ██ ░░░░░░░░ ░░░░▒▒████▓▓████▒▒▓▓▓▓██
██ ██ ██░░██ ░░ ░░░░████▓▓▒▒▒▒▒▒▓▓████
██ ██ ░░░░░░░░██▒▒▓▓▒▒▒▒████████
██ ████████░░ ░░░░░░░░░░░░░░████▓▓▒▒▒▒████▓▓████
██ ██░░░░░░░░░░░░░░░░░░░░░░░░▒▒████▒▒▒▒██▓▓▒▒▒▒▓▓████
██ ██░░░░░░▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓██▓▓
██ ██████████████████████████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓██
██ ██▒▒██▓▓▓▓██████████████▓▓▓▓▒▒▓▓▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒████
██████ ██▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒██▓▓▓▓▒▒▒▒▒▒▒▒▓▓████
██ ██ ██▒▒▒▒▒▒▒▒▒▒▒▒████████████▒▒▓▓▒▒▒▒▒▒▒▒▒▒██▓▓▓▓▒▒▒▒▒▒▒▒▓▓████
██░░ ░░░░████▒▒▒▒▒▒▒▒▒▒▒▒██░░░░░░░░░░░░████▒▒▒▒▒▒▒▒▒▒▓▓██▓▓▓▓▒▒▒▒▒▒▒▒▓▓████
██ ░░░░██████▒▒▒▒▒▒██▒▒▒▒██░░ ░░░░░░████▒▒▒▒▒▒▒▒▓▓████▓▓▓▓▒▒▒▒▒▒▒▒▓▓██
██░░░░████▒▒▒▒██▒▒▓▓██▒▒██░░▒▒░░██ ░░▒▒░░░░██▒▒▓▓▒▒▓▓██████████▒▒▒▒▓▓▒▒▓▓██
████████▒▒▒▒▓▓▓▓▓▓██▒▒████████▒▒████████████▒▒▓▓▓▓██████████████▒▒▒▒▒▒▒▒▓▓
██▒▒██▒▒▒▒▒▒▓▓▓▓████▓▓▒▒████ ░░██████▓▓▓▓▓▓██▒▒▒▒▒▒▓▓██████▓▓▒▒████▓▓
██▒▒██▒▒▒▒▓▓████████▓▓▒▒██ ░░ ░░░░██▓▓▓▓▓▓██▒▒▒▒▒▒▒▒▓▓▓▓████████░░░░██
██▒▒▓▓▓▓██████▓▓▓▓██▒▒██ ░░░░░░████▓▓██▒▒▒▒██▒▒▒▒████▓▓████░░░░░░██
████████████████▓▓▓▓██ ██░░░░░░████▓▓██▒▒██░░████▓▓██▓▓██░░██░░▒▒██
██████░░████▓▓▓▓██░░░░░░░░████▓▓██▒▒▒▒████ ██████████████░░▒▒██
██░░████░░██▓▓▓▓██░░░░░░████▓▓▓▓██▒▒▒▒██ ██░░██████ ██░░██
████ ░░░░████▓▓▓▓██████████▓▓████▒▒██░░ ░░░░████ ██░░██
██░░ ░░██████▓▓▓▓██████████████▒▒██ ░░░░████ ██
██░░░░▒▒████████████████████████ ░░▒▒████░░░░░░
░░░░░░██░░▒▒████████████████████████░░▒▒████░░░░░░░░░░░░░░░░
░░░░░░████░░░░░░░░░░░░░░░░░░░░░░░░████░░░░░░░░░░░░░░░░
</pre>
<pre>{% include monkey-ascii.txt %}</pre>
</div>
<div id="right-column">
{{ content }}
Expand All @@ -70,4 +21,4 @@
</div>
</body>

</html>
</html>
7 changes: 6 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
</head>

<body>
{% include header.html %}

<div class="container">
<section id="writeup">
<small>{{ page.date | date: "%-d %B %Y" }}</small>
Expand All @@ -20,4 +22,7 @@ <h1><b>{{ page.title }}</b></h1>
{% if page.tags %}
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
{% endif %}
</section>
</section>
</div>

</body>
1 change: 1 addition & 0 deletions _sass/jekyll-theme-hacker.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import "rouge-base16-dark";
@import "default_colors";
@import "typed";
@import "style";

$body-background: $cod-grey !default;
$body-foreground: $gallery !default;
Expand Down
9 changes: 9 additions & 0 deletions _sass/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#logo {
width: 7%;
height: 7%;
}

#header {
text-align: center;
width: 100%;
}
5 changes: 3 additions & 2 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
---


@import 'jekyll-theme-hacker';


Loading

0 comments on commit 850d3d4

Please sign in to comment.