Skip to content

Commit 2694122

Browse files
re-fortkazupon
authored andcommitted
Formatted all inline styles (vuejs#348)
* Formatted all inline styles * Update date
1 parent 8192ef6 commit 2694122

File tree

9 files changed

+47
-47
lines changed

9 files changed

+47
-47
lines changed

src/support-vuejs/index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Vue.js は MIT ライセンスのオープンソース・プロジェクトで
1515

1616
<p style="text-align: center;">
1717
<a href="https://stdlib.com">
18-
<img style="width:300px" src="/images/stdlib.png">
18+
<img style="width: 300px;" src="/images/stdlib.png">
1919
</a>
2020
</p>
2121

@@ -28,8 +28,8 @@ Vue.js は MIT ライセンスのオープンソース・プロジェクトで
2828
### Patreon ゴールド ($500/月)
2929

3030
<p class="patreon-sponsors sponsor-section">
31-
<a href="https://deepstreamhub.com" target="_blank" style="width:140px;top:1px">
32-
<img src="/images/deepstream.png" style="width:140px">
31+
<a href="https://deepstreamhub.com" target="_blank" style="width: 140px; top: 1px;">
32+
<img src="/images/deepstream.png" style="width: 140px;">
3333
</a><a href="https://jsfiddle.net">
3434
<img src="/images/jsfiddle.png">
3535
</a><a href="https://laravel.com">
@@ -44,18 +44,18 @@ Vue.js は MIT ライセンスのオープンソース・プロジェクトで
4444
<img src="/images/monterail.png">
4545
</a><a href="https://www.2mhost.com/" target="_blank">
4646
<img src="/images/2mhost.png">
47-
</a><a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="position:relative;top:6px">
47+
</a><a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="position: relative; top: 6px;">
4848
<img src="/images/vuejobs.svg">
4949
</a><a href="https://leanpub.com/vuejs2" target="_blank">
5050
<img src="/images/tmvuejs2.png">
51-
</a><a href="https://component.io" target="_blank" style="width:140px">
52-
<img src="/images/component_io.png" style="width:140px">
53-
</a><a href="https://www.v2ex.com/t/379389" target="_blank" style="width:120px;">
54-
<img src="/images/v2exer.png" style="width:120px;">
55-
</a><a href="https://www.xfive.co/" target="_blank" style="width:80px;">
56-
<img src="/images/xfive.png" style="width:80px">
57-
</a><a href="http://www.frontenddevelopermeetups.com/" target="_blank" style="width:120px;">
58-
<img src="/images/frontend-meetups.png" style="width:120px">
51+
</a><a href="https://component.io" target="_blank" style="width: 140px;">
52+
<img src="/images/component_io.png" style="width: 140px;">
53+
</a><a href="https://www.v2ex.com/t/379389" target="_blank" style="width: 120px;">
54+
<img src="/images/v2exer.png" style="width: 120px;">
55+
</a><a href="https://www.xfive.co/" target="_blank" style="width: 80px;">
56+
<img src="/images/xfive.png" style="width: 80px;">
57+
</a><a href="http://www.frontenddevelopermeetups.com/" target="_blank" style="width: 120px;">
58+
<img src="/images/frontend-meetups.png" style="width: 120px;">
5959
</a>
6060
</p>
6161

src/v2/examples/hackernews.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
22
title: HackerNews クローン
3-
updated: 2017-06-26 00:00:00
3+
updated: 2017-09-22
44
type: examples
55
order: 12
66
---
77

88
> これは Hackernews のオフィシャル Firebase API に基づいた Hackernews クローンで、Vue 2.0 + vue-router + vuex 、そしてサーバサイドレンダリングが使用されています。
99
1010
{% raw %}
11-
<div style="max-width:600px">
11+
<div style="max-width: 600px;">
1212
<a href="https://github.com/vuejs/vue-hackernews-2.0" target="_blank">
13-
<img style="width:100%" src="/images/hn.png">
14-
</a>
13+
<img style="width: 100%;" src="/images/hn.png">
14+
</a>
1515
</div>
1616
{% endraw %}
1717

src/v2/guide/components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: コンポーネント
3-
updated: 2017-09-16
3+
updated: 2017-09-22
44
type: guide
55
order: 11
66
---
@@ -219,8 +219,8 @@ new Vue({
219219

220220
Vue では、親子のコンポーネントの関係は、**props down, events up** というように要約することができます。親は、 **プロパティ**を経由して、データを子に伝え、子は**イベント**を経由して、親にメッセージを送ります。以下でどのように動くか見てみましょう。
221221

222-
<p style="text-align: center">
223-
<img style="width:300px" src="/images/props-events.png" alt="props down, events up">
222+
<p style="text-align: center;">
223+
<img style="width: 300px;" src="/images/props-events.png" alt="props down, events up">
224224
</p>
225225

226226
## プロパティ

src/v2/guide/forms.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: フォーム入力バインディング
3-
updated: 2017-09-03
3+
updated: 2017-09-22
44
type: guide
55
order: 10
66
---
@@ -39,15 +39,15 @@ new Vue({
3939

4040
``` html
4141
<span>Multiline message is:</span>
42-
<p style="white-space: pre-line">{{ message }}</p>
42+
<p style="white-space: pre-line;">{{ message }}</p>
4343
<br>
4444
<textarea v-model="message" placeholder="add multiple lines"></textarea>
4545
```
4646

4747
{% raw %}
4848
<div id="example-textarea" class="demo">
4949
<span>Multiline message is:</span>
50-
<p style="white-space: pre-line">{{ message }}</p>
50+
<p style="white-space: pre-line;">{{ message }}</p>
5151
<br>
5252
<textarea v-model="message" placeholder="add multiple lines"></textarea>
5353
</div>
@@ -222,7 +222,7 @@ new Vue({
222222
```
223223
{% raw %}
224224
<div id="example-6" class="demo">
225-
<select v-model="selected" multiple style="width: 50px">
225+
<select v-model="selected" multiple style="width: 50px;">
226226
<option>A</option>
227227
<option>B</option>
228228
<option>C</option>

src/v2/guide/single-file-components.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 単一ファイルコンポーネント
3-
updated: 2017-09-03
3+
updated: 2017-09-22
44
type: guide
55
order: 402
66
---
@@ -20,7 +20,7 @@ order: 402
2020

2121
こちらが `Hello.vue` と呼ばれたファイルの単純な例です:
2222

23-
<img src="/images/vue-component.png" style="display: block; margin: 30px auto">
23+
<img src="/images/vue-component.png" style="display: block; margin: 30px auto;">
2424

2525
さて次にこちらに入ります:
2626

@@ -30,7 +30,7 @@ order: 402
3030

3131
約束したとおり、 Pug、 Babel(ES2015 モジュールと一緒に)や Stylus などより美しくかつ機能が豊富なコンポーネントもプリプロセッサとして利用できます。
3232

33-
<img src="/images/vue-component-with-preprocessors.png" style="display: block; margin: 30px auto">
33+
<img src="/images/vue-component-with-preprocessors.png" style="display: block; margin: 30px auto;">
3434

3535
これらの特定の言語は単なる一例です。Buble 、TypeScript 、SCSS 、PostCSS などの生産的なプリプロセッサも簡単に使うことができます。`vue-loader` で Webpack を使用しているならば、CSS Modules 向けに素晴らしいサポートがあります。
3636

themes/vue/layout/index.ejs

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

5757
<div id="footer">
5858
<a href="https://www.shuttleworthfoundation.org/fellows/flash-grants/" target="_blank">
59-
<img src="/images/shuttleworth.png" style="width:200px">
59+
<img src="/images/shuttleworth.png" style="width: 200px;">
6060
</a>
6161
<p>Released under the <a href="https://opensource.org/licenses/MIT" target="_blank">MIT License</a><br>
6262
Copyright &copy; 2014-<%- new Date().getFullYear() %> Evan You</p>

themes/vue/layout/page.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<span><a href="<%- url_for(page.path) %>"><%- page.title %></a></span>
3333
<% }) %>
3434
<% site.pages.find({ type: page.type, order: page.order + 1 }).each(function (page) { %>
35-
<span style="float:right"><a href="<%- url_for(page.path) %>"><%- page.title %></a></span>
35+
<span style="float: right;"><a href="<%- url_for(page.path) %>"><%- page.title %></a></span>
3636
<% }) %>
3737
</div>
3838
<% } %>

themes/vue/layout/partials/sponsors.ejs

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,48 @@
11
<h3>Patreon スポンサー</h3>
22

3-
<a href="https://stdlib.com/" target="_blank" style="width: 180px">
4-
<img style="width: 180px" src="<%- url_for("/images/stdlib.png") %>">
3+
<a href="https://stdlib.com/" target="_blank" style="width: 180px;">
4+
<img style="width: 180px;" src="<%- url_for("/images/stdlib.png") %>">
55
</a>
66
<br>
77
<br>
8-
<a href="https://deepstreamhub.com" target="_blank" style="width:130px;top:1px">
9-
<img src="<%- url_for("/images/deepstream.png") %>" style="width:130px">
8+
<a href="https://deepstreamhub.com" target="_blank" style="width: 130px; top: 1px;">
9+
<img src="<%- url_for("/images/deepstream.png") %>" style="width: 130px;">
1010
</a>
1111
<a href="https://jsfiddle.net/" target="_blank">
1212
<img src="<%- url_for("/images/jsfiddle.png") %>">
1313
</a>
1414
<a href="https://laravel.com/" target="_blank">
1515
<img src="<%- url_for("/images/laravel.png") %>">
1616
</a>
17-
<a href="https://chaitin.cn" target="_blank" style="top:-1px">
17+
<a href="https://chaitin.cn" target="_blank" style="top: -1px;">
1818
<img src="<%- url_for("/images/chaitin.png") %>">
1919
</a>
2020
<a href="https://htmlburger.com" target="_blank">
2121
<img src="<%- url_for("/images/htmlburger.png") %>">
2222
</a>
23-
<a href="https://starter.someline.com/" target="_blank" style="top:-2px">
23+
<a href="https://starter.someline.com/" target="_blank" style="top: -2px;">
2424
<img src="<%- url_for("/images/someline.png") %>">
2525
</a>
2626
<a href="http://monterail.com/" target="_blank">
2727
<img src="<%- url_for("/images/monterail.png") %>">
2828
</a>
29-
<a href="https://www.2mhost.com/" target="_blank" style="width:90px">
30-
<img src="<%- url_for("/images/2mhost.png") %>" style="width:90px">
29+
<a href="https://www.2mhost.com/" target="_blank" style="width: 90px;">
30+
<img src="<%- url_for("/images/2mhost.png") %>" style="width: 90px;">
3131
</a>
32-
<a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="width:80px;top:4px">
33-
<img src="<%- url_for("/images/vuejobs.svg") %>" style="width:80px">
32+
<a href="https://vuejobs.com/?ref=vuejs" target="_blank" style="width: 80px; top: 4px;">
33+
<img src="<%- url_for("/images/vuejobs.svg") %>" style="width: 80px;">
3434
</a>
3535
<a href="https://leanpub.com/vuejs2" target="_blank">
3636
<img src="<%- url_for("/images/tmvuejs2.png") %>">
3737
</a>
38-
<a href="https://component.io" target="_blank" style="width:120px;top:1px">
39-
<img src="<%- url_for("/images/component_io.png") %>" style="width:120px">
38+
<a href="https://component.io" target="_blank" style="width: 120px; top: 1px;">
39+
<img src="<%- url_for("/images/component_io.png") %>" style="width: 120px;">
4040
</a>
41-
<a href="https://www.v2ex.com/t/379389" target="_blank" style="width:100px;">
42-
<img src="<%- url_for("/images/v2exer.png") %>" style="width:100px">
41+
<a href="https://www.v2ex.com/t/379389" target="_blank" style="width: 100px;">
42+
<img src="<%- url_for("/images/v2exer.png") %>" style="width: 100px;">
4343
</a>
44-
<a href="https://www.xfive.co/" target="_blank" style="width:65px;">
45-
<img src="<%- url_for("/images/xfive.png") %>" style="width:65px">
44+
<a href="https://www.xfive.co/" target="_blank" style="width: 65px;">
45+
<img src="<%- url_for("/images/xfive.png") %>" style="width: 65px;">
4646
</a>
4747
<a href="http://www.frontenddevelopermeetups.com/" target="_blank" style="width:100px;">
4848
<img src="<%- url_for("/images/frontend-meetups.png") %>" style="width:100px">

themes/vue/layout/post.ejs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
<div class="list">
77
<h2>
88
Recent Posts
9-
<a href="<%- url_for("/atom.xml") %>" target="_blank" style="vertical-align: middle; margin-left: 5px">
10-
<img src="<%- url_for("/images/feed.png") %>" style="width:15px;height:15px">
9+
<a href="<%- url_for("/atom.xml") %>" target="_blank" style="vertical-align: middle; margin-left: 5px;">
10+
<img src="<%- url_for("/images/feed.png") %>" style="width: 15px; height: 15px;">
1111
</a>
1212
</h2>
13-
<ul style="padding:0">
13+
<ul style="padding: 0;">
1414
<% site.posts.sort('date', -1).limit(10).each(function (post) { %>
1515
<li>
1616
<a href="/<%- post.path %>" class="sidebar-link<%- page.title === post.title ? ' current' : '' %>"><%- post.title %></a>

0 commit comments

Comments
 (0)