Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: update style for iojs #297

Closed
wants to merge 1 commit into from
Closed

doc: update style for iojs #297

wants to merge 1 commit into from

Conversation

chrisdickinson
Copy link
Contributor

  • updates the styling for the iojs docs
  • pulls the processing step for markdown files into
    a separate module
  • adds the ability to insert comments into the markdown

The rendered documents.

screen shot 2015-01-11 at 9 43 41 pm
screen shot 2015-01-11 at 9 43 55 pm
screen shot 2015-01-11 at 9 44 14 pm
screen shot 2015-01-11 at 9 44 29 pm

Fixes nodejs/iojs.org#23.

@hughsk
Copy link

hughsk commented Jan 12, 2015

This is looking great 😁

Chiming in with a small nit: maybe the sidebar header and content header fonts should match?

@rvagg
Copy link
Member

rvagg commented Jan 12, 2015

all lgtm, I'm keen to have this merged so it can go in nightlies asap, can be tweaked over time

@rvagg rvagg added this to the v1.0.0 milestone Jan 12, 2015
.api_stability_5 {
color: white !important;
margin: 0em 0 1.0em 0;
font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, wouldn't the font-family be inherited from the body tag?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are pre elements, so they'll automatically inherit monospace.

@rvagg rvagg mentioned this pull request Jan 12, 2015
14 tasks
});
});
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style nit: trailing newline.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed this in the merge.

@bnoordhuis
Copy link
Member

LGTM

@cjihrig
Copy link
Contributor

cjihrig commented Jan 12, 2015

👍

margin: 0;
padding: 0;
color: #3a3a3a;
background: #fcfefa;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we see how this looks with:

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

@fundon
Copy link
Contributor

fundon commented Jan 12, 2015

Nice

* updates the styling for the iojs docs
* pulls the processing step for markdown files into
  a separate module
* adds the ability to insert comments into the markdown
chrisdickinson added a commit that referenced this pull request Jan 12, 2015
* updates the styling for the iojs docs
* pulls the processing step for markdown files into
  a separate module
* adds the ability to insert comments into the markdown

PR-URL: #297
Fixes: nodejs/iojs.org#23
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@chrisdickinson
Copy link
Contributor Author

Merged in 9120f2b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants