Skip to content

Commit

Permalink
Tweaking font sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Sep 18, 2017
1 parent 1cb7339 commit a67dfae
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions docs/v2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@
.main blockquote {
font-size: 1.1em;
}
@media (min-width: 768px) {
@media (min-width: 1050px) {
.main p, .main li, .main td, .main th {
font-size: 1.3em;
font-size: 1.2em;
}
.main blockquote {
font-size: 1.3em;
font-size: 1.2em;
}
}
.main td {
Expand Down Expand Up @@ -217,6 +217,10 @@
margin-bottom: 1.3rem;
}

code {
font-size: 82%;
}

td code {
white-space: nowrap;
}
Expand Down Expand Up @@ -245,7 +249,7 @@
}
code, a > code {
background-color: #f8f3f0;
padding: 0.2rem 0.4rem;
padding: 2px 8px;
}
code {
color: #2f2625;
Expand Down Expand Up @@ -377,7 +381,7 @@
letter-spacing: 0.3px;
color: #f8f8f8;
/* Prevent mobile Safari from zooming in on our code editors; the code is 16px naturally, but somehow being explicit about it prevents the zooming */
font-size: 16px;
font-size: 15px;
}
.CodeMirror-lines {
padding: 0.5em 0;
Expand Down
2 changes: 1 addition & 1 deletion documentation/site/code.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
letter-spacing: 0.3px;
color: #f8f8f8;
/* Prevent mobile Safari from zooming in on our code editors; the code is 16px naturally, but somehow being explicit about it prevents the zooming */
font-size: 16px;
font-size: 15px;
}
.CodeMirror-lines {
padding: 0.5em 0;
Expand Down
12 changes: 8 additions & 4 deletions documentation/site/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ button:focus, .navbar-dark .navbar-toggler:focus {
.main blockquote {
font-size: 1.1em;
}
@media (min-width: 768px) {
@media (min-width: 1050px) {
.main p, .main li, .main td, .main th {
font-size: 1.3em;
font-size: 1.2em;
}
.main blockquote {
font-size: 1.3em;
font-size: 1.2em;
}
}
.main td {
Expand Down Expand Up @@ -197,6 +197,10 @@ p, blockquote, table, .code-example {
margin-bottom: 1.3rem;
}

code {
font-size: 82%;
}

td code {
white-space: nowrap;
}
Expand Down Expand Up @@ -225,7 +229,7 @@ code, button {
}
code, a > code {
background-color: #f8f3f0;
padding: 0.2rem 0.4rem;
padding: 2px 8px;
}
code {
color: #2f2625;
Expand Down

0 comments on commit a67dfae

Please sign in to comment.