Skip to content

Commit c2f843c

Browse files
committed
feat: update list and code styling
1 parent b598c33 commit c2f843c

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,3 @@ dist
134134
.yarn/build-state.yml
135135
.yarn/install-state.gz
136136
.pnp.*
137-

articles/announcing-nodesecure-vuln-era.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Vulnera is a package that allows you to **programmatically** fetch your Node.js
2121

2222
- NPM Audit ([Github Advisory Database](https://github.com/advisories))
2323
- [Sonatype OSS Index](https://ossindex.sonatype.org/)
24-
- deprecated [Node.js Security WG Database](https://github.com/nodejs/security-wg/tree/main/vuln)
24+
- `deprecated` [Node.js Security WG Database](https://github.com/nodejs/security-wg/tree/main/vuln)
2525
- Snyk
2626

2727
> 📢 Feel free to push new sources (we have [a guide](https://github.com/NodeSecure/vuln/blob/main/docs/adding_new_strategy.md) on how to add/contribute one).

blog/announcing-nodesecure-vuln-era.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ <h2>What is Vulnera ? 👀</h2>
6464
<ul>
6565
<li>NPM Audit (<a href="https://github.com/advisories">Github Advisory Database</a>)</li>
6666
<li><a href="https://ossindex.sonatype.org/">Sonatype OSS Index</a></li>
67-
<li>deprecated <a href="https://github.com/nodejs/security-wg/tree/main/vuln">Node.js Security WG Database</a></li>
67+
<li><code>deprecated</code> <a href="https://github.com/nodejs/security-wg/tree/main/vuln">Node.js Security WG Database</a></li>
6868
<li>Snyk</li>
6969
</ul>
7070
<blockquote>

public/css/blog.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,24 @@ h1.article-title {
146146
content: 'BASH'
147147
}
148148

149+
.article-content code {
150+
background: #23272f;
151+
color: #ffecb3;
152+
padding: 2px 6px;
153+
border-radius: 4px;
154+
font-size: 0.95em;
155+
font-family: 'JetBrains Mono', monospace;
156+
font-weight: 500;
157+
box-shadow: 0 1px 2px #0002;
158+
white-space: break-spaces;
159+
}
160+
161+
.article-content li {
162+
list-style: disc inside;
163+
margin-left: 1.5em;
164+
margin-bottom: 0.5em;
165+
}
166+
149167
.article-content > table {
150168
border: 1px solid #ccc;
151169
border-collapse: collapse;

0 commit comments

Comments
 (0)