Skip to content

Commit

Permalink
carousel-caption Background 배경 변경 및 carousel 이미지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
k352ex committed Nov 16, 2015
1 parent e15d6fd commit 70f0b65
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Binary file added app/assets/images/Coding1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/Coding2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
padding-right: 60px;
padding-left: 60px;
}

.carousel-caption {
background: rgba(0, 0, 0, 0.5);
}
6 changes: 3 additions & 3 deletions app/views/index/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
<div class="item active">
<%= image_tag("Coding.jpg", :width => "100%") %>
<div class="carousel-caption">
<p> 안녕하세요, 원광대학교 컴퓨터공학과 학생 홈페이지입니다. </p>
<h3> 안녕하세요, 원광대학교 컴퓨터공학과 학생 홈페이지입니다. </h3>
</div>
</div>
<div class="item">
<%= image_tag("Coding.jpg", :width => "100%") %>
<%= image_tag("Coding1.jpg", :width => "100%") %>
<div class="carousel-caption">
<h4> 학과 공지, 학년 별 공지, 학년 별 게시판 등이 있으니 이용해주시면 감사하겠습니다. </h4>
</div>
</div>
<div class="item">
<%= image_tag("Coding.jpg", :width => "100%") %>
<%= image_tag("Coding2.jpg", :width => "100%") %>
</div>
</div>

Expand Down

0 comments on commit 70f0b65

Please sign in to comment.