aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-12 15:23:37 -0700
committerChris Rebert <[email protected]>2013-08-12 17:46:02 -0700
commitf4bb660974699f4336d22385e104347f6bd4dce0 (patch)
tree9f796687318f7203d2bd82325960c5190385a306
parent8a1fc99f50fc157a7c396bbf1955d03f46ae126a (diff)
downloadbootstrap-f4bb660974699f4336d22385e104347f6bd4dce0.tar.xz
bootstrap-f4bb660974699f4336d22385e104347f6bd4dce0.zip
drop iframe attributes for CSS styling
-rw-r--r--_includes/social-buttons.html4
-rw-r--r--assets/css/docs.css5
2 files changed, 7 insertions, 2 deletions
diff --git a/_includes/social-buttons.html b/_includes/social-buttons.html
index 11695ca1b..89a24123e 100644
--- a/_includes/social-buttons.html
+++ b/_includes/social-buttons.html
@@ -1,10 +1,10 @@
<div class="bs-social">
<ul class="bs-social-buttons">
<li>
- <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20" title="Star on GitHub"></iframe>
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>
</li>
<li>
- <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true" allowtransparency="true" frameborder="0" scrolling="0" width="102" height="20" title="Fork on GitHub"></iframe>
+ <iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true" width="102" height="20" title="Fork on GitHub"></iframe>
</li>
<li class="follow-btn">
<a href="https://twitter.com/twbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @twbootstrap</a>
diff --git a/assets/css/docs.css b/assets/css/docs.css
index b5725c923..bc50c5d41 100644
--- a/assets/css/docs.css
+++ b/assets/css/docs.css
@@ -705,6 +705,11 @@ body {
.bs-social-buttons .twitter-share-button {
width: 98px !important;
}
+/* Style the GitHub buttons via CSS instead of inline attributes */
+.github-btn {
+ border: 0;
+ overflow: hidden;
+}