phantasmobile/app/static/css/site.scss

108 lines
1.9 KiB
SCSS
Raw Normal View History

2023-07-16 05:56:14 +00:00
header, footer {
max-width: 1000px;
padding-top: 16px;
margin: auto;
}
header {
2023-07-26 09:50:09 +00:00
width: 100%;
2023-07-16 05:56:14 +00:00
a {
color: yellow;
text-decoration: none;
}
2023-07-27 07:12:53 +00:00
display: flex;
div {
margin-top: auto;
margin-bottom: auto;
line-height: 1;
}
.burger {
cursor: pointer;
padding-left: 4px;
padding-right: 4px;
svg {
width: 16px;
height: 16px;
}
}
2023-07-16 05:56:14 +00:00
}
.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;
}
}
2023-07-25 19:03:54 +00:00
nav.overlay {
position: absolute;
width: 100%;
height: 100vh;
2023-07-26 09:50:09 +00:00
top: 0;
2023-07-25 19:03:54 +00:00
left: 0;
2023-07-25 19:18:20 +00:00
right: 0;
2023-07-26 09:50:09 +00:00
padding: 0;
border: 0;
2023-07-25 19:18:20 +00:00
max-width: 1000px;
margin: auto;
2023-07-25 19:03:54 +00:00
background: rgb(16, 16, 16);
opacity: 0;
z-index: 100;
display: none;
&.active {
2023-07-26 09:50:09 +00:00
display: flex;
flex-direction: column;
2023-07-25 19:03:54 +00:00
opacity: 0.9;
}
2023-07-26 09:50:09 +00:00
.about {
padding: 4px;
padding-top: 8px;
padding-bottom: 8px;
flex-grow: 1;
2023-07-26 11:17:34 +00:00
//white-space: pre-line;
2023-07-26 09:50:09 +00:00
}
.user {
padding: 4px;
padding-bottom: 8px;
}
2023-07-25 19:03:54 +00:00
}
2023-08-14 12:10:30 +00:00
.now {
background: lightyellow;
color: black;
padding: 8px;
opacity: 0.8;
}