asonix
934ddd76ff
Reorganize files a bit Add a Pagination trait to guide with paging in the future Add extension traits for Profile, Comment, and Submission Async-ify more things, but not all things
197 lines
3 KiB
SCSS
197 lines
3 KiB
SCSS
.error {
|
|
color: #c92a60;
|
|
font-style: italic;
|
|
}
|
|
|
|
picture {
|
|
width: 100%;
|
|
}
|
|
|
|
.toolkit-card.nav {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.desktop-bar,
|
|
.mobile-bar {
|
|
position: fixed;
|
|
z-index: 1;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.mobile-bar {
|
|
display: none;
|
|
}
|
|
|
|
.nav-body {
|
|
position: fixed;
|
|
z-index: 2;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
overflow: hidden;
|
|
|
|
&.nav-open {
|
|
display: block;
|
|
animation-duration: 0.3s;
|
|
animation-name: slideup;
|
|
}
|
|
&.nav-closing {
|
|
display: block;
|
|
animation-duration: 0.5s;
|
|
animation-name: slidedown;
|
|
}
|
|
&.nav-closed {
|
|
display: none;
|
|
}
|
|
|
|
.nav-background {
|
|
min-height: 100%;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.nav-links {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
max-height: 100%;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.home-content {
|
|
padding: 96px 0 32px;
|
|
}
|
|
|
|
.profile-box {
|
|
display: flex;
|
|
flex: 1;
|
|
width: 100%;
|
|
|
|
.profile-box--content {
|
|
flex: 1;
|
|
}
|
|
|
|
.profile-box--body {
|
|
padding-top: 8px;
|
|
}
|
|
|
|
.profile-box--all-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.profile-box--replying-to {
|
|
font-style: italic;
|
|
}
|
|
|
|
.profile-box--meta {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.profile-box--meta--display .toolkit-link {
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.profile-box--meta--display {
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.profile-box--meta--handle {
|
|
margin-right: 4px;
|
|
}
|
|
}
|
|
|
|
.text-section,
|
|
.button-section {
|
|
padding: 8px 0;
|
|
}
|
|
|
|
.columns {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
justify-content: space-between;
|
|
|
|
.columns--column {
|
|
flex: 1;
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.columns--column + .columns--column {
|
|
margin-right: 16px;
|
|
}
|
|
}
|
|
|
|
.submission-buttons .toolkit-button-group {
|
|
justify-content: center;
|
|
}
|
|
|
|
.submission-box {
|
|
max-height: 90vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
background-color: #000;
|
|
|
|
img {
|
|
object-fit: contain;
|
|
}
|
|
}
|
|
|
|
@keyframes slideup {
|
|
from {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
bottom: -100vh;
|
|
}
|
|
|
|
to {
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
bottom: 0vh;
|
|
}
|
|
}
|
|
|
|
@keyframes slidedown {
|
|
from {
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
bottom: 0vh;
|
|
}
|
|
|
|
to {
|
|
background-color: rgba(0, 0, 0, 0);
|
|
bottom: -100vh;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.desktop-bar {
|
|
display: none;
|
|
}
|
|
.mobile-bar {
|
|
display: flex;
|
|
}
|
|
|
|
.columns {
|
|
flex-direction: column;
|
|
|
|
.columns--column + .columns--column {
|
|
margin-left: 0;
|
|
padding-top: 16px;
|
|
}
|
|
}
|
|
|
|
.standalone {
|
|
border-radius: 0;
|
|
}
|
|
}
|