flash.moe/assets/makai.css/np.css

60 lines
1 KiB
CSS
Raw Normal View History

.np {
background: var(--accent-colour1);
border: 1px solid var(--container-border);
margin-top: var(--global-spacing);
2023-10-14 13:41:31 +00:00
overflow: hidden;
}
.np-header {
font-size: .8em;
line-height: 1.5em;
padding: 0 2px;
}
.np-header-icon {
font-family: var(--font-cursive);
padding: 2px;
}
.np-header-text {
font-family: var(--font-header);
}
.np-cover {
2024-09-01 21:28:29 +00:00
display: block;
margin: 1px auto;
width: 178px;
height: 178px;
flex-grow: 0;
flex-shrink: 0;
border: 1px solid var(--container-colour);
background: var(--container-colour);
2023-10-14 13:41:31 +00:00
}
.np-cover img {
2023-10-14 13:41:31 +00:00
width: 100%;
height: 100%;
vertical-align: middle;
object-fit: cover;
2024-09-01 21:28:29 +00:00
border: 1px solid var(--accent-colour1);
2023-10-14 13:41:31 +00:00
}
.np-details {
margin: 0 4px 2px;
2024-09-01 21:28:29 +00:00
text-align: center;
2023-10-14 13:41:31 +00:00
}
.np-details a {
color: inherit;
2023-10-14 13:41:31 +00:00
text-decoration: none;
}
.np-details a:hover,
.np-details a:focus {
2023-10-14 13:41:31 +00:00
text-decoration: underline;
}
.np-title {
2023-10-14 13:41:31 +00:00
font-size: 1.2em;
line-height: 1.5em;
2023-10-14 13:41:31 +00:00
}
.np-artist {
font-size: .9em;
line-height: 1.5em;
2023-10-14 13:41:31 +00:00
}