Skip to content

Commit

Permalink
Added a GitHub banner per kevquirk#394
Browse files Browse the repository at this point in the history
  • Loading branch information
kevquirk committed Jun 6, 2021
1 parent 0c15e26 commit 33cb585
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"
gem "jekyll"
gem 'tzinfo-data'

# Plugins
group :jekyll_plugins do
Expand Down
7 changes: 6 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.8)
concurrent-ruby (1.1.9)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
Expand Down Expand Up @@ -63,6 +63,10 @@ GEM
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
tzinfo-data (1.2021.1)
tzinfo (>= 1.0.0)
unicode-display_width (1.7.0)
webrick (1.7.0)

Expand All @@ -74,6 +78,7 @@ DEPENDENCIES
jekyll
jekyll-seo-tag
jekyll-sitemap
tzinfo-data
webrick (~> 1.7)

BUNDLED WITH
Expand Down
67 changes: 67 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,74 @@
<a name="top"></a>

<header>
<div class="title-banner">
<h1>The 512KB Club</h1>
</div>
<div class="gh-banner">
<a href="https://github.com/kevquirk/512kb.club" target="blank"><svg height="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 23">
<path fill="var(--text)" fill-opacity="1" d="M 12.00,0.00
C 5.37,0.00 0.00,5.27 0.00,11.78
0.00,16.98 3.44,21.39 8.21,22.95
8.81,23.06 9.03,22.69 9.03,22.38
9.03,22.10 9.02,21.18 9.01,20.19
5.67,20.90 4.97,18.80 4.97,18.80
4.42,17.44 3.63,17.08 3.63,17.08
2.55,16.35 3.72,16.36 3.72,16.36
4.92,16.45 5.56,17.58 5.56,17.58
6.63,19.38 8.36,18.86 9.05,18.56
9.16,17.79 9.47,17.27 9.81,16.98
7.14,16.68 4.34,15.67 4.34,11.16
4.34,9.88 4.81,8.82 5.58,8.00
5.45,7.70 5.04,6.51 5.70,4.88
5.70,4.88 6.70,4.57 9.00,6.09
9.95,5.83 10.98,5.70 12.00,5.69
13.02,5.70 14.05,5.83 15.01,6.09
17.30,4.57 18.30,4.88 18.30,4.88
18.96,6.51 18.55,7.70 18.42,8.00
19.19,8.82 19.66,9.88 19.66,11.16
19.66,15.68 16.85,16.68 14.18,16.97
14.61,17.34 14.99,18.05 14.99,19.15
14.99,20.73 14.98,22.00 14.98,22.38
14.98,22.70 15.19,23.06 15.80,22.95
20.57,21.39 24.00,16.98 24.00,11.78
24.00,5.27 18.63,0.00 12.00,0.00 Z
M 4.49,16.78
C 4.47,16.83 4.37,16.85 4.29,16.81
4.20,16.77 4.15,16.69 4.18,16.63
4.21,16.57 4.30,16.56 4.39,16.60
4.47,16.64 4.52,16.72 4.49,16.78 Z
M 5.08,17.29
C 5.03,17.34 4.92,17.32 4.84,17.24
4.76,17.16 4.75,17.05 4.80,16.99
4.86,16.94 4.97,16.97 5.05,17.05
5.13,17.13 5.14,17.24 5.08,17.29 Z
M 5.49,17.95
C 5.42,18.00 5.30,17.96 5.22,17.85
5.15,17.75 5.15,17.62 5.22,17.57
5.30,17.52 5.42,17.57 5.49,17.67
5.56,17.78 5.56,17.90 5.49,17.95 Z
M 6.17,18.72
C 6.11,18.79 5.97,18.77 5.87,18.67
5.76,18.58 5.73,18.44 5.80,18.37
5.86,18.30 6.01,18.32 6.11,18.42
6.21,18.51 6.24,18.65 6.17,18.72 Z
M 7.06,18.98
C 7.03,19.07 6.90,19.11 6.76,19.07
6.62,19.03 6.54,18.92 6.56,18.83
6.59,18.74 6.73,18.69 6.86,18.74
7.00,18.78 7.09,18.88 7.06,18.98 Z
M 8.07,19.09
C 8.07,19.18 7.96,19.27 7.81,19.27
7.67,19.27 7.55,19.19 7.55,19.10
7.55,19.00 7.66,18.92 7.81,18.92
7.95,18.91 8.07,18.99 8.07,19.09 Z
M 9.06,19.05
C 9.07,19.15 8.97,19.24 8.83,19.27
8.69,19.29 8.56,19.23 8.55,19.14
8.53,19.04 8.63,18.95 8.77,18.92
8.91,18.90 9.04,18.95 9.06,19.05 Z"></path>
</svg> Find us on GitHub</a>
</div>
</header>

<main>
Expand Down
22 changes: 21 additions & 1 deletion assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
--pre: #D0D0D0;
--pre-bg: #1A1A1A;
--accent: #e6e6e6;
--gh-hover: #D3D3D3;
--before-blue: #64B5F6;
--after-blue: #BBDEFB;
--before-orange: #FBC02D;
Expand All @@ -29,6 +30,7 @@
--text: #EEE;
--link: #64B5F6;
--accent: #333;
--gh-hover: #222;
--code: #F06292;
}

Expand Down Expand Up @@ -62,7 +64,25 @@ footer {
width: 100%;
}

header {
.gh-banner a {
text-align: center;
font-size: 1.5rem;
font-weight: bold;
background: var(--accent);
margin-top: .5rem;
padding: .5rem 0;
border-radius: 5px;
border: 1px solid var(--text);
display: block;
text-decoration: none;
color: var(--text) !important;
}

.gh-banner a:hover {
background: var(--gh-hover);
}

.title-banner {
background: var(--header-bg);
color: var(--header-text);
border-radius: 5px;
Expand Down
6 changes: 6 additions & 0 deletions assets/images/github-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 33cb585

Please sign in to comment.