Skip to content

Commit 5abe41d

Browse files
committed
Removed Bootstrap 2 related stuff and updated to latest Font Awesome 4
1 parent 0793320 commit 5abe41d

21 files changed

+1550
-1690
lines changed

.editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
Social Buttons for Bootstrap 2 & 3
2-
==================================
1+
Social Buttons for Bootstrap
2+
============================
3+
34
Social Buttons made in pure CSS based on
45
[Bootstrap](http://twitter.github.io/bootstrap/) and
56
[Font Awesome](http://fortawesome.github.io/Font-Awesome/)!
@@ -19,10 +20,11 @@ Available classes
1920
- `btn-pinterest`
2021
- `btn-tumblr`
2122
- `btn-twitter`
23+
- `btn-vk`
2224

2325
Example
2426
-------
25-
<a class="btn btn-block btn-twitter">
26-
<i class="icon-twitter"></i>
27+
<a class="btn btn-block btn-social btn-twitter">
28+
<i class="fa fa-twitter"></i>
2729
Sign in with Twitter
2830
</a>

css/bootstrap-social-3.css

-93
This file was deleted.

css/bootstrap-social.css

+43-72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

docs/css/bootstrap2.css

-732
This file was deleted.

docs/css/docs.css

+10-17
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
1-
.bs2 .jumbotron{margin-bottom:20px;padding:80px 20px;text-align:center;background-color:#eed}.bs2 .jumbotron h1{font-size:64px;line-height:1}
2-
.bs2 .jumbotron p{font-size:21px;font-weight:200;line-height:30px}
3-
.bs2 .jumbotron .btn{font-size:21px;padding:14px 24px}
4-
@media (max-width:767px){.bs2 .jumbotron{margin-left:-20px;margin-right:-20px}.bs2 .jumbotron h1{font-size:42px} .bs2 .jumbotron p{font-size:18px} .bs2 .jumbotron .btn{font-size:18px;padding:10px 18px}}
5-
.bs3{}.bs3 body{font-weight:300}
6-
.bs3 h2{text-align:center;font-weight:300}
7-
.bs3 .jumbotron{position:relative;font-size:16px;color:#fff;color:rgba(255,255,255,0.75);text-align:center;background-color:#b94a48;border-radius:0}.bs3 .jumbotron h1{margin-bottom:15px;font-weight:300;letter-spacing:-1px;color:#fff}
8-
.bs3 .btn-outline{margin-top:15px;margin-bottom:15px;padding:18px 24px;font-size:inherit;font-weight:500;color:#fff;background-color:transparent;border-color:#fff;border-color:rgba(255,255,255,0.5);transition:all .1s ease-in-out}.bs3 .btn-outline:hover,.bs3 .btn-outline:active{color:#b94a48;background-color:#fff;border-color:#fff}
9-
.bs3 .jumbotron p a,.bs3 .jumbotron-links a{font-weight:500;color:#fff;transition:all .1s ease-in-out}
10-
.bs3 .jumbotron p a:hover,.bs3 .jumbotron-links a:hover{text-shadow:0 0 10px rgba(255,255,255,0.55)}
11-
.bs3 .jumbotron-links{margin-top:15px;margin-bottom:0;padding-left:0;list-style:none;font-size:14px}
12-
.bs3 .jumbotron-links li{display:inline}
13-
.bs3 .jumbotron-links li+li{margin-left:20px}
14-
@media (min-width:768px){.bs3 .jumbotron{padding:80px 20px;font-size:21px} .bs3 .jumbotron h1,.bs3 .jumbotron .glyphicon-ok{font-size:50px}}
15-
.how-to{padding:20px}.how-to h2{text-align:center}
1+
body{font-weight:300}
2+
h2{text-align:center;font-weight:300}
3+
.jumbotron{position:relative;font-size:16px;color:#fff;color:rgba(255,255,255,0.75);text-align:center;background-color:#b94a48;border-radius:0}.jumbotron h1{margin-bottom:15px;font-weight:300;letter-spacing:-1px;color:#fff}
4+
.btn-outline{margin-top:15px;margin-bottom:15px;padding:18px 24px;font-size:inherit;font-weight:500;color:#fff;background-color:transparent;border-color:#fff;border-color:rgba(255,255,255,0.5);transition:all .1s ease-in-out}.btn-outline:hover,.btn-outline:active{color:#b94a48;background-color:#fff;border-color:#fff}
5+
.jumbotron p a,.jumbotron-links a{font-weight:500;color:#fff;transition:all .1s ease-in-out}
6+
.jumbotron p a:hover,.jumbotron-links a:hover{text-shadow:0 0 10px rgba(255,255,255,0.55)}
7+
.jumbotron-links{margin-top:15px;margin-bottom:0;padding-left:0;list-style:none;font-size:14px}
8+
.jumbotron-links li{display:inline}
9+
.jumbotron-links li+li{margin-left:20px}
10+
@media (min-width:768px){.jumbotron{padding:80px 20px;font-size:21px} .jumbotron h1,.jumbotron .glyphicon-ok{font-size:50px}}.how-to{padding:20px}.how-to h2{text-align:center}
1611
.how-to li{font-size:21px;line-height:1.7;margin-top:20px}.how-to li p{font-size:16px;color:#555}
1712
.how-to code{font-size:85%;color:#b94a48;background-color:#fcf3f2;word-wrap:break-word;white-space:normal}
1813
footer{text-align:center;opacity:.8;padding:20px 0 40px}
1914
.links{margin:0;list-style:none;padding-left:0}.links li{display:inline;padding:0 10px}
20-
.link-bootstrap3{position:absolute;top:0;right:0;width:192px;height:96px;background-color:#f00;background:url(../icon/link-bootstrap3.png);background-size:contain}
21-
.link-bootstrap2{position:absolute;top:0;right:0;width:192px;height:96px;background-color:#f00;background:url(../icon/link-bootstrap2.png);background-size:contain}
2215
.social-class .social-hex{font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:10px;opacity:.3;float:right}
2316
.social-class li{margin-bottom:4px}.social-class li:hover .social-hex{opacity:1}
2417
.social-class li:hover code{background-color:#e8e8ee}

0 commit comments

Comments
 (0)