Skip to content

Commit f15335c

Browse files
authored
Merge pull request #5 from kleros/change_telegram_button
Change telegram button
2 parents 8aee50b + 02825b6 commit f15335c

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

img/Telegram-icon-sq.png

7.24 KB
Loading

index.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ <h1 class="kleros-title">THE JUSTICE PROTOCOL</h1>
111111
<div class="hidden-md-down">
112112
<a class="btn btn-lg btn-how-it-works" href="#how-it-works">How it works?</a>
113113
<a class="btn btn-lg btn-primary btn-wp" href="assets/whitepaper.pdf">Read the white paper</a>
114+
<a href="https://t.me/kleros">
115+
<img class="btn-telegram" src="img/Telegram-icon-sq.png" alt="kleros telegram" />
116+
</a>
114117
</div>
115118
<div class="hidden-lg-up">
116119
<div class="row">
@@ -992,12 +995,6 @@ <h2 class="contact-title-section">CONTACT</h2>
992995
</footer>
993996
</div>
994997

995-
<div class="telegram-button">
996-
<a href="https://t.me/kleros">
997-
<img src="img/telegram_button.png" alt="kleros telegram" />
998-
</a>
999-
</div>
1000-
1001998
<!-- jQuery first, then Tether, then Bootstrap JS. -->
1002999
<script
10031000
src="https://code.jquery.com/jquery-3.2.1.min.js"

style.css

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,11 @@ body {
184184
width: 40px;
185185
}
186186

187+
.btn-telegram {
188+
width: 52px;
189+
margin-left: 12px;
190+
}
191+
187192
@media (max-width: 576px) {
188193
.kleros-wording {
189194
padding: 0;
@@ -212,6 +217,12 @@ body {
212217
}
213218
}
214219

220+
@media (max-width: 1200px) {
221+
.btn-telegram {
222+
display: none;
223+
}
224+
}
225+
215226
/**************** End Kleros section ****************/
216227

217228
/**************** Protocol section ****************/
@@ -733,17 +744,3 @@ footer-right a {
733744
}
734745

735746
/**************** End Footer ****************/
736-
737-
/**************** Telegram ****************/
738-
739-
.telegram-button {
740-
position: fixed;
741-
bottom: 52px;
742-
right: 30px;
743-
}
744-
745-
.telegram-button img {
746-
width: 200px;
747-
}
748-
749-
/**************** End Telegram ****************/

0 commit comments

Comments
 (0)