-
Notifications
You must be signed in to change notification settings - Fork 205
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
Example usage snippits on landing page #293
base: gh-pages
Are you sure you want to change the base?
Conversation
jasonramirez
commented
Nov 20, 2015
- Shrink hero to 1/2 viewport height
- Add example code steps
- Add code highlighting via highlight.js
* Shrink hero to 1/2 viewport height * Add example code steps * Add code highlighting via highlight.js
var PageSetup = (function () { | ||
return { | ||
initialize: function () { | ||
hljs.initHighlightingOnLoad(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'hljs' is not defined.
@@ -0,0 +1,24 @@ | |||
.code { | |||
border: solid 1px $code-border-color; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Properties should be ordered background-color, border, border-radius, font-size, margin-bottom
} | ||
} | ||
|
||
.code__header { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector code__header
should be written in lowercase with hyphens
@jasonramirez this LOOKs amazing! Unfortunately, the README has been recently updated, which makes a lot of this text out of date. https://github.com/thoughtbot/ember-cli-rails#usage I wonder if we could somehow style the page the way you've laid out and somehow import in some markdown. Do you think styles are generic enough to work with a |
ping @jasonramirez P.S. the latest README and some upcoming changes make these snippets wildly out of date, which presents an even greater opportunity for supporting robust enough styles to make translating the README.md work out. |
@seanpdoyle I'll remove the custom styles added by the |
@jasonramirez agreed, a separate PR is a good idea. |
} | ||
|
||
.hljs-symbol { | ||
.hljs-string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Selector should have depth of applicability no greater than 2, but was 3