2023-05-19 05:15:27 +00:00
|
|
|
$bg: #131516;
|
|
|
|
$fg: #d8d4cf;
|
2023-05-14 09:31:04 +00:00
|
|
|
$bg-alt: #262a2b;
|
2023-05-19 11:17:59 +00:00
|
|
|
$bg-alt-dimmed: #262a2b99;
|
2023-05-14 12:30:03 +00:00
|
|
|
$blue: #3d7699;
|
2023-05-19 11:17:59 +00:00
|
|
|
$red: #ff4060;
|
2023-05-14 09:31:04 +00:00
|
|
|
|
2023-05-13 10:03:13 +00:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
top: 0;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
font-family: "Open Sans", "Noto Sans", sans-serif;
|
|
|
|
font-size: 1rem;
|
2023-05-14 09:31:04 +00:00
|
|
|
|
|
|
|
color: $fg;
|
|
|
|
background-color: $bg;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
max-width: 1200px;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-06-02 09:44:50 +00:00
|
|
|
padding-left: 10px;
|
|
|
|
padding-right: 10px;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail-container {
|
|
|
|
overflow-x: scroll;
|
|
|
|
overflow-y: hidden;
|
|
|
|
white-space: nowrap;
|
2023-06-04 03:49:07 +00:00
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
2023-06-02 03:19:27 +00:00
|
|
|
margin-left: 2rem;
|
|
|
|
margin-right: 2rem;
|
|
|
|
|
|
|
|
.navbar-brand {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 9px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-13 10:03:13 +00:00
|
|
|
.navbar-list {
|
|
|
|
display: flex;
|
2023-06-02 03:19:27 +00:00
|
|
|
padding: 0;
|
2023-05-13 10:03:13 +00:00
|
|
|
justify-content: space-between;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
2023-06-02 03:19:27 +00:00
|
|
|
|
|
|
|
.search-bar {
|
|
|
|
width: 500px;
|
|
|
|
|
|
|
|
.search-form-text {
|
|
|
|
width: 100%;
|
|
|
|
background-color: $bg-alt;
|
|
|
|
padding: 7px 10px;
|
|
|
|
margin: 0;
|
|
|
|
border: none;
|
2023-06-03 09:59:16 +00:00
|
|
|
color: $fg;
|
2023-06-02 03:19:27 +00:00
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
color: $fg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-06-02 09:23:35 +00:00
|
|
|
|
|
|
|
.navbar-button {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-13 10:03:13 +00:00
|
|
|
.artwork-thumbnail {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
|
|
|
img {
|
|
|
|
object-fit: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-rank-circle {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
width: 1rem;
|
|
|
|
height: 1rem;
|
2023-06-01 10:22:20 +00:00
|
|
|
top: 0.3rem;
|
|
|
|
left: 0.3rem;
|
2023-05-13 10:03:13 +00:00
|
|
|
border-radius: 50%;
|
|
|
|
padding: 1rem;
|
2023-05-14 09:31:04 +00:00
|
|
|
background-color: $bg-alt;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
2023-05-19 05:43:33 +00:00
|
|
|
.artwork-page-count {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
2023-05-19 11:17:59 +00:00
|
|
|
top: 0.3rem;
|
|
|
|
right: 0.3rem;
|
2023-05-19 05:43:33 +00:00
|
|
|
border-radius: 20px;
|
|
|
|
padding: 0.3rem;
|
2023-05-19 11:17:59 +00:00
|
|
|
background-color: $bg-alt-dimmed;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: flex;
|
|
|
|
font-size: 0.7rem;
|
|
|
|
font-weight: bold;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: max-content;
|
|
|
|
height: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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: $red;
|
2023-05-19 05:43:33 +00:00
|
|
|
|
|
|
|
span {
|
|
|
|
display: flex;
|
|
|
|
font-size: 0.7rem;
|
|
|
|
font-weight: bold;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
width: max-content;
|
|
|
|
height: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-13 10:03:13 +00:00
|
|
|
.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;
|
2023-05-16 14:04:10 +00:00
|
|
|
font-size: 0.9rem;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-master-image {
|
2023-05-17 13:31:23 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2023-05-13 10:03:13 +00:00
|
|
|
object-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-thumbnail-artist {
|
2023-05-14 09:31:04 +00:00
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2023-05-13 10:03:13 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: inherit;
|
2023-05-14 12:36:52 +00:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-thumbnail-artist-avatar {
|
2023-05-14 12:36:52 +00:00
|
|
|
margin-right: 5px;
|
2023-05-13 10:03:13 +00:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
object-position: center top;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-thumbnail-small {
|
|
|
|
width: 184px;
|
2023-05-17 12:39:28 +00:00
|
|
|
height: 184px;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.artwork-thumbnail-large {
|
|
|
|
width: 288px;
|
2023-05-17 12:39:28 +00:00
|
|
|
height: 288px;
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.spotlight-thumbnail {
|
|
|
|
width: 400px;
|
|
|
|
height: 250px;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
text-align: left;
|
|
|
|
color: white;
|
|
|
|
|
|
|
|
.spotlight-master-image {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: center center;
|
2023-05-13 14:33:40 +00:00
|
|
|
filter: brightness(75%);
|
2023-05-13 10:03:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.spotlight-title-wrapper {
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-14 12:30:03 +00:00
|
|
|
|
|
|
|
.artwork-page {
|
2023-05-19 05:15:27 +00:00
|
|
|
background: $bg-alt;
|
2023-05-14 12:30:03 +00:00
|
|
|
|
|
|
|
.artwork-content {
|
|
|
|
margin: 0 20px;
|
2023-05-14 13:18:17 +00:00
|
|
|
font-size: 0.9rem;
|
2023-05-14 12:30:03 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $blue;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-14 12:36:52 +00:00
|
|
|
.artwork-artist {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.artwork-artist-avatar {
|
|
|
|
margin-right: 8px;
|
|
|
|
width: 50px;
|
|
|
|
height: 50px;
|
|
|
|
object-position: center top;
|
|
|
|
}
|
2023-05-14 12:30:03 +00:00
|
|
|
}
|
|
|
|
|
2023-05-14 13:18:17 +00:00
|
|
|
.artwork-tags {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.artwork-tag-name {
|
|
|
|
margin-right: 5px;
|
|
|
|
color: $blue;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.artwork-tag-altname {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
2023-05-19 11:17:59 +00:00
|
|
|
|
|
|
|
.emphasize {
|
|
|
|
color: $red;
|
|
|
|
}
|
2023-05-14 13:18:17 +00:00
|
|
|
}
|
|
|
|
|
2023-05-14 12:30:03 +00:00
|
|
|
.artwork-images {
|
|
|
|
display: flex;
|
2023-05-14 13:18:17 +00:00
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
2023-05-14 12:30:03 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
.artwork-image-page {
|
|
|
|
margin: 10px auto;
|
2023-05-14 13:18:17 +00:00
|
|
|
max-height: 578px;
|
2023-05-14 12:30:03 +00:00
|
|
|
width: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
2023-06-04 14:59:51 +00:00
|
|
|
|
|
|
|
.comment {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-avatar {
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.stamp {
|
|
|
|
width: 96px;
|
|
|
|
height: 96px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
}
|
2023-05-14 12:30:03 +00:00
|
|
|
}
|
2023-05-16 15:07:17 +00:00
|
|
|
|
|
|
|
.user-background {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
height: 40vw;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-19 05:15:27 +00:00
|
|
|
.user-background-placeholder {
|
|
|
|
display: flex;
|
|
|
|
height: 10vw;
|
2023-06-02 09:28:43 +00:00
|
|
|
min-height: 100px;
|
2023-05-19 05:15:27 +00:00
|
|
|
background-color: $bg-alt;
|
|
|
|
}
|
|
|
|
|
2023-05-16 15:07:17 +00:00
|
|
|
.user-page {
|
|
|
|
transform: translateY(-4rem);
|
|
|
|
|
|
|
|
.user-details {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.user-name,
|
|
|
|
.user-id {
|
|
|
|
margin: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-avatar {
|
|
|
|
width: 144px;
|
|
|
|
height: 144px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-05-19 15:05:55 +00:00
|
|
|
|
2023-06-02 12:57:55 +00:00
|
|
|
.tag-header {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.tag-thumbnail {
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
border-radius: 5px;
|
|
|
|
margin-right: 20px;
|
|
|
|
|
|
|
|
object-fit: cover;
|
|
|
|
object-position: center center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-details {
|
|
|
|
.main-tag {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-04 03:49:07 +00:00
|
|
|
.tag-container {
|
|
|
|
background-color: $bg-alt;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px 10px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $fg;
|
|
|
|
}
|
|
|
|
|
2023-06-01 10:22:20 +00:00
|
|
|
.switcher {
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
.switch-title {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.switch-button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 8px 5px;
|
2023-06-02 10:36:56 +00:00
|
|
|
margin-top: 5px;
|
2023-06-01 10:22:20 +00:00
|
|
|
background-color: $bg-alt;
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: none;
|
|
|
|
text-decoration-color: $fg;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $bg-alt-dimmed;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.switch-seperator {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-19 15:05:55 +00:00
|
|
|
.pagination {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
2023-06-02 09:46:46 +00:00
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
2023-05-19 15:05:55 +00:00
|
|
|
|
2023-05-20 03:38:48 +00:00
|
|
|
.pagination-button {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 5px;
|
|
|
|
color: $fg;
|
|
|
|
}
|
|
|
|
|
2023-05-19 15:05:55 +00:00
|
|
|
.disabled {
|
|
|
|
pointer-events: none;
|
2023-05-20 03:38:48 +00:00
|
|
|
background-color: #333;
|
2023-05-19 15:05:55 +00:00
|
|
|
}
|
|
|
|
}
|
2023-06-02 09:28:43 +00:00
|
|
|
|
2023-06-02 09:54:24 +00:00
|
|
|
.footer {
|
|
|
|
text-align: center;
|
|
|
|
font-size: small;
|
|
|
|
margin-top: 8px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $fg;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-02 09:57:05 +00:00
|
|
|
@media screen and (max-width: 800px) {
|
2023-06-02 09:28:43 +00:00
|
|
|
.search-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2023-06-02 09:44:50 +00:00
|
|
|
|
2023-06-02 09:57:05 +00:00
|
|
|
@media screen and (min-width: 400px) and (max-width: 800px) {
|
|
|
|
/* 400px <= device width <= 800px */
|
2023-06-02 09:44:50 +00:00
|
|
|
.artwork-mobile {
|
|
|
|
width: 45vw;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 400px) {
|
|
|
|
.artwork-mobile {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|