2015-06-18 10:30:28 -04:00
|
|
|
:root {
|
2016-01-04 10:53:03 -05:00
|
|
|
--link-shadow: 1px 1px 1px #000;
|
2015-06-18 10:30:28 -04:00
|
|
|
--shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
|
|
|
|
--title-overlay: rgba(0, 0, 0, 0.45);
|
|
|
|
--text-color: #ffffff;
|
|
|
|
--normal-padding: 0.25em;
|
2016-01-04 10:53:03 -05:00
|
|
|
--link-hover-color: #7d12db;
|
|
|
|
--edit-link-hover-color: #db7d12;
|
|
|
|
--edit-link-color: #12db18;
|
2015-06-18 10:30:28 -04:00
|
|
|
}
|
|
|
|
|
2015-07-02 14:04:04 -04:00
|
|
|
template {display:none}
|
|
|
|
|
|
|
|
body {margin: 0.5em;}
|
2015-06-18 10:30:28 -04:00
|
|
|
|
2016-01-04 10:53:03 -05:00
|
|
|
a:hover, a:active {
|
|
|
|
color: var(--link-hover-color)
|
|
|
|
}
|
|
|
|
|
2015-06-18 10:30:28 -04:00
|
|
|
table {
|
|
|
|
width:85%;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody > tr:nth-child(odd) {
|
|
|
|
background: #ddd;
|
|
|
|
}
|
|
|
|
|
2016-01-04 10:53:03 -05:00
|
|
|
input[type=number] {
|
|
|
|
width: 4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form { width:100%; }
|
|
|
|
.form tr > td:nth-child(odd) {
|
|
|
|
text-align:right;
|
|
|
|
min-width:25px;
|
|
|
|
max-width:30%;
|
|
|
|
}
|
|
|
|
.form tr > td:nth-child(even) {
|
|
|
|
text-align:left;
|
|
|
|
min-width:70%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form thead th, .form thead tr {
|
|
|
|
background: inherit;
|
|
|
|
border:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form.invisible tr:nth-child(odd) {
|
|
|
|
background: inherit;
|
|
|
|
}
|
|
|
|
.form.invisible tr, .form.invisible td, .form.invisible th {
|
|
|
|
border:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bracketed, h1 a {
|
|
|
|
text-shadow: var(--link-shadow);
|
|
|
|
}
|
|
|
|
.bracketed:before {content: '[\00a0'}
|
|
|
|
.bracketed:after {content: '\00a0]'}
|
|
|
|
.bracketed {
|
|
|
|
color: var(--edit-link-color);
|
|
|
|
}
|
|
|
|
.bracketed:hover, .bracketed:active {
|
|
|
|
color: var(--edit-link-hover-color)
|
|
|
|
}
|
|
|
|
|
2015-06-26 14:56:59 -04:00
|
|
|
.grow-1 {flex-grow: 1}
|
|
|
|
.flex-wrap {flex-wrap: wrap}
|
|
|
|
.flex-no-wrap {flex-wrap: nowrap}
|
|
|
|
.flex-align-end {align-items: flex-end}
|
2015-07-02 14:04:04 -04:00
|
|
|
.flex-align-space-around {align-content: space-around}
|
|
|
|
.flex-justify-space-around {justify-content: space-around}
|
|
|
|
.flex-self-center {align-self:center}
|
2015-06-26 14:56:59 -04:00
|
|
|
.flex {display: flex}
|
|
|
|
|
|
|
|
.small-font {
|
|
|
|
font-size:1.6rem;
|
|
|
|
}
|
|
|
|
|
2015-07-02 14:04:04 -04:00
|
|
|
.align_center {text-align:center}
|
|
|
|
.align_left {text-align:left;}
|
|
|
|
.align_right {text-align:right;}
|
2015-06-18 10:30:28 -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: var(--normal-padding);
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
button {
|
|
|
|
background:rgba(255,255,255,0.65);
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2015-06-26 14:56:59 -04:00
|
|
|
.media .edit_buttons > button {
|
|
|
|
margin:0.5em auto;
|
|
|
|
}
|
|
|
|
|
2015-06-18 10:30:28 -04:00
|
|
|
.name,
|
|
|
|
.media_metadata > div,
|
|
|
|
.medium_metadata > div,
|
|
|
|
.row {
|
|
|
|
text-shadow: var(--shadow);
|
|
|
|
background: var(--title-overlay);
|
|
|
|
color: var(--text-color);
|
|
|
|
padding: var(--normal-padding);
|
|
|
|
text-align:right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media_type, .age_rating {
|
|
|
|
text-align:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media > .media_metadata {
|
|
|
|
position:absolute;
|
|
|
|
bottom:0;
|
|
|
|
right:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media > .medium_metadata {
|
|
|
|
position:absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left:0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media > .name {
|
|
|
|
position:absolute;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.media:hover > .name,
|
|
|
|
.media:hover > .media_metadata > div,
|
|
|
|
.media:hover > .medium_metadata > div,
|
|
|
|
.media:hover > .table .row
|
|
|
|
{
|
2016-01-04 10:53:03 -05:00
|
|
|
transition: .25s ease;
|
2015-06-18 10:30:28 -04:00
|
|
|
background:rgba(0,0,0,0.75);
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.media:hover > button[hidden],
|
|
|
|
.media:hover > .edit_buttons[hidden]
|
|
|
|
{
|
2016-01-04 10:53:03 -05:00
|
|
|
transition: .25s ease;
|
2015-06-24 16:01:35 -04:00
|
|
|
display:block;
|
|
|
|
}
|
|
|
|
|
2015-06-18 10:30:28 -04:00
|
|
|
.media > .name > a {
|
|
|
|
text-align:justify;
|
|
|
|
background:none;
|
|
|
|
color:#fff;
|
|
|
|
text-shadow: var(--shadow);
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
Message boxes
|
|
|
|
------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
.message{
|
|
|
|
position:relative;
|
|
|
|
margin:0.5em auto;
|
|
|
|
padding:0.5em;
|
|
|
|
width:95%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message .close{
|
|
|
|
width:1em;
|
|
|
|
height:1em;
|
|
|
|
position:absolute;
|
|
|
|
right:0.5em;
|
|
|
|
top:0.5em;
|
|
|
|
text-align:center;
|
|
|
|
vertical-align:middle;
|
|
|
|
line-height:1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message .close:hover {
|
|
|
|
cursor:pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message .icon{
|
|
|
|
left:0.5em;
|
|
|
|
top:0.5em;
|
|
|
|
margin-right:1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message.error{
|
|
|
|
border:1px solid #924949;
|
|
|
|
background: #f3e6e6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message.success{
|
|
|
|
border:1px solid #1f8454;
|
|
|
|
background: #70dda9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message.info{
|
|
|
|
border:1px solid #bfbe3a;
|
|
|
|
background: #FFFFCC;
|
|
|
|
}
|
2015-06-18 10:30:28 -04:00
|
|
|
|
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
Anime-list-specific styles
|
|
|
|
------------------------------------------------------------------------------*/
|
2015-06-24 16:01:35 -04:00
|
|
|
.anime .name, .manga .name {
|
2015-06-18 10:30:28 -04:00
|
|
|
text-align:center;
|
|
|
|
width:100%;
|
2015-06-24 16:01:35 -04:00
|
|
|
padding:0.5em 0;
|
2015-06-18 10:30:28 -04:00
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.anime .name > a {
|
|
|
|
text-align:center;
|
|
|
|
width:100%;
|
|
|
|
padding:0.5em 1em;
|
|
|
|
}
|
|
|
|
|
2015-06-18 10:30:28 -04:00
|
|
|
.anime .media_type,
|
|
|
|
.anime .airing_status,
|
|
|
|
.anime .user_rating,
|
|
|
|
.anime .completion,
|
2015-12-15 15:55:30 -05:00
|
|
|
.anime .age_rating,
|
|
|
|
.anime .edit,
|
|
|
|
.anime .delete {
|
2015-06-18 10:30:28 -04:00
|
|
|
background: none;
|
|
|
|
text-align:center;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.anime .table, .manga .table {
|
2015-06-18 10:30:28 -04:00
|
|
|
position:absolute;
|
|
|
|
bottom:0;
|
|
|
|
left:0;
|
|
|
|
width:100%;
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.anime .row, .manga .row {
|
2015-06-18 10:30:28 -04:00
|
|
|
width:100%;
|
|
|
|
background: var(--title-overlay);
|
|
|
|
display: flex;
|
2015-06-24 16:01:35 -04:00
|
|
|
align-content: space-around;
|
2015-06-18 10:30:28 -04:00
|
|
|
justify-content: space-around;
|
|
|
|
text-align:center;
|
|
|
|
padding:0 inherit;
|
|
|
|
}
|
|
|
|
|
2016-01-04 10:53:03 -05:00
|
|
|
.anime .row > span, .manga .row > span {
|
|
|
|
text-align:left;
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.anime .row > div, .manga .row > div {
|
2015-06-18 10:30:28 -04:00
|
|
|
font-size:0.8em;
|
|
|
|
display:flex-item;
|
|
|
|
align-self:center;
|
|
|
|
text-align:center;
|
|
|
|
vertical-align:middle;
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.anime .media > button.plus_one {
|
|
|
|
position:absolute;
|
2016-01-04 10:53:03 -05:00
|
|
|
top: 138px;
|
|
|
|
top: calc(50% - 21.5px);
|
|
|
|
left: 44px;
|
|
|
|
left: calc(50% - 66.5px);
|
2015-06-24 16:01:35 -04:00
|
|
|
}
|
|
|
|
|
2015-06-18 10:30:28 -04:00
|
|
|
/* -----------------------------------------------------------------------------
|
|
|
|
Manga-list-specific styles
|
|
|
|
------------------------------------------------------------------------------*/
|
2016-01-06 11:08:56 -05:00
|
|
|
.manga .row {
|
|
|
|
padding:1px;
|
|
|
|
}
|
|
|
|
|
2015-06-18 10:30:28 -04:00
|
|
|
.manga .media {
|
|
|
|
border:1px solid #ddd;
|
|
|
|
width:200px;
|
|
|
|
height:290px;
|
|
|
|
margin:0.25em;
|
|
|
|
}
|
|
|
|
|
2015-06-24 16:01:35 -04:00
|
|
|
.manga .media > .edit_buttons {
|
|
|
|
position:absolute;
|
2016-01-06 11:08:56 -05:00
|
|
|
top: 86px;
|
|
|
|
top: calc(50% - 58.5px);
|
|
|
|
left: 5px;
|
|
|
|
left: calc(50% - 95px);
|
2015-06-18 10:30:28 -04:00
|
|
|
}
|