remember/css/comic.css

329 lines
4.7 KiB
CSS
Raw Permalink Normal View History

2018-09-18 17:17:42 +00:00
/* FONT FACE */
@font-face {
font-family: "PatrickHand";
font-style: normal;
font-weight: 400;
src: url(PatrickHand-Regular.ttf) format('truetype');
}
/* HTML & BODY */
html, body{
width:100%;
height:100%;
2018-10-22 20:40:55 +00:00
scroll-behavior: smooth;
2018-09-18 17:17:42 +00:00
}
body{
background: #eeeeee;
margin:0;
font-family: "PatrickHand", Helvetica, Arial;
font-size: 25px;
line-height: 1.2em;
2018-10-25 14:31:20 +00:00
overflow-x:hidden;
2018-09-18 17:17:42 +00:00
}
/* fake bold */
b, strong{
font-weight: normal;
text-shadow:1px 0 0 currentColor;
letter-spacing: 1px;
}
2018-10-18 15:35:56 +00:00
a{
color:#5b8df1;
}
2018-10-24 14:11:40 +00:00
a:hover{
color:#8aadf5;
}
2018-10-18 15:35:56 +00:00
2018-10-10 19:46:46 +00:00
/**********/
/* SPLASH */
/**********/
.divider{
2018-10-22 20:40:55 +00:00
position: relative;
2018-10-10 19:46:46 +00:00
width: 100%;
color: #fff;
text-align: center;
2018-10-24 16:40:01 +00:00
background: #000;
2018-10-10 19:46:46 +00:00
}
2018-10-25 14:31:20 +00:00
.divider_title{
height: 280px;
}
2018-10-22 20:40:55 +00:00
.divider_small_height{
height: 220px;
}
.divider_big_height{
height: 300px;
}
@media (max-width:1000px) {
2018-10-25 14:31:20 +00:00
.divider_title{
height: 370px;
}
2018-10-22 20:40:55 +00:00
.divider_small_height{
height: 290px;
}
.divider_big_height{
height: 370px;
}
}
2018-10-25 14:31:20 +00:00
@media (max-width:800px) {
.divider_title{
height: 450px;
}
}
2018-10-22 20:40:55 +00:00
.divider > #divider_container{
width: 100%;
position: absolute;
margin-top: 50px;
pointer-events: none;
}
.divider > #divider_container > div{
2018-10-10 19:46:46 +00:00
width: calc(100% - 100px);
2018-10-22 20:40:55 +00:00
min-width: 550px;
2018-10-15 18:47:58 +00:00
max-width: 960px;
2018-10-10 19:46:46 +00:00
margin: 0 auto;
}
2018-10-22 20:40:55 +00:00
.divider > #divider_container > #chapter_name{
2018-10-10 19:46:46 +00:00
font-size: 100px;
2018-10-15 18:47:58 +00:00
line-height: 0.75em;
text-align: left;
margin-bottom: 10px;
2018-10-10 19:46:46 +00:00
}
2018-10-22 20:40:55 +00:00
.divider > #divider_container > #chapter_links{
2018-10-10 19:46:46 +00:00
text-align: right;
2018-10-22 20:40:55 +00:00
pointer-events: all;
2018-10-10 19:46:46 +00:00
}
2018-10-22 20:40:55 +00:00
.divider > #divider_container > .small_of{
2018-10-10 19:46:46 +00:00
font-size:0.75em; line-height:0;
}
2018-10-22 20:40:55 +00:00
.divider > #divider_container > #chapter_subtitle{
2018-10-10 19:46:46 +00:00
text-align: right;
font-size: 30px;
}
2018-10-22 20:40:55 +00:00
.divider > iframe{
width:100%;
height:100%;
position: absolute;
border: none;
top:0; left:0;
}
2018-10-10 19:46:46 +00:00
2018-09-18 17:17:42 +00:00
/*********/
/* COMIC */
/*********/
2018-10-10 19:46:46 +00:00
.comic{
2018-10-24 16:40:01 +00:00
position: relative;
2018-09-18 17:17:42 +00:00
overflow:hidden;
width:610px;
margin: 50px auto;
text-align: center;
}
2018-10-10 19:46:46 +00:00
.comic panel{
2018-09-18 17:17:42 +00:00
display: inline-block;
width: 400px;
height: 300px;
2018-09-18 17:17:42 +00:00
/*border: 2px solid #ccc;*/
margin: 5px;
position: relative;
overflow: hidden;
transition: opacity 0.5s ease-in-out;
}
2018-10-10 19:46:46 +00:00
.comic panel[fadeInOn]{
2018-09-18 17:17:42 +00:00
opacity: 0;
}
2018-10-10 19:46:46 +00:00
.comic panel pic{
2018-09-18 17:17:42 +00:00
display: block;
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
/*background: #bada55;*/
background: #ccc;
}
2018-10-10 19:46:46 +00:00
.comic panel words{
2018-09-18 17:17:42 +00:00
display: block;
position: absolute;
top:0;
left:0;
background: #fff;
/*text-align: left;*/
padding: 15px;
}
2018-10-10 19:46:46 +00:00
.comic panel words[no-bg]{
2018-09-18 17:17:42 +00:00
background: none;
}
2018-10-10 19:46:46 +00:00
.comic panel sim{
2018-09-18 17:17:42 +00:00
display: block;
position: absolute;
}
2018-10-10 19:46:46 +00:00
.comic panel sim > iframe{
2018-09-18 17:17:42 +00:00
border: none;
width: 100%;
height: 100%;
position: absolute;
top:0; left:0;
}
2018-10-10 19:46:46 +00:00
.comic panel sim > label{
2018-09-18 17:17:42 +00:00
display:none;
}
2018-09-26 16:39:24 +00:00
.small_card{
transform: scale(0.6, 0.6);
}
2018-10-15 18:47:58 +00:00
.comic_text{
color: rgba(0,0,0,0.5);
line-height: 1em;
}
2018-10-24 16:40:01 +00:00
.comic_text.smaller{
font-size: 20px;
line-height: 1em;
}
/* from https://stackoverflow.com/a/16410273 */
.strikeout {
position: relative;
}
.strikeout::after {
border-bottom: 0.2em solid #ff4040;
content: "";
left: 0;
margin-top: calc(0.0em / 2 * -1);
position: absolute;
right: 0;
top: 50%;
}
2018-09-18 17:17:42 +00:00
/**********/
/* LABELS */
/**********/
#labels{
display: none;
}
2018-10-09 19:56:56 +00:00
/********/
/* MISC */
/********/
#wallpaper_image{
max-width: 400px;
max-height: 250px;
}
2018-10-18 15:35:56 +00:00
/**********/
/* CREDITS */
/**********/
#credits{
background: #000;
overflow: hidden;
}
#credits > div{
color:white;
margin: 50px auto 100px auto;
2018-10-24 14:11:40 +00:00
width: 550px;
}
#credits hr{
border: none;
border-bottom: 10px dashed rgba(255,255,255,0.25);
margin: 1.5em 0;
2018-10-18 15:35:56 +00:00
}
2018-10-24 14:11:40 +00:00
#credits li{
list-style-type: none;
text-indent: -1.25em;
}
#credits iframe{
display:block;
background:#fff;
border:none;
width:500px;
height:350px;
margin:0 auto;
border-radius: 25px;
}
2018-10-26 19:00:02 +00:00
#share_buttons{
text-align: center;
margin-top: 90px;
padding-bottom: 50px;
}
#share_buttons a{
position: relative;
transition: top 0.1s ease-in-out;
top:0px;
}
#share_buttons a:hover{
top:-3px;
}
#share_buttons img{
width: 40px;
height: 40px;
margin: 0 5px;
border-radius: 23px;
overflow: hidden;
}
2018-10-24 14:11:40 +00:00
/*******************/
/* LANGUAGE PROMPT */
/*******************/
#prompt{
width: 100%;
background:#5b8df1;
color:#fff;
position: fixed;
top:0;
transition: top 0.5s ease-in-out;
text-align: center;
font-size: 30px;
padding: 15px 0 20px 0;
line-height: 1.3em;
2018-10-18 15:35:56 +00:00
2018-10-24 14:11:40 +00:00
}
#prompt[hide=yes]{
top:-150px;
}
#prompt a{
2018-10-18 15:35:56 +00:00
2018-10-24 14:11:40 +00:00
color:#5b8df1;
background: #fff;
display: inline-block;
border-radius: 5px;
2018-10-18 15:35:56 +00:00
2018-10-24 14:11:40 +00:00
padding: 0 8px;
text-decoration: none;
cursor: pointer;
2018-10-18 15:35:56 +00:00
2018-10-24 14:11:40 +00:00
}
#prompt a:hover{
color:#8aadf5;
}
#translation_credits{
pointer-events: all;
}
2018-10-24 16:40:01 +00:00
#language_options{
position: absolute;
width: 80px;
text-align: left;
2018-10-25 20:20:30 +00:00
top: 8px;
left: 520px;
2018-11-22 15:28:03 +00:00
font-size: 20px;
2018-10-24 16:40:01 +00:00
line-height: 1.4em;
}
#language_options a{
color: #a8a8a8;
}
#language_options a:hover{
color: #ccc;
}