Slide 1

Slide 1 text

Rhythm & Proportion: think more, do less xavier bertels · @xavez fronteers ghent (wijs) · juli 2012

Slide 2

Slide 2 text

1. Getting the basics right

Slide 3

Slide 3 text

s s

Slide 4

Slide 4 text

s s sans-serif serif

Slide 5

Slide 5 text

s s sans-serif serif

Slide 6

Slide 6 text

s s sans-serif serif

Slide 7

Slide 7 text

Makes no sense.

Slide 8

Slide 8 text

W3C: Serif Sans-serif

Slide 9

Slide 9 text

W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 10

Slide 10 text

Times New Helvetica Brush Script Papyrus Courier W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 11

Slide 11 text

Didot W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 12

Slide 12 text

Didot Optima W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 13

Slide 13 text

Didot Optima I am sorry W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 14

Slide 14 text

Didot Optima I am sorry Fraktur W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 15

Slide 15 text

Didot Optima I am sorry Fraktur Anonymous W3C: Serif Sans-serif Cursive Fantasy Monospace

Slide 16

Slide 16 text

http://dev.w3.org/csswg/css3-fonts/#generic-font-families

Slide 17

Slide 17 text

What a mess.

Slide 18

Slide 18 text

“16px is a good minimum size for body copy”

Slide 19

Slide 19 text

Your bones don’t break, mine do. That’s clear. Your cells re- act to bacteria and viruses dif- ferently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However un- real it may seem, we are con- nected, you and I. We’re on the same curve, just on oppo- Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and vi- ruses differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the ex- act same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends.

Slide 20

Slide 20 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and vi- ruses differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the ex- act same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and viruses differ- ently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may

Slide 21

Slide 21 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and viruses differ- ently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may Your bones don’t break, mine do. That’s clear. Your cells re- act to bacteria and viruses dif- ferently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However un- real it may seem, we are con- nected, you and I. We’re on the same curve, just on oppo-

Slide 22

Slide 22 text

Ha Ha 144pt Times 144pt Bernhard

Slide 23

Slide 23 text

Ha Ha 144pt Times 144pt Bernhard

Slide 24

Slide 24 text

144pt Times 144pt Bernhard Ha Ha

Slide 25

Slide 25 text

Why does it matter?

Slide 26

Slide 26 text

95% of what we do revolves around text . . . – Oliver Reichenstein

Slide 27

Slide 27 text

. . . and it puts focus on the wrong properties. – Me

Slide 28

Slide 28 text

Forget about serif and sans-serif. What should we look at?

Slide 29

Slide 29 text

2. x-height & modulation

Slide 30

Slide 30 text

x-height: defines vertical rhythm

Slide 31

Slide 31 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and viruses differ- ently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may Your bones don’t break, mine do. That’s clear. Your cells re- act to bacteria and viruses dif- ferently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However un- real it may seem, we are con- nected, you and I. We’re on the same curve, just on oppo-

Slide 32

Slide 32 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and viruses differ- ently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may Your bones don’t break, mine do. That’s clear. Your cells re- act to bacteria and viruses dif- ferently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However un- real it may seem, we are con- nected, you and I. We’re on the same curve, just on oppo-

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and viruses differ- ently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. Your bones don’t break, mine do. That’s clear. Your cells re- act to bacteria and viruses dif- ferently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However un- real it may seem, we are con- nected, you and I. We’re on the same curve, just on oppo-

Slide 36

Slide 36 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and viruses differ- ently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on oppo- site ends. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. Your bones don’t break, mine do. That’s clear. Your cells re- act to bacteria and viruses dif- ferently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However un- real it may seem, we are con- nected, you and I. We’re on the same curve, just on oppo-

Slide 37

Slide 37 text

Let the x-height control your vertical axis

Slide 38

Slide 38 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and virus- es differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re Your bones don’t break, mine do. That’s clear. Your cells react to bacte- ria and viruses differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connect-

Slide 39

Slide 39 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and virus- es differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re Your bones don’t break, mine do. That’s clear. Your cells react to bacte- ria and viruses differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connect-

Slide 40

Slide 40 text

It all perfectly aligns!

Slide 41

Slide 41 text

But your whitespace looks like shit.

Slide 42

Slide 42 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and virus- es differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. Your bones don’t break, mine do. That’s clear. Your cells react to bacte- ria and viruses differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connect-

Slide 43

Slide 43 text

Your bones don’t break, mine do. That’s clear. Your cells react to bacteria and virus- es differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. However unreal it may seem, we are connected, you and I. We’re on the same curve, just on opposite ends. Your bones don’t break, mine do. That’s clear. Your cells react to bacte- ria and viruses differently than mine. You don’t get sick, I do. That’s also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connect-

Slide 44

Slide 44 text

It’s not about line-height, it’s about the rhythm

Slide 45

Slide 45 text

1. Set a good, legible body font-size (15) 2. Find what line-height works best (24) 3. Divide that by 3 or 4 (24/3) 4. That’s your magic number! (8)

Slide 46

Slide 46 text

All you have to do is make sure that: margin-top + margin-bottom + padding-top + padding-bottom + border-top + border-bottom + line-height = n × magic number

Slide 47

Slide 47 text

modulation: proportion starts here

Slide 48

Slide 48 text

Word Word Word

Slide 49

Slide 49 text

Word Word Word

Slide 50

Slide 50 text

Word Word Word

Slide 51

Slide 51 text

3. So what do I do?

Slide 52

Slide 52 text

1. Set body font-size in % 2. Set all other metrics in (r)ems 3.

Slide 53

Slide 53 text

1. Use font-size-adjust (<3 Mozilla) 2. Spam all other browser makers

Slide 54

Slide 54 text

gridsetapp.com gridlover.net modularscale.com trentwalton.com/2011/05/10/fit-to-scale webtypography.net/Rhythm_and_Proportion alistapart.com/articles/more-meaningful-typography 24ways.org/2011/theres-no-formula-for-great-designs Further reading