Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Styling books – Fronteers 15 Jam Session
Search
mokhov
October 08, 2015
Technology
0
99
Styling books – Fronteers 15 Jam Session
mokhov
October 08, 2015
Tweet
Share
Other Decks in Technology
See All in Technology
Google Cloud Next '24でブログを10本書いた方法と勉強会を沸かせた方法
yasumuusan
0
310
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
1
120
DMM.com アルファ室採用案内資料
hsugita
1
160
MLOpsの「壁」を乗り越える、LINEヤフーの Data Quality as Code
lycorptech_jp
PRO
5
530
データベース02: データベースの概念
trycycle
0
160
VS CodeでAWSを操作しよう
smt7174
8
1.7k
DevOpsメトリクスとアウトカムの接続にトライ!開発プロセスを通して計測できるメトリクスの活用方法
ham0215
2
240
JAWS-UG Bedrock Claude Night
yamahiro
3
610
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
260
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
640
Reducing Cross-Zone Egress at Spotify with Custom gRPC Load Balancing Recap
koh_naga
0
210
アクセス制御にまつわる改善 / Improving access control
itkq
0
550
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
GitHub's CSS Performance
jonrohan
1025
450k
Designing for Performance
lara
601
67k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
It's Worth the Effort
3n
180
27k
Scaling GitHub
holman
457
140k
What's new in Ruby 2.0
geeforr
337
31k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
121
39k
Documentation Writing (for coders)
carmenintech
60
3.9k
The Art of Programming - Codeland 2020
erikaheidi
42
12k
Statistics for Hackers
jakevdp
789
220k
Transcript
Styling books Oleg Mokhov, Fronteers Jam Session
None
None
Pain
None
Page width
None
? 8
60-80 characters 9
20px 0 10
20px 0 *60 = 1200px 10
https://developer.mozilla.org/en/docs/Web/CSS/length 11
1ch 0 12
1ch 0 *60 = 60ch = 1200px 12
Images
14
15
16
.page { columns: 2 } 17
A cat with a hat A cat without a hat
18
19
img { max-width: 100%; max-height: 100%; } 20
img { max-width: 100%; max-height: 100%; display: block; } 21
<figure> <img/> <figcaption>text</figcaption> </figure> 22
figure { max-height: 100%; -webkit-column-break-inside: avoid; page-break-inside: avoid; } 23
figure { display: flex; flex-direction: column; } 24
figure { display: flex; flex-direction: column; } 24
.image-wrapper { overflow: hidden; } 25
.image-wrapper { overflow: hidden; } 25
26 .image-wrapper { background-image: url(…) 50% no-repeat; background-size: contain; }
27
27
figcaption { flex-shrink: 0; } 28
Footnotes
30
30
31
31
32
Swipe right and go back
None
None
::after { content: attr(title); } 35
Moar
More features Correct indentation of the first lines Page breaks
between chapters Position saving based on the first visible paragraph Collecting information about user reading speed Estimated time of book reading 37
https://github.com/chitalka/ @chitalkajs
39 Oleg Mokhov Frontend Developer Contacts @olmokhov_en olmokhov +7 (912)
621 45 27
[email protected]