HummingBirdAnimeClient/public/css/base.css

81 lines
1.3 KiB
CSS
Raw Normal View History

2015-05-27 09:03:42 -04:00
body {
margin: 0.5em;
}
2015-05-22 12:36:26 -04:00
.media-wrap {
text-align:center;
margin:0 auto;
}
.media {
position:relative;
vertical-align:top;
display:inline-block;
text-align:center;
width:220px;
height:319px;
margin:0.25em;
}
.media > img {
2015-06-04 20:59:56 -04:00
border-radius:0.5em;
2015-05-22 12:36:26 -04:00
}
2015-06-04 20:59:56 -04:00
.name, .media_type, .airing_status, .user_rating, .completion, .age_rating {
text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
2015-05-22 12:36:26 -04:00
background: rgba(0, 0, 0, 0.45);
color: #fff;
padding:0.25em;
text-align:right;
}
2015-06-04 20:59:56 -04:00
.media_type, .age_rating {
text-align:left;
}
2015-05-22 12:36:26 -04:00
.media > .media_metadata {
position:absolute;
bottom:0;
right:0;
}
2015-06-04 20:59:56 -04:00
.media > .medium_metadata {
position:absolute;
bottom: 0;
left:0;
}
2015-05-22 12:36:26 -04:00
2015-06-04 20:59:56 -04:00
.media > .media_metadata > .airing_status,
.media > .medium_metadata > .media_type
{
border-top-left-radius: 0.5em;
border-top-right-radius: 0.5em;
2015-05-22 12:36:26 -04:00
}
2015-06-04 20:59:56 -04:00
.media > .media_metadata > .completion,
.media > .medium_metadata > .age_rating
{
border-bottom-left-radius: 0.5em;
border-bottom-right-radius: 0.5em;
2015-05-22 12:36:26 -04:00
}
.media > .name {
2015-06-04 20:59:56 -04:00
border-radius:0.5em;
2015-05-22 12:36:26 -04:00
position:absolute;
top: 0;
}
.media > .name:hover {
background:rgba(0,0,0,0.9);
}
.media > .name > a {
text-align:justify;
background:none;
color:#fff;
text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
}
.user_rating::before {
content: "Rating: ";
}