Skip to content

Commit 81d5cd3

Browse files
author
Rafael J. Staib
committed
Add an update for the facebook button
1 parent 08eb042 commit 81d5cd3

File tree

2 files changed

+52
-51
lines changed

2 files changed

+52
-51
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ <h2>A powerful jQuery wizard plugin that supports accessibility and HTML5.</h2>
3434
<a href="https://github.com/rstaib/jquery-steps" class="button"><small>View project on</small>GitHub</a>
3535
<div class="share">
3636
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://rstaib.github.io/jquery-steps/" data-text="jQuery Steps" data-via="RafaelStaib" data-hashtags="jquerysteps">Tweet</a>
37-
<iframe src="http://ghbtns.com/github-btn.html?user=rstaib&repo=jquery-steps&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
3837
<div class="fb-like" data-href="http://rstaib.github.io/jquery-steps" data-send="false" data-layout="button_count" data-width="110" data-show-faces="false" data-font="arial"></div>
38+
<iframe src="http://ghbtns.com/github-btn.html?user=rstaib&repo=jquery-steps&type=watch&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
3939
</div>
4040
</div>
4141
</header>

stylesheets/stylesheet.css

Lines changed: 51 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ footer, header, hgroup, menu, nav, section {
2929
}
3030
body {
3131
line-height: 1;
32-
overflow-y: scroll;
32+
overflow-y: scroll;
3333
}
3434
ol, ul {
3535
list-style: none;
@@ -155,7 +155,8 @@ header .share {
155155
top: 100px;
156156
width: 202px;
157157
}
158-
header .share > iframe {
158+
header .share > iframe,
159+
header .share > div {
159160
margin: 0 10px 10px 0;
160161
}
161162
aside a.button {
@@ -388,105 +389,105 @@ footer a:hover {
388389
/* Tablet Portrait size to standard 960 (devices and browsers) */
389390
@media only screen and (min-width: 768px) and (max-width: 959px) {
390391
.inner {
391-
width: 740px;
392+
width: 740px;
392393
}
393394
header h1, header h2 {
394-
width: 340px;
395+
width: 340px;
395396
}
396397
header h1 {
397-
font-size: 60px;
398+
font-size: 60px;
398399
}
399400
header h2 {
400-
font-size: 30px;
401+
font-size: 30px;
401402
}
402403
#main-content {
403-
width: 490px;
404+
width: 490px;
404405
}
405406
#main-content h1:before,
406407
#main-content h2:before,
407408
#main-content h3:before,
408409
#main-content h4:before,
409410
#main-content h5:before,
410411
#main-content h6:before {
411-
content: none;
412-
padding-right: 0;
413-
margin-left: 0;
412+
content: none;
413+
padding-right: 0;
414+
margin-left: 0;
414415
}
415416
}
416417

417418
/* All Mobile Sizes (devices and browser) */
418419
@media only screen and (max-width: 767px) {
419420
.inner {
420-
width: 93%;
421+
width: 93%;
421422
}
422423
header {
423-
padding: 20px 0;
424+
padding: 20px 0;
424425
}
425426
header .inner {
426-
position: relative;
427+
position: relative;
427428
}
428429
header h1, header h2 {
429-
width: 100%;
430+
width: 100%;
430431
}
431432
header h1 {
432-
font-size: 48px;
433+
font-size: 48px;
433434
}
434435
header h2 {
435-
font-size: 24px;
436+
font-size: 24px;
436437
}
437438
header a.button {
438-
background-image: none;
439-
width: auto;
440-
height: auto;
441-
float: left;
442-
display: inline-block;
443-
margin: 15px 15px 0 0;
444-
padding: 5px 10px;
445-
position: relative;
446-
text-align: center;
447-
font-size: 13px;
448-
line-height: 1;
449-
background-color: #9ddcff;
450-
color: #2879d0;
451-
-moz-border-radius: 5px;
452-
-webkit-border-radius: 5px;
453-
border-radius: 5px;
439+
background-image: none;
440+
width: auto;
441+
height: auto;
442+
float: left;
443+
display: inline-block;
444+
margin: 15px 15px 0 0;
445+
padding: 5px 10px;
446+
position: relative;
447+
text-align: center;
448+
font-size: 13px;
449+
line-height: 1;
450+
background-color: #9ddcff;
451+
color: #2879d0;
452+
-moz-border-radius: 5px;
453+
-webkit-border-radius: 5px;
454+
border-radius: 5px;
454455
}
455456
header a.button small {
456-
font-size: 13px;
457-
display: inline;
457+
font-size: 13px;
458+
display: inline;
458459
}
459460
header .share {
460-
top: 0;
461-
width: auto;
462-
display: inline-block;
463-
margin: 15px 15px 0 0;
464-
position: relative;
461+
top: 0;
462+
width: auto;
463+
display: inline-block;
464+
margin: 15px 15px 0 0;
465+
position: relative;
465466
}
466467
#main-content,
467468
aside#sidebar {
468-
float: none;
469-
width: 100% ! important;
469+
float: none;
470+
width: 100% ! important;
470471
}
471472
aside#sidebar {
472-
background-image: none;
473-
margin-top: 20px;
474-
border-top: solid 1px #ddd;
475-
padding: 20px 0;
476-
min-height: 0;
473+
background-image: none;
474+
margin-top: 20px;
475+
border-top: solid 1px #ddd;
476+
padding: 20px 0;
477+
min-height: 0;
477478
}
478479
aside#sidebar a.button {
479-
display: none;
480+
display: none;
480481
}
481482
#main-content h1:before,
482483
#main-content h2:before,
483484
#main-content h3:before,
484485
#main-content h4:before,
485486
#main-content h5:before,
486487
#main-content h6:before {
487-
content: none;
488-
padding-right: 0;
489-
margin-left: 0;
488+
content: none;
489+
padding-right: 0;
490+
margin-left: 0;
490491
}
491492
}
492493

0 commit comments

Comments
 (0)