Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
トップページのデザインを変更
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Jan 10, 2014
1 parent 2801b3f commit a37eff4
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/clips.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ $info_box_width: $clip_width - $image_box_width - $margin;
#clip .image_box {
margin: 0;
text-align: center;
background-color: #fff;
border: 1px solid #ccc;

img {
Expand Down Expand Up @@ -201,6 +202,7 @@ h2.title {
margin-bottom: $margin;
width: $info_box_width - $padding * 2;
padding: $padding;
background-color: #fff;
border: 1px solid #ccc;

.count {
Expand Down
55 changes: 55 additions & 0 deletions app/assets/stylesheets/home.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,58 @@
}
}
}

// introduction
#introduction {
color: #333;
margin: 30px auto 40px;
padding-bottom: 40px;
width: $contents_width;;
text-align: center;
border-bottom: 1px solid #ccc;
}

#introduction h1 {
margin: 0.5em 5px;
font-size: xx-large;
font-family: $font_gothic;

.s1 {
font-weight: bold;
}

.s2 {
font-weight: normal;
}
}

#introduction p {
line-height: 250%;
font-family: $font_gothic;
color: #666;

i {
margin: 0 0.5em;
@include opacity(0.75);
}

.btn-reclip {
color: #000;
@include icon(paper-clip);
@include btn-reclip;
}

.btn-like {
@include icon(heart-empty);
@include btn-like;
}

.tip {
color: #333;
margin: 0 3px;
padding: 3px 6px;
background-color: #eee;
border: 1px dotted #aaa;
@include border-radius(4px);
}
}
4 changes: 4 additions & 0 deletions app/assets/stylesheets/scaffolds.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ div {
html,
body {
font-family: sans-serif !important;
background-color: #f5f5ef;
}

table {
background-color: #fff;
}

Expand Down
17 changes: 17 additions & 0 deletions app/views/home/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
#introduction
h1
span.s1 イラスト
span.s2 まとめ!
p
| あなたのお気に入りのイラストを
span.tip 探して
span.tip 集めて
span.tip まとめる
| ことができるサービスです。
p
| 気に入ったイラストがあれば
i.btn-reclip リクリップ
| か
i.btn-like いいね
| を押してみましょう。

#home
.matomes
h2 新着まとめ
Expand Down

0 comments on commit a37eff4

Please sign in to comment.