remember/css/comic.css

150 lines
2.2 KiB
CSS

/* 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%;
}
body{
background: #eeeeee;
margin:0;
font-family: "PatrickHand", Helvetica, Arial;
font-size: 25px;
line-height: 1.2em;
}
/* fake bold */
b, strong{
font-weight: normal;
text-shadow:1px 0 0 currentColor;
letter-spacing: 1px;
}
/**********/
/* SPLASH */
/**********/
.divider{
/*background: #2c313a;
background: hsla(36, 100%, 60%, 1);*/
background: #000;
width: 100%;
/*height: 200px;*/
color: #fff;
text-align: center;
padding: 50px 0;
}
.divider > div{
width: calc(100% - 100px);
min-width: 600px;
max-width: 960px;
margin: 0 auto;
}
.divider > #chapter_name{
font-size: 100px;
line-height: 0.75em;
text-align: left;
margin-bottom: 10px;
}
.divider > #chapter_links{
text-align: right;
}
.divider .small_of{
font-size:0.75em; line-height:0;
}
.divider > #chapter_subtitle{
text-align: right;
font-size: 30px;
}
/*********/
/* COMIC */
/*********/
.comic{
overflow:hidden;
width:610px;
margin: 50px auto;
text-align: center;
}
.comic panel{
display: inline-block;
width: 400px;
height: 300px;
/*border: 2px solid #ccc;*/
margin: 5px;
position: relative;
overflow: hidden;
transition: opacity 0.5s ease-in-out;
}
.comic panel[fadeInOn]{
opacity: 0;
}
.comic panel pic{
display: block;
position: absolute;
top:0;
left:0;
width: 100%;
height: 100%;
/*background: #bada55;*/
background: #ccc;
}
.comic panel words{
display: block;
position: absolute;
top:0;
left:0;
background: #fff;
/*text-align: left;*/
padding: 15px;
}
.comic panel words[no-bg]{
background: none;
}
.comic panel sim{
display: block;
position: absolute;
}
.comic panel sim > iframe{
border: none;
width: 100%;
height: 100%;
position: absolute;
top:0; left:0;
}
.comic panel sim > label{
display:none;
}
.small_card{
transform: scale(0.6, 0.6);
}
.comic_text{
color: rgba(0,0,0,0.5);
line-height: 1em;
}
/**********/
/* LABELS */
/**********/
#labels{
display: none;
}
/********/
/* MISC */
/********/
#wallpaper_image{
max-width: 400px;
max-height: 250px;
}