hyaenidae/server/scss/layout.scss

215 lines
3.5 KiB
SCSS
Raw Normal View History

.error {
color: #c92a60;
font-style: italic;
}
.toolkit-card.nav {
margin-bottom: 0;
}
.mobile-bar {
2021-01-08 04:44:43 +00:00
display: none;
}
2021-01-08 04:44:43 +00:00
.nav-body {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.4);
overflow: hidden;
2021-01-08 04:44:43 +00:00
&.nav-open {
display: block;
2021-01-08 04:44:43 +00:00
}
&.nav-closed {
display: none;
2021-01-08 04:44:43 +00:00
}
.nav-background {
min-height: 100%;
height: 100%;
width: 100%;
2021-01-08 04:44:43 +00:00
}
}
.nav-links {
position: absolute;
bottom: 0;
left: 0;
right: 0;
max-height: 100%;
overflow-y: auto;
2021-01-08 05:09:26 +00:00
}
2021-01-08 04:44:43 +00:00
.home-content {
padding: 32px 0;
}
.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;
}
2020-12-16 02:40:41 +00:00
}
2021-01-06 08:21:37 +00:00
.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-tiles {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
.submission-icon {
position: relative;
border-radius: 0px;
}
picture {
display: block;
width: 100%;
height: 100%;
}
img {
object-fit: cover;
}
.toolkit-link {
display: block;
height: 100%;
width: 100%;
font-style: none;
font-weight: 500;
color: #e5e5e5;
&:hover,
&:focus,
a:active {
color: #e5e5e5;
}
}
.submission-icon--unpublished,
.submission-icon--overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: space-around;
align-items: center;
text-align: center;
opacity: 0;
transition: opacity 0.2s ease-in-out;
&:hover {
opacity: 1;
}
}
.submission-icon--overlay {
background-color: rgba(0, 0, 0, 0.4);
text-shadow: 1px 1px 1px #000;
}
.submission-icon--unpublished {
background-color: #c92a6066;
text-shadow: 1px 1px 1px #000;
}
.submission-icon--meta p {
margin: 0;
margin-top: 16px;
}
}
.submission-box {
max-height: 70vh;
display: flex;
justify-content: center;
background-color: #000;
}
2021-01-06 08:21:37 +00:00
@media (max-width: 700px) {
.desktop-bar {
2021-01-08 04:44:43 +00:00
display: none;
}
.mobile-bar {
2021-01-08 04:44:43 +00:00
display: flex;
}
.columns {
flex-direction: column;
.columns--column + .columns--column {
margin-left: 0;
padding-top: 16px;
}
}
.standalone {
border-radius: 0;
2021-01-06 08:21:37 +00:00
}
}