-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a35728
commit 5916c9f
Showing
14 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
- name: C3TF v2.23 | ||
img: /hacking/static/img/writeups/ctfs/c3tf_v2.23.png | ||
file: /hacking/static/files/writeups/ctfs/2023-03-29_C3TF_v.2.23.pdf | ||
date: ['29','03','2023'] | ||
- name: Cibergal | ||
img: /hacking/static/img/writeups/ctfs/Cibergal.png | ||
file: /hacking/static/files/writeups/ctfs/2021-11-10_Cibergal.pdf | ||
date: ['10','11','2021'] | ||
- name: DEADFACE | ||
img: /hacking/static/img/writeups/ctfs/DEADFACE_2021.png | ||
file: /hacking/static/files/writeups/ctfs/2021-10-15_DEADFACE_CTF.pdf | ||
date: ['15','10','2021'] | ||
- name: DECONSTRUCT.F | ||
img: /hacking/static/img/writeups/ctfs/DECONSTRUCT.F.png | ||
file: /hacking/static/files/writeups/ctfs/2021-10-01_DeconstruCT.F.pdf | ||
date: ['01','10','2021'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
@import "../../../../src/scss/colors"; | ||
|
||
$color-writeup-title: rgb(224, 221, 59); | ||
$color-writeup-date: white; | ||
$writeup-width: 15em; | ||
|
||
.writeups { | ||
display: flex; | ||
flex-flow: row wrap; | ||
justify-content: center; | ||
align-items: center; | ||
|
||
margin: 10px auto; | ||
|
||
a.writeup { | ||
display: flex; | ||
flex-flow: column nowrap; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
box-sizing: border-box; | ||
width: $writeup-width; | ||
height: $writeup-width; | ||
padding: 5px; | ||
border: 3px solid $color-ipau; | ||
border-radius: 15px; | ||
margin: 1%; | ||
|
||
background-color: black; | ||
|
||
text-overflow: ellipsis; | ||
text-decoration: none; | ||
|
||
.writeup-title { | ||
height: 10%; | ||
color: $color-writeup-title; | ||
text-overflow: clip; | ||
font-size: 1.5em; | ||
} | ||
|
||
.writeup-img { | ||
max-width: 90%; | ||
max-height: 70%; | ||
|
||
&:hover, | ||
&:focus { | ||
max-width: 80%; | ||
max-height: 60%; | ||
} | ||
} | ||
|
||
.writeup-date { | ||
height: 10%; | ||
color: $color-writeup-date; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
&:hover, | ||
&:focus { | ||
border-color: green; | ||
background-color: #202020; | ||
box-shadow: 0em 0em 0.2em 0.1em green; | ||
} | ||
|
||
@media screen and (max-width: 425px) { | ||
& { | ||
width: 45vw; | ||
height: 45vw; | ||
|
||
.writeup-title { | ||
height: 1em; | ||
font-size: 1em; | ||
} | ||
} | ||
} | ||
} | ||
} |
Binary file added
BIN
+569 KB
src/web/blueprints/hacking/static/files/writeups/ctfs/2021-10-01_DeconstruCT.F.pdf
Binary file not shown.
Binary file added
BIN
+4.51 MB
src/web/blueprints/hacking/static/files/writeups/ctfs/2021-10-15_DEADFACE_CTF.pdf
Binary file not shown.
Binary file added
BIN
+1.04 MB
src/web/blueprints/hacking/static/files/writeups/ctfs/2021-11-10_Cibergal.pdf
Binary file not shown.
Binary file added
BIN
+129 KB
src/web/blueprints/hacking/static/files/writeups/ctfs/2023-03-29_C3TF_v.2.23.pdf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.31 KB
src/web/blueprints/hacking/static/img/writeups/ctfs/DECONSTRUCT.F.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% extends 'base_head.html' %} | ||
|
||
{% block title -%}Hacking | {{ super() }}{% endblock title %} | ||
|
||
{% block style -%} | ||
{{ super() }} | ||
<link rel="stylesheet" type="text/css" href="/{{ blueprint }}/static/css/hacking.css"> | ||
{%- endblock style %} |
10 changes: 10 additions & 0 deletions
10
src/web/blueprints/hacking/templates/includes/writeups_ctfs.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="writeups"> | ||
{%- for writeup in writeups %} | ||
<a class="writeup" href="{{ writeup.file }}"> | ||
<span class="writeup-title">{{ writeup.name }}</span> | ||
<img class="writeup-img" src="{{ writeup.img }}" alt="{{ writeup.name }} logo"> | ||
{% set ctf_day,ctf_month,ctf_year = writeup.date[0],writeup.date[1],writeup.date[2] -%} | ||
<span class="writeup-date"><time datetime="{{ctf_year}}-{{ctf_month}}-{{ctf_day}}">{{ctf_day}}/{{ctf_month}}/{{ctf_year}}</time></span> | ||
</a> | ||
{%- endfor %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% extends 'layout.html' %} | ||
|
||
{% block head %}{% include "includes/head.html" %}{% endblock head %} | ||
|
||
{% block content -%} | ||
|
||
<main> | ||
<h1>Hacking</h1> | ||
<article> | ||
<h2 id="writeups">Write Ups</h2> | ||
<section> | ||
<h3 id="ctfs">CTFs</h3> | ||
{% filter indent(width=12) -%} | ||
{% include "includes/writeups_ctfs.html" %} | ||
{%- endfilter %} | ||
</section> | ||
</article> | ||
</main> | ||
|
||
{%- endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters