diff --git a/layouts/css/_base.styl b/layouts/css/_base.styl index 753124423c3df..67c9d3de146a2 100644 --- a/layouts/css/_base.styl +++ b/layouts/css/_base.styl @@ -53,11 +53,6 @@ img max-width 100% border none - .logos & - // Fixes logo size on Firefox, see: - // https://github.com/nodejs/nodejs.org/issues/558 - width 100% - code background-color $light-gray3 font-size 85% diff --git a/layouts/css/_utils.styl b/layouts/css/_utils.styl new file mode 100644 index 0000000000000..235f9647163ce --- /dev/null +++ b/layouts/css/_utils.styl @@ -0,0 +1,11 @@ +.bg-white + background-color $white !important + +.bg-node-gray + background-color $node-gray !important + +.table-no-border-no-padding + border-spacing 0 + + td + padding 0 diff --git a/layouts/css/page-modules/_download.styl b/layouts/css/page-modules/_download.styl index ff72b753ff276..d5780aeb48550 100644 --- a/layouts/css/page-modules/_download.styl +++ b/layouts/css/page-modules/_download.styl @@ -111,6 +111,7 @@ h5.download-table-previous-releases-header .download-table font-size small border 1px solid $light-gray2 + border-spacing 0 td padding 5px diff --git a/layouts/css/page-modules/_resources.styl b/layouts/css/page-modules/_resources.styl new file mode 100644 index 0000000000000..fb8c124b06fe4 --- /dev/null +++ b/layouts/css/page-modules/_resources.styl @@ -0,0 +1,11 @@ +.logos + border none + border-spacing 0 + + img + // Fixes logo size on Firefox, see: + // https://github.com/nodejs/nodejs.org/issues/558 + width 100% + + td + padding 20px diff --git a/layouts/css/styles.styl b/layouts/css/styles.styl index c58fec7d6695e..df075b1413aae 100644 --- a/layouts/css/styles.styl +++ b/layouts/css/styles.styl @@ -1,5 +1,6 @@ @import '_variables' @import '_base' +@import '_utils' // Import specific page sections and layout parts @import 'layout/_sticky-footer' @import 'layout/_grid' @@ -18,6 +19,7 @@ @import 'page-modules/_anchorLinks' @import 'page-modules/_prev-next-navigation' @import 'page-modules/_release-schedule' +@import 'page-modules/_resources' .intro margin-top 140px diff --git a/layouts/download-releases.hbs b/layouts/download-releases.hbs index 175a706c9c625..aa303e548da79 100644 --- a/layouts/download-releases.hbs +++ b/layouts/download-releases.hbs @@ -17,7 +17,7 @@
- +
diff --git a/locale/ar/about/resources.md b/locale/ar/about/resources.md index 9fdada1fdc376..457ece8166b19 100644 --- a/locale/ar/about/resources.md +++ b/locale/ar/about/resources.md @@ -11,18 +11,18 @@ title: الشعارات والرسومات الإرشادات من أجل العرض المرئي لعلامة Node.js موضحة في [القواعد العرض الإرشادية](/static/documents/foundation-visual-guidelines.pdf). -
Version
+
- - + + - - + + diff --git a/locale/ar/docs/guides/debugging-getting-started.md b/locale/ar/docs/guides/debugging-getting-started.md index 6b80dc4ab8a2b..2eaa2fbfc48a9 100644 --- a/locale/ar/docs/guides/debugging-getting-started.md +++ b/locale/ar/docs/guides/debugging-getting-started.md @@ -98,7 +98,7 @@ layout: docs.hbs -
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js أساسي AI Node.js معكوس AI
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js أساسي مع القليل من الألوان AI
+
diff --git a/locale/en/about/resources.md b/locale/en/about/resources.md index 4a12710369256..1e84db6770da5 100644 --- a/locale/en/about/resources.md +++ b/locale/en/about/resources.md @@ -12,18 +12,18 @@ title: Logos and Graphics Guidelines for the visual display of the Node.js mark are described in the [Visual Guidelines](/static/documents/foundation-visual-guidelines.pdf). -
التخصيصالمعنى
--inspect
+
- - + + - - + + diff --git a/locale/en/docs/guides/debugging-getting-started.md b/locale/en/docs/guides/debugging-getting-started.md index 78f08292ce633..1da3570f632f2 100644 --- a/locale/en/docs/guides/debugging-getting-started.md +++ b/locale/en/docs/guides/debugging-getting-started.md @@ -115,7 +115,7 @@ info on these follows: The following table lists the impact of various runtime flags on debugging: -
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard AI Node.js reversed AI
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard with less color AI
+
diff --git a/locale/en/knowledge/cryptography/how-to-use-crypto-module.md b/locale/en/knowledge/cryptography/how-to-use-crypto-module.md index cff9b8a5ea335..ae66af0f6f31c 100644 --- a/locale/en/knowledge/cryptography/how-to-use-crypto-module.md +++ b/locale/en/knowledge/cryptography/how-to-use-crypto-module.md @@ -127,12 +127,12 @@ if (argv.e && argv.key) { NODE PRO TIP: The `crypto.createCipheriv()` and `crypto.createDecipheriv()` methods do not take a password, rather a `key` and an `iv` which are combined together to form a random password. The size of the `key` and `iv` depends on the chosen algorithm. A reference to common algorithms and their `key` and `iv` size is given below: -| Algorithm | Key | iv | -| ------------- |:-----------------: | :----------------: | -| aes128 | 16 byte (128 bits) | 16 byte (128 bits) | -| aes-128-cbc | 16 byte (128 bits) | 16 byte (128 bits) | -| aes192 | 24 byte (192 bits) | 16 byte (128 bits) | -| aes256 | 32 byte (256 bits) | 16 byte (128 bits) | +| Algorithm | Key | iv | +| ------------- | ------------------ | ------------------ | +| aes128 | 16 byte (128 bits) | 16 byte (128 bits) | +| aes-128-cbc | 16 byte (128 bits) | 16 byte (128 bits) | +| aes192 | 24 byte (192 bits) | 16 byte (128 bits) | +| aes256 | 32 byte (256 bits) | 16 byte (128 bits) | In the code above The user entered `key` is hashed using `SHA-256 encryption` which produces a 32 byte buffer by default, this buffered key is then used as the [cryptographic key](https://en.wikipedia.org/wiki/Key_(cryptography)) in the `crypto.createCipheriv()` and `crypto.createDecipheriv()` methods. The `iv` is also hashed with `SHA-256 encryption` and is 32 byte in size but all AES (CBC mode and CFB mode) take `iv` of exactly 16 byte (128 bits) therefor another Buffer `resizedIV` is used which contains the first 16 byte of orignal 32 byte `iv`. diff --git a/locale/es/about/resources.md b/locale/es/about/resources.md index d5df038a99c50..fc12b9d95c216 100644 --- a/locale/es/about/resources.md +++ b/locale/es/about/resources.md @@ -12,18 +12,18 @@ title: Logos y Gráficos Las pautas para la visualización de la marca Node.js se describen en las [Pautas Visuales](/static/documents/foundation-visual-guidelines.pdf). -
FlagMeaning
--inspect
+
- - + + - - + + diff --git a/locale/fa/about/resources.md b/locale/fa/about/resources.md index 4a12710369256..1e84db6770da5 100644 --- a/locale/fa/about/resources.md +++ b/locale/fa/about/resources.md @@ -12,18 +12,18 @@ title: Logos and Graphics Guidelines for the visual display of the Node.js mark are described in the [Visual Guidelines](/static/documents/foundation-visual-guidelines.pdf). -
Node.js sobre fondo claroNode.js sobre fondo oscuroNode.js sobre fondo claroNode.js sobre fondo oscuro
Node.js estándar AI Node.js invertido AI
Node.js sobre fondo claroNode.js sobre fondo oscuroNode.js sobre fondo claroNode.js sobre fondo oscuro
Node.js estándar con menos color AI
+
- - + + - - + + diff --git a/locale/fa/docs/guides/debugging-getting-started.md b/locale/fa/docs/guides/debugging-getting-started.md index 0975c4dd72ac4..f4b22c4a637e0 100644 --- a/locale/fa/docs/guides/debugging-getting-started.md +++ b/locale/fa/docs/guides/debugging-getting-started.md @@ -115,7 +115,7 @@ info on these follows: The following table lists the impact of various runtime flags on debugging: -
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard AI Node.js reversed AI
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard with less color AI
+
diff --git a/locale/it/about/resources.md b/locale/it/about/resources.md index df209cd48fe59..22c1e852b260e 100644 --- a/locale/it/about/resources.md +++ b/locale/it/about/resources.md @@ -13,18 +13,18 @@ title: Logos and Graphics Le linee guida visive sono descritte nelle [Visual Guidelines](/static/documents/foundation-visual-guidelines.pdf). -
FlagMeaning
--inspect
+
- - + + - - + + diff --git a/locale/it/docs/guides/debugging-getting-started.md b/locale/it/docs/guides/debugging-getting-started.md index 57dd0115505ee..23c3db09f06c3 100644 --- a/locale/it/docs/guides/debugging-getting-started.md +++ b/locale/it/docs/guides/debugging-getting-started.md @@ -133,7 +133,7 @@ info on these follows: The following table lists the impact of various runtime flags on debugging: -
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard AI Node.js invertito AI
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard con meno colori AI
+
diff --git a/locale/ja/docs/guides/debugging-getting-started.md b/locale/ja/docs/guides/debugging-getting-started.md index a9d4bdb41b4c3..b41a943cd7c61 100644 --- a/locale/ja/docs/guides/debugging-getting-started.md +++ b/locale/ja/docs/guides/debugging-getting-started.md @@ -245,7 +245,7 @@ info on these follows: The following table lists the impact of various runtime flags on debugging: -
FlagMeaning
--inspect
+
@@ -315,7 +315,7 @@ The following table lists the impact of various runtime flags on debugging: 次の表は、デバッグ時のさまざまなランタイムフラグの影響を示しています。 -
FlagMeaning
--inspect
+
diff --git a/locale/ko/about/resources.md b/locale/ko/about/resources.md index a56fc8f6ba9c4..d5b03fe2c7d70 100644 --- a/locale/ko/about/resources.md +++ b/locale/ko/about/resources.md @@ -25,18 +25,18 @@ Node.js의 시각적인 가이드라인은 시각적 가이드라인>에 나와 있습니다. -
フラグ意味
--inspect
+
- - + + - - + + diff --git a/locale/ko/docs/guides/debugging-getting-started.md b/locale/ko/docs/guides/debugging-getting-started.md index 84f70b33579f2..a0ed44beece36 100644 --- a/locale/ko/docs/guides/debugging-getting-started.md +++ b/locale/ko/docs/guides/debugging-getting-started.md @@ -211,7 +211,7 @@ Node 인스펙터에 접속할 수 있는 여러 상용 도구와 오픈소스 The following table lists the impact of various runtime flags on debugging: -
밝은 배경의 Node.js어두운 배경의 Node.js밝은 배경의 Node.js어두운 배경의 Node.js
Node.js 표준 AI Node.js 반전 AI
밝은 배경의 Node.js어두운 배경의 Node.js밝은 배경의 Node.js어두운 배경의 Node.js
적은 색상을 가진 Node.js 표준 AI
+
@@ -281,7 +281,7 @@ The following table lists the impact of various runtime flags on debugging: 다음 테이블은 디버깅용 여러 런타임 플래그의 기능을 보여줍니다. -
FlagMeaning
--inspect
+
diff --git a/locale/ru/about/resources.md b/locale/ru/about/resources.md index b5016a2055b39..279ac1825fd66 100644 --- a/locale/ru/about/resources.md +++ b/locale/ru/about/resources.md @@ -12,18 +12,18 @@ title: Лого и графика Рекомендации по визуальному отображению метки Node.js описаны в разделе [Визуальные рекомендации](/static/documents/foundation-visual-guidelines.pdf). -
플래그의미
--inspect
+
- - + + - - + + diff --git a/locale/ru/docs/guides/debugging-getting-started.md b/locale/ru/docs/guides/debugging-getting-started.md index 4701f8f875056..888d5de85ce5f 100644 --- a/locale/ru/docs/guides/debugging-getting-started.md +++ b/locale/ru/docs/guides/debugging-getting-started.md @@ -115,7 +115,7 @@ info on these follows: The following table lists the impact of various runtime flags on debugging: -
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard AI Node.js reversed AI
Node.js on light backgroundNode.js on dark backgroundNode.js on light backgroundNode.js on dark background
Node.js standard with less color AI
+
diff --git a/locale/uk/about/resources.md b/locale/uk/about/resources.md index 6a7d4e7029199..341138d1fc40e 100644 --- a/locale/uk/about/resources.md +++ b/locale/uk/about/resources.md @@ -12,18 +12,18 @@ title: Лого та графіка Правила візуального оформлення позначень Node.js описані у [Visual Guidelines](/static/documents/foundation-visual-guidelines.pdf). -
FlagMeaning
--inspect
+
- - + + - - + + diff --git a/locale/zh-cn/about/resources.md b/locale/zh-cn/about/resources.md index 08403823776c0..e608cf0ccd964 100644 --- a/locale/zh-cn/about/resources.md +++ b/locale/zh-cn/about/resources.md @@ -11,18 +11,18 @@ title: 商标和图像 对于 Node.js 标志的可视化展示指南也在 [可视化指南](/static/documents/foundation-visual-guidelines.pdf) 有所描述。 -
Node.js на світлому фоніNode.js на темному фоніNode.js на світлому фоніNode.js на темному фоні
Node.js звичайний AI Node.js інвертований AI
Node.js на світлому фоніNode.js на темному фоніNode.js на світлому фоніNode.js на темному фоні
Node.js звичайний з меншою кількістю кольорів AI
+
- - + + - - + + diff --git a/locale/zh-cn/docs/guides/debugging-getting-started.md b/locale/zh-cn/docs/guides/debugging-getting-started.md index 7b28115934ff4..c7568436821ab 100644 --- a/locale/zh-cn/docs/guides/debugging-getting-started.md +++ b/locale/zh-cn/docs/guides/debugging-getting-started.md @@ -80,7 +80,7 @@ layout: docs.hbs 以下命令表列出了在调试状态下不同标示符的影响: -
Node.js 浅色背景Node.js 深色背景Node.js 浅色背景Node.js 深色背景
Node.js 标准 AI Node.js 保留 AI
Node.js 浅色背景 Node.js 深色背景 Node.js 浅色背景 Node.js 深色背景
少彩色的标准 Node.js AI
+
标示符含义
--inspect