Skip to content

Commit a7eb238

Browse files
committed
Make DecaDojo top texts more friendly for mobile screens
1 parent bfebbfc commit a7eb238

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

index.html

+6-3
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,13 @@ <h3 class="headline rich_font">DecaDojo とは?</h3>
170170
<div class="desc">
171171
<p>「でかドージョー」は、埼玉県所沢市で始まった、近隣の <a href='https://coderdojo.jp/'>CoderDojo</a> が集まってプログラミングを楽しむお祭りです。</p>
172172
<br>
173-
<p>でか(Deca)は日本語で「大きい」を意味する「でかい」と、10倍を表す単位 [deca] をかけてます。( ー`дー´)キリッ</p>
173+
<p>でか(Deca)は日本語で「大きい」を意味する「でかい」と、10倍を表す単位 <a href='https://ja.wikipedia.org/wiki/%E3%83%87%E3%82%AB'>[deca]</a> をかけてます。<br class='ignore-pc'>
174+
<span style='font-size: 80%;'>
175+
( ー`дー´)キリッ
176+
</span>
177+
</p>
174178
<br>
175-
<p>いつもと違う大きな会場で、みどころ10倍!楽しさ10倍!<br />
176-
ニンジャのみんなの参加まってるよ!</p>
179+
<p>いつもと違う大きな会場で、みどころ10倍!楽しさ10倍!<br class='ignore-sp'>ニンジャのみんなの参加を待ってるよ!</p>
177180
</div>
178181
</div>
179182
</div>

responsive.css

+15
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
body { min-width:0; }
44

5+
/* 改行位置の調整 */
6+
.ignore-pc {
7+
display: none;
8+
}
9+
.ignore-sp {
10+
display: inline;
11+
}
12+
@media screen and (max-width: 550px) {
13+
.ignore-pc {
14+
display: inline;
15+
}
16+
.ignore-sp {
17+
display: none;
18+
}
19+
}
520

621
/* レイアウト */
722
#global_menu_wrap {

0 commit comments

Comments
 (0)