Improve typography

This commit is contained in:
Lorin Werthen 2018-03-08 22:44:19 +01:00
parent 1a7de28ca9
commit aaec026f4a
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
5 changed files with 14 additions and 1 deletions

View file

@ -8,6 +8,7 @@ gem 'coffee-script'
gem 'icalendar' # ical files gem 'icalendar' # ical files
gem 'kramdown' gem 'kramdown'
gem 'sass' gem 'sass'
gem 'typogruby'
# Needed for atom_feed in blogging helper # Needed for atom_feed in blogging helper
gem 'builder' gem 'builder'

View file

@ -94,6 +94,7 @@ GEM
ffi (>= 0.5.0, < 2) ffi (>= 0.5.0, < 2)
ref (2.0.0) ref (2.0.0)
ruby_dep (1.5.0) ruby_dep (1.5.0)
rubypants (0.7.0)
sass (3.5.5) sass (3.5.5)
sass-listen (~> 4.0.0) sass-listen (~> 4.0.0)
sass-listen (4.0.0) sass-listen (4.0.0)
@ -107,6 +108,8 @@ GEM
libv8 (~> 3.16.14.15) libv8 (~> 3.16.14.15)
ref ref
thor (0.20.0) thor (0.20.0)
typogruby (1.0.18)
rubypants
uglifier (2.7.2) uglifier (2.7.2)
execjs (>= 0.3.0) execjs (>= 0.3.0)
json (>= 1.8.0) json (>= 1.8.0)
@ -134,6 +137,7 @@ DEPENDENCIES
terminal-notifier terminal-notifier
terminal-notifier-guard terminal-notifier-guard
therubyracer therubyracer
typogruby
w3c_validators w3c_validators
words_counted words_counted

2
Rules
View file

@ -84,6 +84,8 @@ compile '/blog/*/*' do
layout '/generic.*' layout '/generic.*'
layout '/default.*' layout '/default.*'
filter :erb filter :erb
filter :typogruby
end end
compile '/blog/*/*', rep: :text do compile '/blog/*/*', rep: :text do

View file

@ -8,6 +8,12 @@ pre .line-numbers {
margin-left: -10px; margin-left: -10px;
} }
.caps {
text-transform: uppercase;
font-size: 85%;
letter-spacing: 1px;
}
// Override box styling without round corners // Override box styling without round corners
.box { .box {
margin-bottom:10px; margin-bottom:10px;

View file

@ -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 * Client sends the randomly generated client nonce to the server
* Server replies with a randomly generated server nonce. * 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 client sends a flag request to the server, which requires a password. Unfortunately this password is encrypted.
* The server responds with the (encrypted) flag * The server responds with the (encrypted) flag