diff --git a/Gemfile b/Gemfile index df22901..ca9cbca 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,7 @@ gem 'coffee-script' gem 'icalendar' # ical files gem 'kramdown' gem 'sass' +gem 'typogruby' # Needed for atom_feed in blogging helper gem 'builder' diff --git a/Gemfile.lock b/Gemfile.lock index 157a130..b5e2cf1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -94,6 +94,7 @@ GEM ffi (>= 0.5.0, < 2) ref (2.0.0) ruby_dep (1.5.0) + rubypants (0.7.0) sass (3.5.5) sass-listen (~> 4.0.0) sass-listen (4.0.0) @@ -107,6 +108,8 @@ GEM libv8 (~> 3.16.14.15) ref thor (0.20.0) + typogruby (1.0.18) + rubypants uglifier (2.7.2) execjs (>= 0.3.0) json (>= 1.8.0) @@ -134,6 +137,7 @@ DEPENDENCIES terminal-notifier terminal-notifier-guard therubyracer + typogruby w3c_validators words_counted diff --git a/Rules b/Rules index 9b74250..e39b722 100644 --- a/Rules +++ b/Rules @@ -84,6 +84,8 @@ compile '/blog/*/*' do layout '/generic.*' layout '/default.*' filter :erb + + filter :typogruby end compile '/blog/*/*', rep: :text do diff --git a/content/assets/stylesheets/includes/general.scss b/content/assets/stylesheets/includes/general.scss index b3c8a4d..13aed47 100644 --- a/content/assets/stylesheets/includes/general.scss +++ b/content/assets/stylesheets/includes/general.scss @@ -8,6 +8,12 @@ pre .line-numbers { margin-left: -10px; } +.caps { + text-transform: uppercase; + font-size: 85%; + letter-spacing: 1px; +} + // Override box styling without round corners .box { margin-bottom:10px; diff --git a/content/blog/17-18/cscbe.md b/content/blog/17-18/cscbe.md index 14f1ebe..04a0fa4 100644 --- a/content/blog/17-18/cscbe.md +++ b/content/blog/17-18/cscbe.md @@ -30,7 +30,7 @@ The zip file contains the code ran on the server and the client. The client and * Client sends the randomly generated client nonce to the server * Server replies with a randomly generated server nonce. - - The session key (all following communications will use this key) is now HMAC_SHA256(secret_key, "CSCBE18 Session Key Generation" || client_nonce || server_nonce) + - The session key (all following communications will use this key) is now `HMAC_SHA256(secret_key, "CSCBE18 Session Key Generation" || client_nonce || server_nonce)` * The client sends a flag request to the server, which requires a password. Unfortunately this password is encrypted. * The server responds with the (encrypted) flag