phantasmobile/app/static/css/site.scss
2023-07-26 11:50:09 +02:00

90 lines
1.6 KiB
SCSS

header, footer {
max-width: 1000px;
padding-top: 16px;
margin: auto;
}
header {
width: 100%;
a {
color: yellow;
text-decoration: none;
}
}
.index {
padding-top: 16px;
.item {
border-bottom: 1px solid blueviolet;
padding-bottom: 4px;
margin-bottom: 8px;
a {
text-decoration: none;
color: white;
h1 {
text-decoration: underline;
}
}
h1 {
margin: 0;
padding: 0;
}
h1, .info, .comments {
}
.image {
padding-top: 4px;
width: 100%;
img {
width: 100%;
aspect-ratio: 16/9;
object-fit: cover;
}
}
.content {
max-width: 1000px;
margin: auto;
}
}
.archive {
text-align: center;
}
}
.burger {
cursor: pointer;
padding-left: 4px;
}
nav.overlay {
position: absolute;
width: 100%;
height: 100vh;
top: 0;
left: 0;
right: 0;
padding: 0;
border: 0;
max-width: 1000px;
margin: auto;
background: rgb(16, 16, 16);
opacity: 0;
z-index: 100;
display: none;
&.active {
display: flex;
flex-direction: column;
opacity: 0.9;
}
.about {
padding: 4px;
padding-top: 8px;
padding-bottom: 8px;
flex-grow: 1;
white-space: pre-line;
}
.user {
padding: 4px;
padding-bottom: 8px;
}
}