258 lines
4.9 KiB
CSS
258 lines
4.9 KiB
CSS
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
top: 0;
|
|
margin: 0;
|
|
font-family: "Open Sans", "Noto Sans", sans-serif;
|
|
font-size: 1rem;
|
|
color: #d8d4cf;
|
|
background-color: #131516;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.thumbnail-container {
|
|
overflow-x: scroll;
|
|
overflow-y: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.navbar .navbar-list {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
list-style-type: none;
|
|
}
|
|
|
|
.artwork-thumbnail {
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-right: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.artwork-thumbnail img {
|
|
object-fit: cover;
|
|
}
|
|
.artwork-thumbnail .artwork-rank-circle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
top: 0.6rem;
|
|
left: 0.6rem;
|
|
border-radius: 50%;
|
|
padding: 1rem;
|
|
background-color: #262a2b;
|
|
}
|
|
.artwork-thumbnail .artwork-page-count {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
top: 0.3rem;
|
|
right: 0.3rem;
|
|
border-radius: 20px;
|
|
padding: 0.3rem;
|
|
background-color: rgba(38, 42, 43, 0.6);
|
|
}
|
|
.artwork-thumbnail .artwork-page-count span {
|
|
display: flex;
|
|
font-size: 0.7rem;
|
|
font-weight: bold;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: max-content;
|
|
height: 0.5rem;
|
|
}
|
|
.artwork-thumbnail .artwork-profanity-label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: absolute;
|
|
top: 0.3rem;
|
|
left: 0.3rem;
|
|
border-radius: 20px;
|
|
padding: 0.3rem;
|
|
background-color: #ff4060;
|
|
}
|
|
.artwork-thumbnail .artwork-profanity-label span {
|
|
display: flex;
|
|
font-size: 0.7rem;
|
|
font-weight: bold;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: max-content;
|
|
height: 0.5rem;
|
|
}
|
|
.artwork-thumbnail .artwork-thumbnail-title {
|
|
margin: 0.4rem;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
display: block;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
font-weight: bold;
|
|
font-size: 0.9rem;
|
|
}
|
|
.artwork-thumbnail .artwork-master-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-position: center center;
|
|
}
|
|
.artwork-thumbnail .artwork-thumbnail-artist {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.artwork-thumbnail .artwork-thumbnail-artist-avatar {
|
|
margin-right: 5px;
|
|
width: 24px;
|
|
height: 24px;
|
|
object-position: center top;
|
|
}
|
|
|
|
.artwork-thumbnail-small {
|
|
width: 184px;
|
|
height: 184px;
|
|
}
|
|
|
|
.artwork-thumbnail-large {
|
|
width: 288px;
|
|
height: 288px;
|
|
}
|
|
|
|
.spotlight-thumbnail {
|
|
width: 400px;
|
|
height: 250px;
|
|
display: inline-block;
|
|
position: relative;
|
|
text-align: left;
|
|
color: white;
|
|
}
|
|
.spotlight-thumbnail .spotlight-master-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center center;
|
|
filter: brightness(75%);
|
|
}
|
|
.spotlight-thumbnail .spotlight-title-wrapper {
|
|
position: absolute;
|
|
display: block;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
}
|
|
.spotlight-thumbnail .spotlight-title-wrapper .spotlight-title {
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
margin-bottom: 10px;
|
|
font-size: 1rem;
|
|
line-height: 28px;
|
|
overflow: hidden;
|
|
overflow-wrap: break-word;
|
|
word-break: break-word;
|
|
hyphens: auto;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.artwork-page {
|
|
background: #262a2b;
|
|
}
|
|
.artwork-page .artwork-content {
|
|
margin: 0 20px;
|
|
font-size: 0.9rem;
|
|
}
|
|
.artwork-page .artwork-content a {
|
|
color: #3d7699;
|
|
text-decoration: none;
|
|
}
|
|
.artwork-page .artwork-content a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.artwork-page .artwork-artist {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.artwork-page .artwork-artist .artwork-artist-avatar {
|
|
margin-right: 8px;
|
|
width: 50px;
|
|
height: 50px;
|
|
object-position: center top;
|
|
}
|
|
.artwork-page .artwork-tags {
|
|
display: inline-block;
|
|
}
|
|
.artwork-page .artwork-tags .artwork-tag-name {
|
|
margin-right: 5px;
|
|
color: #3d7699;
|
|
font-weight: bold;
|
|
}
|
|
.artwork-page .artwork-tags .artwork-tag-altname {
|
|
margin-right: 8px;
|
|
}
|
|
.artwork-page .artwork-tags .emphasize {
|
|
color: #ff4060;
|
|
}
|
|
.artwork-page .artwork-images {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
}
|
|
.artwork-page .artwork-images .artwork-image-page {
|
|
margin: 10px auto;
|
|
max-height: 578px;
|
|
width: auto;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.user-background {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
height: 40vw;
|
|
}
|
|
.user-background img {
|
|
width: 100%;
|
|
}
|
|
|
|
.user-background-placeholder {
|
|
display: flex;
|
|
height: 10vw;
|
|
background-color: #262a2b;
|
|
}
|
|
|
|
.user-page {
|
|
transform: translateY(-4rem);
|
|
}
|
|
.user-page .user-details {
|
|
text-align: center;
|
|
}
|
|
.user-page .user-details .user-name,
|
|
.user-page .user-details .user-id {
|
|
margin: 2px;
|
|
}
|
|
.user-page .user-details .user-avatar {
|
|
width: 144px;
|
|
height: 144px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/*# sourceMappingURL=style.css.map */
|