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

Skip to content

Commit 68a6617

Browse files
committed
Tweak footer styles to be more friendly to mobile devises
1 parent 4482cf1 commit 68a6617

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

app/assets/stylesheets/custom.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,13 +431,13 @@ a {
431431

432432
.footer-bottom {
433433
//margin: -.25em 0 0;
434-
padding: 2em 2em;
434+
padding: 2.0em 1.0em;
435435
color: #fff;
436436
background: #2275CA
437437
}
438438

439439
.footer-bottom>h2 {
440-
font-size: 87.5%;
440+
font-size: 14.0px;
441441
margin-top: 0;
442442
margin-bottom: 2em
443443
}

app/views/shared/_footer.html.haml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,30 @@
2222
|
2323
%a.footer-link{href: "https://decadojo.coderdojo.jp/"} DecaDojo
2424
|
25-
%a.footer-link{href: "https://dojocon.coderdojo.jp/"} DojoCon Japan
25+
%a.footer-link{href: "https://dojocon.coderdojo.jp/"} DojoCon
2626
%h2
2727
%a{href: "http://news.coderdojo.jp/", target: "_blank", rel: "external noopener"}
2828
%i.fa.fa-newspaper-o.fa-3x.fa-fw{"aria-hidden" => "true", title: "News"}
2929
/%a{href: "https://github.com/coderdojo-japan"} / GitHub は直後の文章でリンクがあるので省略
3030
/ %i.fa.fa-github.fa-3x.fa-fw{"aria-hidden" => "true", :title => "GitHub"}
31-
%a{href: "https://www.facebook.com/coderdojo.jp/", target: "_blank", rel: "external noopener"}
31+
%a{href: "https://www.facebook.com/coderdojo.jp/"}
3232
%i.fa.fa-facebook.fa-3x.fa-fw{"aria-hidden" => "true", title: "Facebook"}
33-
%a{href: "https://twitter.com/CoderDojoJapan", target: "_blank", rel: "external noopener"}
33+
%a{href: "https://twitter.com/CoderDojoJapan"}
3434
%i.fa.fa-twitter.fa-3x.fa-fw{"aria-hidden" => "true", title: "Twitter"}
35-
%a{href: "https://www.youtube.com/CoderDojoJapan", target: "_blank", rel: "external noopener"}
35+
%a{href: "https://www.youtube.com/CoderDojoJapan"}
3636
%i.fa.fa-youtube.fa-3x.fa-fw{"aria-hidden" => "true", title: "YouTube"}
3737
%a{href: "/podcasts" }
3838
%i.fa.fa-podcast.fa-3x.fa-fw{"aria-hidden" => "true", title: "Podcast"}
3939
%p{style: "margin-bottom: 30px;"}
4040
本サイトのソースコードは
4141
%br.ignore-pc
42-
%a.footer-link{href: "https://github.com/coderdojo-japan/coderdojo.jp",
43-
target: "_blank", rel: "external noopener"} GitHub
42+
%a.footer-link{href: "https://github.com/coderdojo-japan/coderdojo.jp"} GitHub
4443
上で公開されています。
4544
%p{style: "font-size: 90%; color: \#DDDDDD;"}
4645
Copyright ©
4746
%a{href: "/about-coderdojo-japan", style: "color: \#DDDDDD; text-decoration: none;"}
4847
一般社団法人 CoderDojo Japan
4948
%br/
5049
新宿区高田馬場1-28-10 三慶ビル4F
51-
%a{href: "https://case-shinjuku.com/", style: "color: \#DDDDDD; text-decoration: none;",
52-
target: "_blank", rel: "external noopener"}
50+
%a{href: "https://case-shinjuku.com/", style: "color: \#DDDDDD; text-decoration: none;"}
5351
ケイス新宿

0 commit comments

Comments
 (0)