271 lines
4.6 KiB
Plaintext
271 lines
4.6 KiB
Plaintext
@import "vars";
|
|
|
|
/* Profile summaries */
|
|
|
|
.profile {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 265px;
|
|
}
|
|
|
|
.profile.minimal {
|
|
width: 176px;
|
|
|
|
.profile-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
}
|
|
|
|
.profile-avatar {
|
|
width: 128px;
|
|
height: 128px;
|
|
margin-right: 16px;
|
|
}
|
|
|
|
.profile-name {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.profile-title {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.profile-points {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.profile-points span {
|
|
color: gray;
|
|
}
|
|
|
|
.profile-points-small {
|
|
display: none;
|
|
}
|
|
|
|
.profile-xp {
|
|
height: 10px;
|
|
min-width: 96px;
|
|
max-width: 96px;
|
|
background: var(--background);
|
|
border: var(--border);
|
|
}
|
|
|
|
.profile-xp-100 {
|
|
background: var(--background-xp);
|
|
border: var(--border-xp);
|
|
}
|
|
|
|
.profile-xp div {
|
|
height: 10px;
|
|
background: var(--background-xp);
|
|
border: var(--border-xp);
|
|
margin: -1px;
|
|
}
|
|
|
|
.profile-xp-100 div {
|
|
background: var(--background-xp-100);
|
|
}
|
|
|
|
.profile.guest {
|
|
flex-direction: column;
|
|
width: 100%;
|
|
padding-top: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile.guest em {
|
|
display: block;
|
|
font-weight: bold;
|
|
font-style: normal;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
@media (max-width: @small) {
|
|
table.thread {
|
|
.profile {
|
|
flex-direction: column;
|
|
width: 96px;
|
|
text-align: center;
|
|
}
|
|
|
|
.profile-avatar {
|
|
order: 1;
|
|
margin-right: 0;
|
|
margin-top: 4px;
|
|
width: 96px;
|
|
height: 96px;
|
|
}
|
|
|
|
.profile-title,
|
|
.profile-points,
|
|
.profile-xp {
|
|
display: none;
|
|
}
|
|
|
|
.profile-points-small {
|
|
display: inline;
|
|
}
|
|
}
|
|
}
|
|
@media (max-width: @tiny) {
|
|
table.thread .profile {
|
|
width: 96px;
|
|
}
|
|
table.thread .profile-avatar {
|
|
width: 64px;
|
|
height: 64px;
|
|
}
|
|
}
|
|
|
|
hr.signature {
|
|
opacity: 0.2;
|
|
}
|
|
|
|
|
|
/* Trophies */
|
|
.trophies {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.trophy {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 260px;
|
|
margin: 5px;
|
|
padding: 5px;
|
|
border: 1px solid #c5c5c5;
|
|
border-left: 5px solid var(--links);
|
|
border-radius: 2px;
|
|
|
|
&.disabled {
|
|
filter: grayscale(100%);
|
|
opacity: .5;
|
|
border-left: 1px solid #c5c5c5;
|
|
}
|
|
|
|
&.form-disabled {
|
|
border-left: 1px solid #c5c5c5;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
img {
|
|
height: 48px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
div > * {
|
|
display: block;
|
|
}
|
|
|
|
em {
|
|
font-style: normal;
|
|
font-weight: bold;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
span {
|
|
font-size: 80%;
|
|
}
|
|
}
|
|
|
|
|
|
/* Download button */
|
|
.dl-button {
|
|
display: inline-flex; flex-direction: row; align-items: stretch;
|
|
|
|
border-radius: 5px; overflow: hidden;
|
|
margin: 3px 5px; vertical-align: middle;
|
|
|
|
a {
|
|
display:flex; align-items:center;
|
|
padding: 5px 15px;
|
|
|
|
font-size: 110%;
|
|
background: var(--link); color: var(--link-text);
|
|
|
|
&:hover, &:focus, &:active {
|
|
background: var(--link-active);
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
span {
|
|
display: flex; align-items:center;
|
|
padding: 5px 8px;
|
|
background: var(--meta); color: var(--meta-text);
|
|
font-size: 90%;
|
|
}
|
|
}
|
|
|
|
/* Gallery without Javascript */
|
|
.gallery {
|
|
display: flex; flex-wrap: wrap;
|
|
justify-content: center; margin: auto;
|
|
|
|
* {
|
|
margin: 3px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
}
|
|
|
|
/* Gallery with Javascript */
|
|
.gallery-js {
|
|
@padding: 15px;
|
|
display: flex; overflow-x: auto; overflow-y: hidden;
|
|
margin: auto; padding: @padding;
|
|
height: 150px + 2 * @padding;
|
|
|
|
@media screen and (max-width: @small) {
|
|
height: 120px + 2 * @padding;
|
|
}
|
|
@media screen and (max-width: @micro) {
|
|
height: 100px + 2 * @padding;
|
|
}
|
|
|
|
img, video {
|
|
height: 100%;
|
|
border: 1px solid var(--border);
|
|
cursor: pointer; //box-sizing: content-box;
|
|
|
|
&:not(:first-child) {
|
|
margin-left: @padding;
|
|
}
|
|
|
|
&.selected {
|
|
box-shadow: 0 0 @padding/2 var(--selected);
|
|
}
|
|
}
|
|
}
|
|
|
|
.gallery-spot {
|
|
justify-content: center;
|
|
margin: 10px auto;
|
|
|
|
* {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
/* Tags */
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
background: var(--background);
|
|
color: var(--color);
|
|
padding: 4px 12px;
|
|
margin: 4px 0;
|
|
border-radius: 8px;
|
|
border-radius: calc(0.5em + 4px);
|
|
user-select: none;
|
|
cursor: default;
|
|
}
|
|
|
|
/* Thread locked state */
|
|
.locked {
|
|
text-align: center;
|
|
font-style: italic;
|
|
}
|