Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e5390e

Browse files
committed
small screen docs improvements
1 parentc76af8f commit5e5390e

File tree

5 files changed

+20
-8
lines changed

5 files changed

+20
-8
lines changed

‎_includes/docs/docs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% include docs/side-nav.html %}
66

7-
<divclass="col-md-9 col-sm-12"role="main">
7+
<divclass="col-md-9 col-xs-12"role="main">
88
<sectionclass="bs-docs-section">
99
<h1id="overview"class="page-header">Overview</h1>
1010

‎_includes/docs/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<footer>
33
<divclass="container">
44
<divclass="row">
5-
<divclass="col-md-7">
5+
<divclass="col-md-7 col-xs-12">
66
<ulclass="list-inline">
77
<li>
88
<ahref="#home">Home</a>
@@ -36,7 +36,7 @@
3636
Copyright &copy; 2016 Shawn McKay (<ahref="https://twitter.com/sh_mck"target="_blank">@Sh_McK</a>), Vancouver, BC. All Rights Reserved.
3737
</p>
3838
</div>
39-
<divclass="col-md-5"id="mc_embed_signup">
39+
<divclass="col-md-5 col-xs-12"id="mc_embed_signup">
4040
<form
4141
class="form-inline"
4242
action="//herokuapp.us11.list-manage.com/subscribe/post?u=324732fa284e63ca555b47978&amp;id=5f3f4f5086"

‎_includes/docs/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<divclass="container">
66

77
<divclass="row">
8-
<divclass="col-lg-12">
8+
<divclass="col-lg-12 col-xs-12">
99
<divclass="short-intro-message">
1010
<h1>CodeRoad</h1>
1111
<h3>Tutorial Development Docs</h3>

‎_includes/docs/side-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<asideclass="col-md-3 col-sm-12"role="complementary">
1+
<asideclass="col-md-3 col-xs-12"role="complementary">
22
<divclass="bs-docs-sidebar hidden-print">
33
<ulclass="nav sidebar">
44
<li>

‎css/docs.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
@viewport {
88
width: device-width
99
}
10-
#docs {
11-
position: relative;
12-
}
1310
.navbar {
1411
margin-bottom:0;
1512
}
@@ -81,6 +78,16 @@
8178
.bs-docs-theme-toggle {
8279
margin-top:0
8380
}
81+
@media (max-width:767px) {
82+
.bs-docs-sidebar {
83+
margin-top:25px;
84+
margin-left:30px;
85+
}
86+
.bs-docs-sidebar .nav>li>a {
87+
font-size:18px;
88+
margin-bottom:5px;
89+
}
90+
}
8491
@media (min-width:768px) {
8592
.back-to-top, .bs-docs-theme-toggle {
8693
display: block
@@ -116,6 +123,9 @@
116123
.bs-docs-section:last-child {
117124
margin-bottom:0
118125
}
126+
#docs {
127+
position: relative;
128+
}
119129
#docscode {
120130
padding:0;
121131
}
@@ -131,4 +141,6 @@
131141
.gif {
132142
display: block;
133143
margin:20px auto;
144+
max-width:500px;
145+
overflow: hidden;
134146
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp