Skip to content

Commit

Permalink
Feature/redesign (#9)
Browse files Browse the repository at this point in the history
redesign

* initial redesign

* update favicon

* adjust blockquote padding

* adjust title letter spacing, make metadata styling consistent

* adjust vertical spacing on writeups list

* update footer

* decrease logo size

* decrease space between post excerpt and metadata

* adjust code preview and round corners

* add new logo

* initial feedback response

* initial feedback response

* make writeup titles consistent

* add authors to metadata, adjust current writeups

* correct vincctf date

* small updates

* add rss

* footer adjustments
  • Loading branch information
jmhrpr authored and Josh-00FF00 committed Sep 6, 2019
1 parent d72b666 commit 66c8565
Show file tree
Hide file tree
Showing 65 changed files with 138 additions and 141 deletions.
5 changes: 3 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Site settings
title: Cr0wn
description: "The UK's Top CTF Team"
title: the cr0wn
description: "The UKs Top Competitive Cyber Security Team"
url: 'https://cr0wn.uk'
baseurl: ''
# google_analytics: 'UA-XXXXXX-X'
Expand All @@ -9,6 +9,7 @@ baseurl: ''
author:
name: 'The Cr0wn'
email: [email protected]
twitter_username: cr0wn
github_username: cr0wnctf

defaults:
Expand Down
5 changes: 4 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<footer class="footer">
<span class="footer__copyright">&copy; {{ site.time | date: '%Y' }} {{ site.author.name }}. All rights reserved.</span>
<span class="footer__copyright">&copy; {{ site.time | date: '%Y' }} {{ site.author.name }}. All rights reserved.
<a href="{{ site.baseurl }}/feed.xml" title="Subscribe" target="_blank">
<i class="icon icon-rss" style="font-size:1.1em; margin-left:5px; opacity:.6"></i>
</a></span>
</footer>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Expand Down
16 changes: 3 additions & 13 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,22 @@
<i class="icon icon-x-circle btn-mobile-close__icon hidden"></i>
</span>

<header class="panel-cover" style="background-image: url({{ site.baseurl }}/images/cover.jpg)">
<header class="panel-cover">
<div class="panel-main">

<div class="panel-main__inner panel-inverted">
<div class="panel-main__content">
<a href="{{ site.baseurl }}/" title="link to home of {{ site.title }}">
<img src="{{ site.baseurl }}/images/profile.png" class="user-image" alt="My Profile Photo">
<img src="{{ site.baseurl }}/images/logo.png" class="crown-logo" alt="My Profile Photo">
<h1 class="panel-cover__title panel-title">{{ site.title }}</h1>
</a>
<hr class="panel-cover__divider">
<p class="panel-cover__description">{{ site.description }}</p>
<hr class="panel-cover__divider panel-cover__divider--secondary">

<div class="navigation-wrapper">

<nav class="cover-navigation cover-navigation--primary">
<ul class="navigation">
<li class="navigation__item"><a href="{{ site.baseurl }}/#blog" title="link to {{ site.title }} blog" class="blog-button">Blog</a></li>
<li class="navigation__item"><a href="{{ site.baseurl }}/#writeups" title="link to {{ site.title }} writeups" class="blog-button">writeups</a></li>
</ul>
</nav>

Expand Down Expand Up @@ -77,14 +75,6 @@ <h1 class="panel-cover__title panel-title">{{ site.title }}</h1>
</li>
{% endif %}

<!-- RSS -->
<li class="navigation__item">
<a href="{{ site.baseurl }}/feed.xml" title="Subscribe" target="_blank">
<i class="icon icon-rss"></i>
<span class="label">RSS</span>
</a>
</li>

</ul>
</nav>

Expand Down
2 changes: 1 addition & 1 deletion _includes/pagination.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav class="pagination" role="navigation">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/#blog" title="Previous Page">← Newer Posts</a>
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/#writeups" title="Previous Page">← Newer Posts</a>
{% else %}
<a rel="prev" class="posts newer btn small" href="{{ site.baseurl }}/page{{ paginator.previous_page }}/">← Newer Posts</a>
{% endif %}
Expand Down
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<div class="content-wrapper__inner">
{{ content }}
</div>

{% include footer.html %}
</div>
</body>
Expand Down
10 changes: 8 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
<article class="post-container post-container--single">
<header class="post-header">
<div class="post-meta">
<time datetime="{{ page.date | date: "%Y-%m-%d %H:%M" }}" class="post-meta__date date">{{ page.date | date: "%-d %b %Y" }}</time>

<time datetime="{{ page.date | date: "%Y-%m-%d %H:%M" }}" class="post-meta__date date">
{% if page.authors.size > 0 %}
by <span style="font-weight: bold; color:#868686">
{{ page.authors | array_to_sentence_string }}</span> on
{% endif %}
{{ page.date | date: "%-d %b %Y" }}</time>
{% if page.tags.size > 0 %}
&#8226; <span class="post-meta__tags">on {% for tag in page.tags %}<a href="{{ site.baseurl }}/tags/#{{ tag }}">{{ tag }}</a> {% endfor %}</span>
<span class="post-meta__tags">/ {% for tag in page.tags %}<a href="{{ site.baseurl }}/tags/#{{ tag }}">{{ tag }} </a>/ {% endfor %}</span>
{% endif %}
</div>
<h1 class="post-title">{{ page.title }}</h1>
Expand Down
4 changes: 2 additions & 2 deletions _posts/2018-11-29-seccon_ghostkingdom.markdown
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: "SECCON Ghostkingdom Writeup"
title: "SECCON 2018: Ghostkingdom (web)"
date: 2018-11-29
categories: [writeup]
tags: [writeups, web]
authors: ["0x6e6576657220676f6e6e61", p4wn, $udo]
---
**Solved by: 0x6e6576657220676f6e6e61, p4wn, $ud0**

This is a writeup of the Ghostkingdom web challenge from SECCON 2018 Online CTF.

Expand Down
4 changes: 2 additions & 2 deletions _posts/2019-02-01-vincctf.markdown
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
title: "VincCTF Writeup"
title: "VincCTF 2018"
date: 2019-02-01
categories: [writeup]
tags: [writeups, crypto]
authors: [hyperreality]
---
*Author: hyperreality*

This was a very enjoyable cryptography-only CTF. It explored common implementation errors in modern cryptosystems, with a focus on elliptic curve signatures, broken combination ciphers, and cryptocurrencies.

Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-04-18-plaid-triggered.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "PlaidCTF 2019 - Triggered"
title: "PlaidCTF 2019: Triggered (web)"
date: 2019-04-18
categories: [writeup]
tags: [writeups, web]
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-04-18-wpictf-breakingin.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "WPICTF 2019 - breakingin - pwn 500"
title: "WPICTF 2019: breakingin (pwn)"
date: 2019-04-18
categories: [writeup]
tags: [writeups, pwn]
Expand Down
5 changes: 2 additions & 3 deletions _posts/2019-05-14-defcon-babyheap.markdown
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: "DEF CON CTF Quals 2019 - babyheap (pwn)"
title: "DEF CON CTF 2019 Quals: babyheap (pwn, 88 solves)"
date: 2019-05-14
categories: [writeup]
tags: [writeups, pwn]
authors: [brnby]
---

*Author: brnby*

This weekend I competed in the DEF CON qualifiers with my CTF team **the cr0wn**. We also joined forces with #2 ranking UK team **EmpireCTF**, playing under the name **EmpireCr0wn**. I solved the *babyheap* challenge, which had a total of 88 solves and was worth 112 points.

## babyheap overview
Expand Down
5 changes: 2 additions & 3 deletions _posts/2019-06-23-google-jit.markdown
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
---
title: "Google CTF 2019 - JIT (pwn)"
title: "Google CTF 2019 Quals: JIT (pwn)"
date: 2019-05-14
categories: [writeup]
tags: [writeups, pwn]
authors: [brnby]
---

*Author: brnby*

> We read on the internet that Java is slow so we came up with the solution to speed up some computations!
The challenge takes text-based input and translates it at runtime into native x86 instructions before executing them. The input looks like this:
Expand Down
5 changes: 2 additions & 3 deletions _posts/2019-06-24-writeup-gctf19quals-sandstone.markdown
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
layout: post
title: "Google CTF 2019 (Quals): Sandstone (Sandbox, 383 pts, 8 solves)"
title: "Google CTF 2019 Quals: Sandstone (sandbox, 8 solves)"
date: 2019-06-24 16:00:00 +0100
categories: [writeup]
tags: [writeups, pwn, rust, seccomp, sandbox]
authors: [Vtec234]
---

*Author: Vtec234*

At 00:58 local time, two minutes before the end of the qualifiers for Google CTF 2019, drenched in sweat and shaking, I launched my exploit.

Time: T-90s \| Remote is compiling my code, sloooowllllly.
Expand Down
2 changes: 1 addition & 1 deletion _posts/2019-08-25-chaos-communication-camp-2019.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: "Chaos Communication Camp 2019"
date: 2019-08-25
categories: [writeup]
tags: [writeups, crypto]
authors: [hyperreality]
---
*Author: hyperreality*

## Prejudiced Randomness 1

Expand Down
4 changes: 2 additions & 2 deletions _sass/monokai.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pre.highlight,
.highlight pre { background-color: #272822; }
.highlight .hll { background-color: #272822; }
.highlight pre { background-color: #292929; }
.highlight .hll { background-color: #292929; }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
Expand Down
Loading

0 comments on commit 66c8565

Please sign in to comment.