Skip to content

Commit bef8ebc

Browse files
committed
(doc) Add GitHub and Gitter links
1 parent 313f428 commit bef8ebc

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

docs/input/_Bottom.cshtml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<div class="github-button">
2+
<a href="https://github.com/GitTools/GitVersion"><i class="fa fa-github"></i> GitHub</a>
3+
</div>
4+
<script>
5+
((window.gitter = {}).chat = {}).options = {
6+
room: 'GitTools/GitVersion'
7+
};
8+
</script>
9+
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

docs/input/assets/css/override.less

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
@font-family-sans-serif: "Roboto", Helvetica, Arial, sans-serif;
2+
3+
/* For Gitter and GitHub */
4+
.bottom-footer {
5+
margin-bottom: 40px !important; // Make room for Gitter and GitHub buttons
6+
}
7+
8+
.gitter-open-chat-button {
9+
background-color: #3c8dbc;
10+
font-family: @font-family-sans-serif;
11+
letter-spacing: normal;
12+
right: 90px;
13+
}
14+
15+
.gitter-open-chat-button:focus, .gitter-open-chat-button:hover,
16+
.github-button:focus, .github-button:hover,
17+
{
18+
background-color: #4EABDD;
19+
color: #fff;
20+
}
21+
22+
.gitter-chat-embed {
23+
top: 49px;
24+
border-top: 1px solid #000;
25+
z-index: 10000;
26+
}
27+
28+
.github-button {
29+
z-index: 100;
30+
position: fixed;
31+
bottom: 0px;
32+
right: 240px;
33+
padding: 1em 3em;
34+
background-color: #367fa9;
35+
border: 0;
36+
border-top-left-radius: 0.5em;
37+
border-top-right-radius: 0.5em;
38+
font-family: sans-serif;
39+
font-size: 9pt;
40+
text-transform: uppercase;
41+
text-align: center;
42+
text-decoration: none;
43+
cursor: pointer;
44+
cursor: hand;
45+
-webkit-transition: all .3s ease;
46+
transition: all .3s ease;
47+
color: #fff;
48+
a, a:active, a:hover, a:focus {
49+
color: #fff;
50+
}
51+
}

0 commit comments

Comments
 (0)