-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 상단바 단순하게 바꿈 화면이 작아질 경우 UI버튼 식으로 변경 * Navbar 마이페이지 기능 추가(#12) * passwd 레이아웃 정리 (#13) * 상단바 잘리는 버그 픽스 * Readme에 실행 방법 추가(#18) * group list 드롭다운 메뉴로 관리 (#41) * 상단 바 active 기능 추가(눌렀을 때 남아있게) * 임시 메인페이지(#10) * 메인 페이지 다듬기 * nav bar link 수정 * script 밑에서 선언 * footer 추가 * 게시물보기 디자인 수정
- Loading branch information
1 parent
d528d16
commit 0f5bc97
Showing
10 changed files
with
130 additions
and
24 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<style> | ||
/* Add a dark background color to the footer */ | ||
footer { | ||
background-color: #2d2d30; | ||
color: #f5f5f5; | ||
padding: 16px; | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
footer a { | ||
color: #f5f5f5; | ||
} | ||
|
||
footer a:hover { | ||
color: #777; | ||
text-decoration: none; | ||
} | ||
</style> | ||
<div style="height:100px"> </div> | ||
<footer class="text-center"> | ||
<a class="up-arrow" href="#" data-toggle="tooltip" title="TO TOP"> | ||
<span class="glyphicon glyphicon-chevron-up"></span> | ||
</a><br> | ||
<span class="pull-right text-muted small"><a href="https://github.com/CNU-ANT/ANT-Cave">Ant-Cave</a> ©2018</span> | ||
<br> | ||
</footer> | ||
|
||
<script> | ||
$(document).ready(function(){ | ||
// Initialize Tooltip | ||
$('[data-toggle="tooltip"]').tooltip(); | ||
}) | ||
/* 부드럽게 스크롤 작용 */ | ||
$(document).ready(function(){ | ||
// Add smooth scrolling to all links in navbar + footer link | ||
$(".navbar a, footer a[href='#myPage']").on('click', function(event) { | ||
|
||
// Make sure this.hash has a value before overriding default behavior | ||
if (this.hash !== "") { | ||
|
||
// Prevent default anchor click behavior | ||
event.preventDefault(); | ||
|
||
// Store hash | ||
var hash = this.hash; | ||
|
||
// Using jQuery's animate() method to add smooth page scroll | ||
// The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area | ||
$('html, body').animate({ | ||
scrollTop: $(hash).offset().top | ||
}, 900, function(){ | ||
|
||
// Add hash (#) to URL when done scrolling (default click behavior) | ||
window.location.hash = hash; | ||
}); | ||
} // End if | ||
}); | ||
}) | ||
</script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters