Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fcff62c

Browse files
committed
Merge pull request #132 from jkuchta/master
Fully take advantage of bootstrap awesomeness but responsive
2 parents c676106 + 5a77785 commit fcff62c

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

_includes/themes/twitter/default.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
77
<meta name="author" content="{{ site.author.name }}">
88

9+
<!-- Enable responsive viewport -->
10+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
11+
912
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
1013
<!--[if lt IE 9]>
1114
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
@@ -28,7 +31,7 @@
2831

2932
<div class="navbar">
3033
<div class="navbar-inner">
31-
<div class="container">
34+
<div class="container-fluid">
3235
<a class="brand" href="{{ HOME_PATH }}">{{ site.title }}</a>
3336
<ul class="nav">
3437
{% assign pages_list = site.pages %}
@@ -39,7 +42,7 @@
3942
</div>
4043
</div>
4144

42-
<div class="container">
45+
<div class="container-fluid">
4346

4447
<div class="content">
4548
{{ content }}
@@ -52,7 +55,7 @@
5255
</p>
5356
</footer>
5457

55-
</div> <!-- /container -->
58+
</div> <!-- /container-fluid -->
5659

5760
{% include JB/analytics %}
5861
</body>

_includes/themes/twitter/page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
33
</div>
44

5-
<div class="row">
5+
<div class="row-fluid">
66
<div class="span12">
77
{{ content }}
88
</div>

_includes/themes/twitter/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1>{{ page.title }} <small>Supporting tagline</small></h1>
33
</div>
44

5-
<div class="row">
5+
<div class="row-fluid">
66
<div class="span8">
77
{{ content }}
88
<hr>

assets/themes/twitter/css/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,8 @@ html, body {
6868
border:1px solid #4C964D;
6969
color:#FFF;
7070
}
71+
footer p{
72+
text-align: center;
73+
margin-top: 4px;
74+
}
7175

0 commit comments

Comments
 (0)