Skip to content

Commit 239a30b

Browse files
committed
Docs: Try to apply style for shields
1 parent 2ec5e23 commit 239a30b

3 files changed

Lines changed: 19 additions & 20 deletions

File tree

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,42 +18,42 @@ Connect and manage remote systems with Remote Desktop, PowerShell, PuTTY, TigerV
1818

1919
![NETworkManager Preview](/img/preview.gif)
2020

21-
<div class="shieldsContainer">
21+
<div className={`${styles.shieldsContainer}`}>
2222
<p>
23-
<a class="shieldsLink" href="https://github.com/BornToBeroot/NETworkManager/releases" target="_blank">
23+
<a className={`${styles.shields}`} href="https://github.com/BornToBeroot/NETworkManager/releases" target="_blank">
2424
<img alt="All releases" src="https://img.shields.io/github/downloads/BornToBeroot/NETworkManager/total.svg?style=for-the-badge&logo=github" />
2525
</a>
26-
<a class="shieldsLink" href="https://github.com/BornToBeroot/NETworkManager/releases/latest" target="_blank">
26+
<a className={`${styles.shields}`} href="https://github.com/BornToBeroot/NETworkManager/releases/latest" target="_blank">
2727
<img alt="Latest release" src="https://img.shields.io/github/downloads/BornToBeroot/NETworkManager/latest/total.svg?style=for-the-badge&logo=github" />
2828
</a>
29-
<a class="shieldsLink" href="https://github.com/BornToBeroot/NETworkManager/releases" target="_blank">
29+
<a className={`${styles.shields}`} href="https://github.com/BornToBeroot/NETworkManager/releases" target="_blank">
3030
<img alt="Latest pre-release" src="https://img.shields.io/github/downloads-pre/BornToBeroot/NETworkManager/latest/total.svg?label=downloads%40pre-release&style=for-the-badge&logo=github" />
3131
</a>
3232
</p>
3333
<p>
34-
<a class="shieldsLink" href="https://github.com/BornToBeroot/NETworkManager/stargazers" target="_blank">
34+
<a className={`${styles.shields}`} href="https://github.com/BornToBeroot/NETworkManager/stargazers" target="_blank">
3535
<img alt="GitHub stars" src="https://img.shields.io/github/stars/BornToBeroot/NETworkManager.svg?style=for-the-badge&logo=github" />
3636
</a>
37-
<a class="shieldsLink" href="https://github.com/BornToBeroot/NETworkManager/network" target="_blank">
37+
<a className={`${styles.shields}`} href="https://github.com/BornToBeroot/NETworkManager/network" target="_blank">
3838
<img alt="GitHub forks" src="https://img.shields.io/github/forks/BornToBeroot/NETworkManager.svg?style=for-the-badge&logo=github" />
3939
</a>
4040
</p>
4141
<p>
42-
<a class="shieldsLink" href="https://ci.appveyor.com/project/BornToBeRoot/NETworkManager/branch/main">
42+
<a className={`${styles.shields}`} href="https://ci.appveyor.com/project/BornToBeRoot/NETworkManager/branch/main">
4343
<img alt="AppVeyor" src="https://img.shields.io/appveyor/ci/BornToBeRoot/NETworkManager/main.svg?style=for-the-badge&logo=appveyor&&label=main" />
4444
</a>
45-
<a class="shieldsLink" href="https://github.com/BornToBeRoot/NETworkManager/blob/main/LICENSE">
45+
<a className={`${styles.shields}`} href="https://github.com/BornToBeRoot/NETworkManager/blob/main/LICENSE">
4646
<img alt="AppVeyor" src="https://img.shields.io/github/license/BornToBeroot/NETworkManager.svg?style=for-the-badge&logo=github" />
4747
</a>
4848
</p>
4949
<p>
50-
<a class="shieldsLink" href="https://transifex.com/BornToBeRoot/NETworkManager/">
50+
<a className={`${styles.shields}`} href="https://transifex.com/BornToBeRoot/NETworkManager/">
5151
<img alt="Transifex" src="https://img.shields.io/badge/transifex-translate-green.svg?style=for-the-badge" />
5252
</a>
53-
<a class="shieldsLink" href="https://github.com/BornToBeRoot/NETworkManager/issues/new?labels=Feature-Request&template=Feature_request.md">
53+
<a className={`${styles.shields}`} href="https://github.com/BornToBeRoot/NETworkManager/issues/new?labels=Feature-Request&template=Feature_request.md">
5454
<img alt="Feature request" src="https://img.shields.io/badge/github-feature_request-green.svg?style=for-the-badge&logo=github" />
5555
</a>
56-
<a class="shieldsLink" href="https://github.com/BornToBeRoot/NETworkManager/issues/new?labels=Issue&template=Bug_report.md">
56+
<a className={`${styles.shields}`} href="https://github.com/BornToBeRoot/NETworkManager/issues/new?labels=Issue&template=Bug_report.md">
5757
<img alt="Bug report" src="https://img.shields.io/badge/github-bug_report-red.svg?style=for-the-badge&logo=github" />
5858
</a>
5959
</p>

Website/docs/styles.module.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.shieldsContainer {
2+
display: flex;
3+
justify-content: center;
4+
}
5+
6+
.shields {
7+
margin: 0rem 0.25rem;
8+
}
Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,6 @@ table {
124124
font-size: 24px;
125125
}
126126

127-
.shieldsContainer {
128-
display: flex;
129-
justify-content: center;
130-
}
131-
132-
.shieldsLink {
133-
margin: 0rem 2.5rem;
134-
}
135-
136127
@media only screen and (max-width: 768px) {
137128
.hero {
138129
padding-left: 20px;

0 commit comments

Comments
 (0)