Skip to content

Commit 1cfdf0e

Browse files
committed
Merge pull request #2 from iDreadful/gh-pages
GitHub buttons
2 parents 42256ff + 99a0113 commit 1cfdf0e

File tree

3 files changed

+29
-7
lines changed

3 files changed

+29
-7
lines changed

devices.css

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
header {
1111
margin-top: 20px;
1212
line-height: 100px;
13-
font-size: 36px;
14-
font-weight: 100;
13+
& h1 {
14+
font-size: 36px;
15+
font-weight: 100;
16+
}
17+
& .buttons {
18+
top: calc(~"25% - 100px");
19+
}
1520
}
1621

1722
footer {
@@ -78,10 +83,15 @@
7883

7984
header {
8085
margin-top: 10px;
81-
padding: 0 50px;
82-
font-size: 18px;
83-
font-weight: 300;
84-
line-height: auto;
86+
padding: 0 10px;
87+
& h1 {
88+
font-size: 18px;
89+
font-weight: 300;
90+
line-height: auto;
91+
}
92+
& .buttons{
93+
top: calc(~"25% - 70px");
94+
}
8595
}
8696

8797
footer {

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@
2727
</head>
2828
<body ng-app="app" ng-controller="appController as app">
2929
<header>
30-
Cisco VPN Client Password Decoder
30+
<h1>Cisco VPN Client Password Decoder</h1>
31+
<div class="buttons">
32+
<a class="github-button" href="https://github.com/artemkin" data-count-href="/artemkin/followers" data-count-api="/users/artemkin#followers" data-count-aria-label="# followers on GitHub" aria-label="Follow @artemkin on GitHub">Follow @artemkin</a>
33+
<a class="github-button" href="https://github.com/artemkin/cisco-password-decoder" data-icon="octicon-star" data-count-href="/artemkin/cisco-password-decoder/stargazers" data-count-api="/repos/artemkin/cisco-password-decoder#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star artemkin/cisco-password-decoder on GitHub">Star</a>
34+
</div>
3135
</header>
3236

3337
<div class="section3d">
@@ -79,5 +83,6 @@
7983
<img src="shield.svg">
8084
This is completely safe. Client-side decryption does not require sending any data outside your computer.
8185
</footer>
86+
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
8287
</body>
8388
</html>

style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ header {
2121
width: 100%;
2222
text-align: center;
2323
box-sizing: border-box;
24+
& .buttons {
25+
position: absolute;
26+
text-align: center;
27+
width: 300px;
28+
margin-left: -150px;
29+
left: 50%;
30+
}
2431
}
2532

2633
footer {

0 commit comments

Comments
 (0)