diff --git a/_includes/analytics.html b/_includes/analytics.html index 6b600f863..c75a48fce 100644 --- a/_includes/analytics.html +++ b/_includes/analytics.html @@ -3,11 +3,55 @@ {% if site.google_analytics_id %} {% endif %} + + + + + + + + + + + + diff --git a/_sass/_docs.scss b/_sass/_docs.scss index ace9cb2a3..13d64ba79 100644 --- a/_sass/_docs.scss +++ b/_sass/_docs.scss @@ -99,9 +99,11 @@ code, pre { font-family: Monaco, Andale Mono, Courier New, monospace; } + + // inline code (`ClassName`) code { - color: rgba(0,0,0,0.76); - background-color: #f2f2f2; + color: #2F3942; + background-color: #eee; padding: 1px 3px; font-size: 14px; -webkit-border-radius: 3px; @@ -116,9 +118,12 @@ white-space: pre-wrap; word-wrap: break-word; } + + // code blocks (```) pre code { + color: #eee; font-size: 13px; - background-color: #f2f2f2; + background-color: #2F3942; padding: 0; display: block; padding: 14px; diff --git a/_sass/_main.scss b/_sass/_main.scss index 94c4fa3c3..d690dfea0 100644 --- a/_sass/_main.scss +++ b/_sass/_main.scss @@ -249,8 +249,10 @@ p { } .hacker { width:100%; - height:500px; margin-top:100px; + margin-bottom:80px; + padding-top: 55px; + padding-bottom: 55px; background: url(../images/hacker_background.png) center no-repeat; background-size: cover; } diff --git a/_sass/_tomorrow.scss b/_sass/_tomorrow.scss index eb66fd1f1..50f8489de 100644 --- a/_sass/_tomorrow.scss +++ b/_sass/_tomorrow.scss @@ -1,218 +1,137 @@ -/** - * GitHub Gist Theme - * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro +/*! + * Agate by Taufik Nurrohman + * ---------------------------------------------------- + * + * #ade5fc + * #a2fca2 + * #c6b4f0 + * #d36363 + * #fcc28c + * #fc9b9b + * #ffa + * #fff + * #333 + * #62c8f3 + * #888 + * */ .hljs { display: block; - background: white; - padding: 0.5em; - color: #333333; overflow-x: auto; + padding: .5em; + background: #333; + color: white; -webkit-text-size-adjust: none; } -.hljs-comment, -.bash .hljs-shebang, -.java .hljs-javadoc, -.javascript .hljs-javadoc, -.rust .hljs-preprocessor { - color: #969896; -} - -.hljs-string, -.apache .hljs-sqbracket, -.coffeescript .hljs-subst, -.coffeescript .hljs-regexp, -.cpp .hljs-preprocessor, -.c .hljs-preprocessor, -.javascript .hljs-regexp, -.json .hljs-attribute, -.makefile .hljs-variable, -.markdown .hljs-value, -.markdown .hljs-link_label, -.markdown .hljs-strong, -.markdown .hljs-emphasis, -.markdown .hljs-blockquote, -.nginx .hljs-regexp, -.nginx .hljs-number, -.objectivec .hljs-preprocessor .hljs-title, -.perl .hljs-regexp, -.php .hljs-regexp, -.xml .hljs-value, -.less .hljs-built_in, -.scss .hljs-built_in { - color: #df5000; -} - -.hljs-keyword, -.css .hljs-at_rule, -.css .hljs-important, -.http .hljs-request, -.ini .hljs-setting, -.haskell .hljs-type, -.java .hljs-javadoctag, -.javascript .hljs-tag, -.javascript .hljs-javadoctag, -.nginx .hljs-title, -.objectivec .hljs-preprocessor, -.php .hljs-phpdoc, -.sql .hljs-built_in, -.less .hljs-tag, -.less .hljs-at_rule, -.scss .hljs-tag, -.scss .hljs-at_rule, -.scss .hljs-important, -.stylus .hljs-at_rule, -.go .hljs-typename, -.swift .hljs-preprocessor { - color: #a71d5d; -} - -.apache .hljs-common, -.apache .hljs-cbracket, -.apache .hljs-keyword, -.bash .hljs-literal, -.bash .hljs-built_in, -.coffeescript .hljs-literal, -.coffeescript .hljs-built_in, -.coffeescript .hljs-number, -.cpp .hljs-number, -.cpp .hljs-built_in, -.c .hljs-number, -.c .hljs-built_in, -.cs .hljs-number, -.cs .hljs-built_in, -.css .hljs-attribute, -.css .hljs-hexcolor, -.css .hljs-number, -.css .hljs-function, -.haskell .hljs-number, -.http .hljs-literal, -.http .hljs-attribute, -.java .hljs-number, -.javascript .hljs-built_in, -.javascript .hljs-literal, -.javascript .hljs-number, -.json .hljs-number, -.makefile .hljs-keyword, -.markdown .hljs-link_reference, -.nginx .hljs-built_in, -.objectivec .hljs-literal, -.objectivec .hljs-number, -.objectivec .hljs-built_in, -.php .hljs-literal, -.php .hljs-number, -.python .hljs-number, -.ruby .hljs-prompt, -.ruby .hljs-constant, -.ruby .hljs-number, -.ruby .hljs-subst .hljs-keyword, -.ruby .hljs-symbol, -.rust .hljs-number, -.sql .hljs-number, -.puppet .hljs-function, -.less .hljs-number, -.less .hljs-hexcolor, -.less .hljs-function, -.less .hljs-attribute, -.scss .hljs-preprocessor, -.scss .hljs-number, -.scss .hljs-hexcolor, -.scss .hljs-function, -.scss .hljs-attribute, -.stylus .hljs-number, -.stylus .hljs-hexcolor, -.stylus .hljs-attribute, -.stylus .hljs-params, -.go .hljs-built_in, -.go .hljs-constant, -.swift .hljs-built_in, -.swift .hljs-number { - color: #0086b3; -} - -.apache .hljs-tag, -.cs .hljs-xmlDocTag, -.css .hljs-tag, -.xml .hljs-title, -.stylus .hljs-tag { - color: #63a35c; -} - -.bash .hljs-variable, -.cs .hljs-preprocessor, -.cs .hljs-preprocessor .hljs-keyword, -.css .hljs-attr_selector, -.css .hljs-value, -.ini .hljs-value, -.ini .hljs-keyword, -.javascript .hljs-tag .hljs-title, -.makefile .hljs-constant, -.nginx .hljs-variable, -.xml .hljs-tag, -.scss .hljs-variable { - color: #333333; -} - -.bash .hljs-title, -.coffeescript .hljs-title, -.cpp .hljs-title, -.c .hljs-title, -.cs .hljs-title, -.css .hljs-id, -.css .hljs-class, -.css .hljs-pseudo, -.ini .hljs-title, -.haskell .hljs-title, -.haskell .hljs-pragma, -.java .hljs-title, -.javascript .hljs-title, -.makefile .hljs-title, -.objectivec .hljs-title, -.perl .hljs-sub, -.php .hljs-title, -.python .hljs-decorator, -.python .hljs-title, -.ruby .hljs-parent, -.ruby .hljs-title, -.rust .hljs-title, -.xml .hljs-attribute, -.puppet .hljs-title, -.less .hljs-id, -.less .hljs-pseudo, -.less .hljs-class, -.scss .hljs-id, -.scss .hljs-pseudo, -.scss .hljs-class, -.stylus .hljs-class, -.stylus .hljs-id, -.stylus .hljs-pseudo, -.stylus .hljs-title, -.swift .hljs-title, -.diff .hljs-chunk { - color: #795da3; -} - -.coffeescript .hljs-reserved, -.coffeescript .hljs-attribute { - color: #1d3e81; -} - -.diff .hljs-chunk { +.asciidoc .hljs-title, +.hljs-label, +.hljs-tag .hljs-title, +.hljs-prompt, +.http .hljs-request { font-weight: bold; } -.diff .hljs-addition { - color: #55a532; - background-color: #eaffea; +.hljs-change, +.hljs-code { + font-style: italic; } -.diff .hljs-deletion { - color: #bd2c00; - background-color: #ffecec; +.hljs-tag, +.ini .hljs-title { + color: #62c8f3; } -.markdown .hljs-link_url { +.hljs-id, +.hljs-cbracket, +.hljs-tag .hljs-value { + color: #ade5fc; +} + +.hljs-string, +.hljs-bullet { + color: #a2fca2; +} + +.hljs-type, +.hljs-variable, +.hljs-name, +.actionscript .hljs-title, +.aspectj .hljs-annotation, +.aspectj .hljs-title, +.hljs-attribute, +.hljs-change, +.hljs-blockquote, +.hljs-built_in { + color: #ffa; +} + +.hljs-number, +.hljs-hexcolor, +.hljs-link_label, +.hljs-link_reference { + color: #d36363; +} + +.hljs-keyword, +.hljs-literal, +.hljs-constant, +.css .hljs-tag, +.hljs-typename, +.hljs-winutils { + color: #fcc28c; +} + +.hljs-comment, +.hljs-cdata, +.hljs-preprocessor, +.hljs-annotation, +.hljs-decorator, +.hljs-doctype, +.hljs-deletion, +.hljs-shebang, +.apache .hljs-sqbracket, +.tex .hljs-formula, +.hljs-header, +.hljs-horizontal_rule, +.hljs-code { + color: #888; +} + +.hljs-regexp, +.hljs-attr_selector { + color: #c6b4f0; +} + +.hljs-important, +.hljs-doctype, +.hljs-pi, +.hljs-chunk, +.actionscript .hljs-type, +.hljs-shebang, +.hljs-pragma, +.http .hljs-attribute { + color: #fc9b9b; +} + +.hljs-deletion { + background-color: #fc9b9b; + color: #333; +} + +.hljs-addition { + background-color: #a2fca2; + color: #333; +} + +.hljs a, +.hljs-tag .hljs-attribute { + color: inherit; +} + +.hljs a:focus, +.hljs a:hover { + color: inherit; text-decoration: underline; } diff --git a/images/popover_translate.png b/images/popover_translate.png new file mode 100644 index 000000000..57c69b8e3 Binary files /dev/null and b/images/popover_translate.png differ diff --git a/images/talk_JIRXVGVPzn8.png b/images/talk_JIRXVGVPzn8.png new file mode 100644 index 000000000..574166233 Binary files /dev/null and b/images/talk_JIRXVGVPzn8.png differ diff --git a/images/talk_Uu4Yz2HmCgE.png b/images/talk_Uu4Yz2HmCgE.png new file mode 100644 index 000000000..73204a381 Binary files /dev/null and b/images/talk_Uu4Yz2HmCgE.png differ diff --git a/index.html b/index.html index 1ac6bb693..c1d0c398c 100644 --- a/index.html +++ b/index.html @@ -63,34 +63,62 @@ everything from the simplest workflow enhancements to entirely new views of your
-
-
-
-

Welcome Developers.

-

Innovate on top of email with JavaScript, NodeJS and React.

- -
-
-
render: =>
-          <Popover ref="popover"
-                   className="translate-language-picker pull-right"
-                   buttonComponent={@_renderButton()}>
-            <Menu items={ Object.keys(YandexLanguages) }
-                  itemKey={ (item) -> item }
-                  itemContent={ (item) -> item }
-                  onSelect={@_onTranslate}
-                  />
-          </Popover>
-        
- +
+
+

Welcome Developers.

+

Innovate on top of email with JavaScript, NodeJS, React, and Electron.

+
+
+
+        
+render: function() {
+  return <Popover 
+    ref="popover"
+    className="translate-language-picker pull-right"
+    buttonComponent={@_renderButton()}>
+    <Menu
+      items={ Object.keys(YandexLanguages) }
+      onSelect={@_onTranslate}/>
+  </Popover>
+}
+        
+
+
+ +
+ +
+

Meet the team behind N1

+

+ We're a small team of engineers solving + big problems - and we're hiring! + If you'd like to get in touch, feel free to email us at hello@nylas.com. + N1 is open source and we welcome + pull requests! +

+ + + +
+ +