-
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.
- Loading branch information
Showing
9 changed files
with
156 additions
and
165 deletions.
There are no files selected for viewing
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,126 @@ | ||
body { | ||
font-family: "Lobster", cursive; | ||
margin: 0; | ||
padding: 0; | ||
background: #eff1f5; | ||
} | ||
|
||
.wrap { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
} | ||
|
||
.search form { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
h1 { | ||
font-size: 24px; | ||
text-align: center; | ||
} | ||
|
||
img { | ||
max-width: 100%; | ||
height: auto; | ||
border: 5px solid #2e51a2; | ||
border-radius: 12%; | ||
} | ||
|
||
.searchTerm { | ||
width: 80%; | ||
padding: 15px; | ||
border: 1px solid #ccc; | ||
border-radius: 5px 0 0 5px; | ||
outline: none; | ||
color: #657789; | ||
} | ||
|
||
.searchButton { | ||
width: 20%; | ||
height: 47.5px; | ||
border: 1px solid #ccc; | ||
border-radius: 0 5px 5px 0; | ||
background: #2e51a2; | ||
text-align: center; | ||
cursor: pointer; | ||
} | ||
|
||
.searchButton svg { | ||
vertical-align: middle; | ||
} | ||
|
||
.searchButton svg circle { | ||
fill: #2e51a2; | ||
} | ||
|
||
.anime-content { | ||
width: 80%; | ||
margin: 20px auto; | ||
padding: 10px; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
font-family: "VT323", monospace; | ||
font-size: 20px; | ||
} | ||
|
||
.anime-info { | ||
display: flex; | ||
align-items: center; | ||
} | ||
|
||
.anime-cover img { | ||
max-width: 300px; | ||
height: auto; | ||
margin-right: 10px; | ||
} | ||
|
||
.anime-details { | ||
flex: 1; | ||
padding-left: 100px; | ||
margin-right: 100px; | ||
} | ||
|
||
.anime-details strong { | ||
display: block; | ||
margin-bottom: 5px; | ||
padding-top: 4px; | ||
} | ||
|
||
@media screen and (max-width: 900px) { | ||
.anime-info { | ||
flex-direction: column; | ||
} | ||
|
||
.anime-details { | ||
padding-left: 5%; | ||
margin-right: 5%; | ||
} | ||
|
||
.anime-details strong { | ||
display: inline-block; | ||
} | ||
} | ||
|
||
.error-message { | ||
color: red; | ||
} | ||
|
||
.copyright-box { | ||
font-family: cursive; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
text-align: center; | ||
} | ||
|
||
.fixed-bottom { | ||
font-family: cursive; | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
text-align: center; | ||
} |
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,8 @@ | ||
$(function () { | ||
$(".synopsis").moreLess({ | ||
wordsCount: 50, | ||
moreClass: "toggle-text", | ||
lessClass: "toggle-text", | ||
}); | ||
|
||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,19 +1,10 @@ | ||
<footer> | ||
<% if(data==null) { %> | ||
<div class="fixed-copyright-box"> | ||
<p class="copyright">Copyright © <strong>Sujoy De</strong>. All Rights Reserved</p> | ||
<div class="credits"> | ||
Source <a href="https://github.com/desujoy/desujoy.github.io/" target="_blank">GitHub</a> | ||
</div> | ||
</div> | ||
<% } else { %> | ||
<div class="relative-copyright-box"> | ||
<p class="copyright">Copyright © <strong>Sujoy De</strong>. All Rights Reserved</p> | ||
<div class="credits"> | ||
Source <a href="https://github.com/desujoy/desujoy.github.io/" target="_blank">GitHub</a> | ||
</div> | ||
</div> | ||
<% } %> | ||
<footer <% if (data==null) { %> class="fixed-bottom" <% } %> | ||
<div class="copyright-box"> | ||
Copyright © <strong>Sujoy De</strong>. All Rights Reserved<br> | ||
Source <a href="https://github.com/desujoy/desujoy.github.io/" target="_blank">GitHub</a> | ||
|
||
</div> | ||
</footer> | ||
<script src="js/main.js"></script> | ||
|
||
</html> |
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