Skip to content

Commit 581b375

Browse files
committed
Added custom styling
1 parent 1c33ded commit 581b375

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

docs/intro/vscode-extension.md

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,10 @@ The [WebNative Visual Studio Code extension](https://marketplace.visualstudio.co
1212
If you have VS Code on this computer click Install below. You can also find the extension by searching for "WebNative".
1313

1414
<a href="vscode:extension/WebNative.webnative" target="_self">
15-
<button
16-
style={{
17-
color: 'var(--ifm-color-content-inverse)',
18-
cursor: 'pointer',
19-
fontWeight: 'bold',
20-
padding: 16,
21-
paddingLeft: 32,
22-
paddingRight: 32,
23-
border: 0,
24-
borderRadius: 100,
25-
backgroundColor: 'var(--ifm-font-color-base)',
26-
}}
27-
>Install</button>
15+
<button className="install-button">Install</button>
2816
</a>
2917
<a href="https://webnative.dev/introduction/getting-started/" target="_self">
30-
<button
31-
style={{
32-
color: 'var(--ifm-font-color-base)',
33-
cursor: 'pointer',
34-
fontWeight: 'bold',
35-
padding: 16,
36-
paddingLeft: 32,
37-
paddingRight: 32,
38-
borderRadius: 100,
39-
backgroundColor: 'var(--admonition-info-c-bg)',
40-
}}
41-
>Docs</button>
18+
<button className="docs-button">Docs</button>
4219
</a>
4320

4421
## Additional Documentation

src/styles/custom.scss

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'Segoe UI emoji';
3636
--ifm-font-family-monospace: 'SFMono-Regular', 'Roboto Mono', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
3737

38-
--ifm-menu-link-sublist-icon: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04Ljk5OTg4IDVMNC45OTk4OCAxTDAuOTk5ODc4IDUiIHN0cm9rZT0iIzAzMDYwQiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
38+
--ifm-menu-link-sublist-icon: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik08Ljk5OTg4IDVMNC45OTk4OCAxTDAuOTk5ODc4IDUiIHN0cm9rZT0iIzAzMDYwQiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
3939

4040
//#region ----------- Z Indices ------------
4141
--z-sidebar: 2000;
@@ -225,3 +225,26 @@ iframe {
225225
}
226226
}
227227
}
228+
229+
.install-button {
230+
color: var(--admonition-info-c-bg);
231+
cursor: pointer;
232+
font-weight: bold;
233+
padding: 16px;
234+
padding-left: 32px;
235+
padding-right: 32px;
236+
border: 0;
237+
border-radius: 100px;
238+
background-color: var(--ifm-font-color-base);
239+
}
240+
241+
.docs-button {
242+
color: var(--ifm-font-color-base);
243+
cursor: pointer;
244+
font-weight: bold;
245+
padding: 16px;
246+
padding-left: 32px;
247+
padding-right: 32px;
248+
border-radius: 100px;
249+
background-color: var(--admonition-info-c-bg);
250+
}

0 commit comments

Comments
 (0)