質問編集履歴

2

構成を一部入れ替えました。

2017/02/06 06:10

投稿

Tomoaki_Fukuda
Tomoaki_Fukuda

スコア75

test CHANGED
File without changes
test CHANGED
@@ -4,7 +4,17 @@
4
4
 
5
5
 
6
6
 
7
+ ###発生している問題
8
+
9
+ こちらの[サイト](https://blackrockdigital.github.io/startbootstrap-agency/)の模写をするため、Google Chromeの「ページのソースの表示」の機能を使い、HTMLはコピーすることが出来ました。しかし、CSSとJAVASCRIPTがうまく適用されず、ここで詰まってしまっております。
10
+
11
+ 正しく模写するために、Ruby on railsを使用する上で、CSSとJAVASCRIPTをどのように記載すれば良いのでしょうか?
12
+
13
+ 何卒ご教示頂きたくお願い致します。
14
+
15
+
16
+
7
- ###HTMLのコード
17
+ ###HTMLのコード(一部抜粋)
8
18
 
9
19
  ```HTML
10
20
 
@@ -314,20 +324,6 @@
314
324
 
315
325
 
316
326
 
317
- ###発生している問題
318
-
319
- こちらの[サイト](https://blackrockdigital.github.io/startbootstrap-agency/)の模写をするため、Google Chromeの「ページのソースの表示」の機能を使い、HTMLはコピーすることが出来ました。しかし、CSSとJAVASCRIPTがうまく適用されず、ここで詰まってしまっております。
320
-
321
- 正しく模写するために、Ruby on railsを使用する上で、CSSとJAVASCRIPTをどのように記載すれば良いのでしょうか?
322
-
323
- 何卒ご教示頂きたくお願い致します。
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
327
  ###補足情報(言語/FW/ツール等のバージョンなど)
332
328
 
333
329
  Ruby on rails 4.2.5

1

HTMLのコードを追記

2017/02/06 06:10

投稿

Tomoaki_Fukuda
Tomoaki_Fukuda

スコア75

test CHANGED
File without changes
test CHANGED
@@ -4,9 +4,313 @@
4
4
 
5
5
 
6
6
 
7
-
8
-
9
-
7
+ ###HTMLのコード
8
+
9
+ ```HTML
10
+
11
+ <!DOCTYPE html>
12
+
13
+ <html lang="en">
14
+
15
+ <head>
16
+
17
+ <meta charset="utf-8">
18
+
19
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
20
+
21
+ <meta name="viewport" content="width=device-width, initial-scale=1">
22
+
23
+ <meta name="description" content="">
24
+
25
+ <meta name="author" content="">
26
+
27
+ <title>Agency - Start Bootstrap Theme</title>
28
+
29
+ <!-- Bootstrap Core CSS -->
30
+
31
+ <link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
32
+
33
+ <!-- Custom Fonts -->
34
+
35
+ <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
36
+
37
+ <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700" rel="stylesheet" type="text/css">
38
+
39
+ <link href='https://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>
40
+
41
+ <link href='https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
42
+
43
+ <link href='https://fonts.googleapis.com/css?family=Roboto+Slab:400,100,300,700' rel='stylesheet' type='text/css'>
44
+
45
+ <!-- Theme CSS -->
46
+
47
+ <link href="css/agency.min.css" rel="stylesheet">
48
+
49
+ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
50
+
51
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
52
+
53
+ <!--[if lt IE 9]>
54
+
55
+ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js" integrity="sha384-0s5Pv64cNZJieYFkXYOTId2HMA2Lfb6q2nAcx2n0RTLUnCAoTTsS0nKEO27XyKcY" crossorigin="anonymous"></script>
56
+
57
+ <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js" integrity="sha384-ZoaMbDF+4LeFxg6WdScQ9nnR1QC2MIRxA1O9KWEXQwns1G8UNyIEZIQidzb0T1fo" crossorigin="anonymous"></script>
58
+
59
+ <![endif]-->
60
+
61
+ </head>
62
+
63
+ <body id="page-top" class="index">
64
+
65
+ <!-- Navigation -->
66
+
67
+ <nav id="mainNav" class="navbar navbar-default navbar-custom navbar-fixed-top">
68
+
69
+ <div class="container">
70
+
71
+ <!-- Brand and toggle get grouped for better mobile display -->
72
+
73
+ <div class="navbar-header page-scroll">
74
+
75
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
76
+
77
+ <span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
78
+
79
+ </button>
80
+
81
+ <a class="navbar-brand page-scroll" href="#page-top">Start Bootstrap</a>
82
+
83
+ </div>
84
+
85
+ <!-- Collect the nav links, forms, and other content for toggling -->
86
+
87
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
88
+
89
+ <ul class="nav navbar-nav navbar-right">
90
+
91
+ <li class="hidden">
92
+
93
+ <a href="#page-top"></a>
94
+
95
+ </li>
96
+
97
+ <li>
98
+
99
+ <a class="page-scroll" href="#services">Services</a>
100
+
101
+ </li>
102
+
103
+ <li>
104
+
105
+ <a class="page-scroll" href="#portfolio">Portfolio</a>
106
+
107
+ </li>
108
+
109
+ <li>
110
+
111
+ <a class="page-scroll" href="#about">About</a>
112
+
113
+ </li>
114
+
115
+ <li>
116
+
117
+ <a class="page-scroll" href="#team">Team</a>
118
+
119
+ </li>
120
+
121
+ <li>
122
+
123
+ <a class="page-scroll" href="#contact">Contact</a>
124
+
125
+ </li>
126
+
127
+ </ul>
128
+
129
+ </div>
130
+
131
+ <!-- /.navbar-collapse -->
132
+
133
+ </div>
134
+
135
+ <!-- /.container-fluid -->
136
+
137
+ </nav>
138
+
139
+ <!-- Header -->
140
+
141
+ <header>
142
+
143
+ <div class="container">
144
+
145
+ <div class="intro-text">
146
+
147
+ <div class="intro-lead-in">Welcome To Our Studio!</div>
148
+
149
+ <div class="intro-heading">It's Nice To Meet You</div>
150
+
151
+ <a href="#services" class="page-scroll btn btn-xl">Tell Me More</a>
152
+
153
+ </div>
154
+
155
+ </div>
156
+
157
+ </header>
158
+
159
+ <!-- Portfolio Modal 3 -->
160
+
161
+ <div class="portfolio-modal modal fade" id="portfolioModal3" tabindex="-1" role="dialog" aria-hidden="true">
162
+
163
+ <div class="modal-dialog">
164
+
165
+ <div class="modal-content">
166
+
167
+ <div class="close-modal" data-dismiss="modal">
168
+
169
+ <div class="lr">
170
+
171
+ <div class="rl">
172
+
173
+ </div>
174
+
175
+ </div>
176
+
177
+ </div>
178
+
179
+ <div class="container">
180
+
181
+ <div class="row">
182
+
183
+ <div class="col-lg-8 col-lg-offset-2">
184
+
185
+ <div class="modal-body">
186
+
187
+ <!-- Project Details Go Here -->
188
+
189
+ <h2>Project Name</h2>
190
+
191
+ <p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
192
+
193
+ <img class="img-responsive img-centered" src="img/portfolio/treehouse-preview.png" alt="">
194
+
195
+ <p>Treehouse is a free PSD web template built by <a href="https://www.behance.net/MathavanJaya">Mathavan Jaya</a>. This is bright and spacious design perfect for people or startup companies looking to showcase their apps or other projects.</p>
196
+
197
+ <p>You can download the PSD template in this portfolio sample item at <a href="http://freebiesxpress.com/gallery/treehouse-free-psd-web-template/">FreebiesXpress.com</a>.</p>
198
+
199
+ <button type="button" class="btn btn-primary" data-dismiss="modal"><i class="fa fa-times"></i> Close Project</button>
200
+
201
+ </div>
202
+
203
+ </div>
204
+
205
+ </div>
206
+
207
+ </div>
208
+
209
+ </div>
210
+
211
+ </div>
212
+
213
+ </div>
214
+
215
+
216
+
217
+ <!-- Portfolio Modal 4 -->
218
+
219
+ <div class="portfolio-modal modal fade" id="portfolioModal4" tabindex="-1" role="dialog" aria-hidden="true">
220
+
221
+ <div class="modal-dialog">
222
+
223
+ <div class="modal-content">
224
+
225
+ <div class="close-modal" data-dismiss="modal">
226
+
227
+ <div class="lr">
228
+
229
+ <div class="rl">
230
+
231
+ </div>
232
+
233
+ </div>
234
+
235
+ </div>
236
+
237
+ <div class="container">
238
+
239
+ <div class="row">
240
+
241
+ <div class="col-lg-8 col-lg-offset-2">
242
+
243
+ <div class="modal-body">
244
+
245
+ <!-- Project Details Go Here -->
246
+
247
+ <h2>Project Name</h2>
248
+
249
+ <p class="item-intro text-muted">Lorem ipsum dolor sit amet consectetur.</p>
250
+
251
+ <img class="img-responsive img-centered" src="img/portfolio/golden-preview.png" alt="">
252
+
253
+ <p>Start Bootstrap's Agency theme is based on Golden, a free PSD website template built by <a href="https://www.behance.net/MathavanJaya">Mathavan Jaya</a>. Golden is a modern and clean one page web template that was made exclusively for Best PSD Freebies. This template has a great portfolio, timeline, and meet your team sections that can be easily modified to fit your needs.</p>
254
+
255
+ <p>You can download the PSD template in this portfolio sample item at <a href="http://freebiesxpress.com/gallery/golden-free-one-page-web-template/">FreebiesXpress.com</a>.</p>
256
+
257
+ <button type="button" class="btn btn-primary" data-dismiss="modal"><i class="fa fa-times"></i> Close Project</button>
258
+
259
+ </div>
260
+
261
+ </div>
262
+
263
+ </div>
264
+
265
+ </div>
266
+
267
+ </div>
268
+
269
+ </div>
270
+
271
+ </div>
272
+
273
+ <!-- jQuery -->
274
+
275
+ <script src="vendor/jquery/jquery.min.js"></script>
276
+
277
+
278
+
279
+ <!-- Bootstrap Core JavaScript -->
280
+
281
+ <script src="vendor/bootstrap/js/bootstrap.min.js"></script>
282
+
283
+
284
+
285
+ <!-- Plugin JavaScript -->
286
+
287
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js" integrity="sha384-mE6eXfrb8jxl0rzJDBRanYqgBxtJ6Unn4/1F7q4xRRyIw7Vdg9jP4ycT7x1iVsgb" crossorigin="anonymous"></script>
288
+
289
+
290
+
291
+ <!-- Contact Form JavaScript -->
292
+
293
+ <script src="js/jqBootstrapValidation.js"></script>
294
+
295
+ <script src="js/contact_me.js"></script>
296
+
297
+
298
+
299
+ <!-- Theme JavaScript -->
300
+
301
+ <script src="js/agency.min.js"></script>
302
+
303
+
304
+
305
+ </body>
306
+
307
+
308
+
309
+ </html>
310
+
311
+
312
+
313
+ ```
10
314
 
11
315
 
12
316