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

59 lines
1,014 B
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 {
float: right;
display: inline-block;
margin: 1px;
2023-10-14 13:41:31 +00:00
width: 50px;
height: 50px;
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;
}
.np-details {
margin: 0 4px 2px;
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
}