From 2534fee7538526e2b4e263258fe62953cf08f159 Mon Sep 17 00:00:00 2001
From: Mark Otto
Date: Tue, 1 Nov 2011 13:56:00 -0700
Subject: [PATCH] adding unofficial github buttons
---
docs/assets/css/docs.css | 41 +++++++++++++++++++++++++++-
docs/assets/img/github-16px.png | Bin 0 -> 398 bytes
docs/index.html | 46 +++++++++++++++++++++++++++++++-
3 files changed, 85 insertions(+), 2 deletions(-)
create mode 100644 docs/assets/img/github-16px.png
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 0000000000000000000000000000000000000000..c99ab237a7e77fd149fba63e15e3463b387c0689
GIT binary patch
literal 398
zcmV;90df9`P)FzKH)jx*qFJZ+GK_>gF{$@&?*CC=Je?OrE?-zumcwSlr3$89=(}-wJ9vZDfr47
zZ(*FC#*RVHJ!I{S2poVq1IPx#07*qoM6N<$g5GDownload on GitHub
Currently v2.0.0
+