From: Mark Otto Date: Tue, 1 Nov 2011 20:56:00 +0000 (-0700) Subject: adding unofficial github buttons X-Git-Tag: v2.0.0~6^2~438 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2534fee7538526e2b4e263258fe62953cf08f159;p=thirdparty%2Fbootstrap.git adding unofficial github buttons --- diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css index 185f381e92..2dde6a452e 100644 --- a/docs/assets/css/docs.css +++ b/docs/assets/css/docs.css @@ -39,6 +39,44 @@ body > .navbar-fixed .brand:hover { } +/* Github buttons +-------------------------------------------------- */ +.github-btn + .github-btn { + margin-left: 10px; +} +.github-btn { + display: inline-block; + height: 20px; + overflow: hidden; +} +.github-btn .btn, +.github-btn .count { + float: left; + padding: 1px 5px 1px 4px; + font-size: 11px; + font-weight: normal; + line-height: 16px; + color: #555; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.github-btn .btn { + box-shadow: none; +} +.github-btn .github-ico { + float: left; + margin-right: 4px; + opacity: .75; +} +.github-btn .count { + display: inline-block; + margin-left: 2px; + background-color: #fff; + border: 1px solid #ddd; +} + + /* Jumbotrons -------------------------------------------------- */ .jumbotron { @@ -59,7 +97,7 @@ body > .navbar-fixed .brand:hover { font-weight: 300; line-height: 36px; } -.jumbotron .btn { +.jumbotron .btn-large { font-size: 20px; padding: 14px 24px; margin-right: 5px; @@ -146,6 +184,7 @@ body > .navbar-fixed .brand:hover { font-weight: normal; color: #999; } +.quick-links .github-btn, .quick-links .tweet-btn, .quick-links .follow-btn { position: relative; diff --git a/docs/assets/img/github-16px.png b/docs/assets/img/github-16px.png new file mode 100644 index 0000000000..c99ab237a7 Binary files /dev/null and b/docs/assets/img/github-16px.png differ diff --git a/docs/index.html b/docs/index.html index 7b91315029..ffc81596ec 100644 --- a/docs/index.html +++ b/docs/index.html @@ -57,6 +57,7 @@ Download on GitHub Currently v2.0.0

+

Feature highlights