Skip to content

Commit

Permalink
tweak css
Browse files Browse the repository at this point in the history
  • Loading branch information
0x8890 committed Aug 15, 2015
1 parent 77e4cae commit ab93fda
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions website/stylesheets/api.css
Expand Up @@ -6,6 +6,11 @@
overflow: hidden;
}

.api h6:first-of-type {
margin-top: 0;
padding-top: 0;
}

.api h6 em {
text-decoration: underline;
}
Expand Down
2 changes: 1 addition & 1 deletion website/stylesheets/media.css
@@ -1,6 +1,6 @@
@media screen and (max-width: 800px) {
body {
font-size: calc(var(--size-body) - 2px);
font-size: calc(var(--size-body) - 3px);
}

header {
Expand Down
4 changes: 2 additions & 2 deletions website/stylesheets/variables.css
Expand Up @@ -15,8 +15,8 @@
--font-mono: 'Anonymous Pro', monospace;

/* measurements */
--max-width: 48em;
--size-body: 16px;
--max-width: 50em;
--size-body: 15px;
--line-height: calc(1em * 8 / 5);
--mono-height: calc(1em * 6 / 5);
--border-radius: calc(1em / 2);
Expand Down
2 changes: 1 addition & 1 deletion website/templates/home.mustache
@@ -1,3 +1,3 @@
<p>Fortune.js is a high-level I/O library for web applications, in the server and the browser. It provides an integrated feature set for working with data. The latest version is <strong>{{version}}</strong>, get it from <code>npm</code>:</p>
<p>Fortune.js is a high-level I/O library for web applications, in the server and the browser. It provides abstractions for working with data. The latest version is <strong>{{version}}</strong>, get it from <code>npm</code>:</p>
<pre class="install"><code>npm install fortune<span class="hljs-literal">@latest</span> <span class="hljs-string">--save</span></code></pre>
<h4>Example</h4>

0 comments on commit ab93fda

Please sign in to comment.