Neighbourhood.omg.lol/wwwroot/css/style.css

271 lines
4.8 KiB
CSS
Raw Normal View History

@import url(../vendor/color.css);
@import url(../vendor/beer.min.css);
@import url(../vendor/type.css);
@import url(../vendor/fluent-emoji/SegoeUIEmoji.css);
2024-06-05 12:41:08 +00:00
/*@import url(../vendor/fluent-emoji/3d.css);*/
@import url(../vendor/fluent-emoji/animated-optional.css);
:root {
--emoji-font: SegoeUIEmoji, 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Symbol';
--font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif, var(--emoji-font);
2024-06-05 12:41:08 +00:00
--prami-svg: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path fill="%23FF6BAE" stroke="none" d="M250 450C211.612 450 173.225 435.354 143.934 406.066L43.9346 306.066C-14.6446 247.487 -14.6446 152.513 43.9346 93.9341C100.533 37.3361 191.104 35.421 250 88.1907C308.898 35.4229 399.47 37.3379 456.066 93.9341C514.645 152.513 514.645 247.487 456.066 306.066L356.066 406.066C326.778 435.354 288.389 450 250 450" /><path fill="none" stroke="%23471036" stroke-width="19" stroke-linecap="round" d="M208.749 223.817C227.625 254.619 272.376 254.619 291.251 223.817" /><circle fill="%23471036" cx="291.3" cy="176.6" r="17.75" /><circle fill="%23471036" cx="208.6" cy="176.6" r="17.75" /><circle fill="%23E24097" cx="120.3" cy="212" r="59.2" /><circle fill="%23E24097" cx="379.7" cy="212" r="59.2" /></svg>');
}
html, body {
font-family: var(--font);
}
body {
font-size: 1.2em;
}
a {
text-decoration: underline;
}
:is(h1, h2, h3, h4, h5, h6) i {
---size: 1em;
margin-right: 0.3em;
}
:is(nav) a, .author {
text-decoration: none;
}
p, li {
line-height: 160%;
}
.author, .address {
font-family: 'VC Honey Deck', var(--font);
}
.author {
color: inherit;
font-size: 1.2em;
}
img {
max-inline-size: 100%;
max-block-size: 100%;
max-width: 100%;
margin: 0 auto;
}
2024-06-05 12:41:08 +00:00
.status .emoji, #status-emoji {
margin-bottom: auto;
inline-size: 3.5rem;
block-size: 3.5rem;
2024-06-05 12:41:08 +00:00
font-size: 3.1rem;
line-height: 3.5rem;
2024-06-05 12:41:08 +00:00
text-indent: -6px;
}
.profile.avatar {
border-radius: .75rem;
max-block-size: 10rem;
max-inline-size: 10rem;
}
#bio :is(h1, h2, h3, h4, h5, h6) {
text-align:center;
display: block;
}
.skeleton {
animation: skeleton-loading 1s linear infinite alternate;
min-height: 1em;
}
@keyframes skeleton-loading {
0% {
2024-06-05 12:41:08 +00:00
background-color: hsl(200, 20%, 70%);
}
100% {
background-color: hsl(200, 20%, 95%);
}
}
.author.skeleton {
width: 6em;
display: inline-block;
}
p.skeleton {
width: 80%;
}
.chip.skeleton {
width: 10em;
}
main {
position: relative;
}
.skeleton-container {
flex:1 1 auto;
overflow: hidden;
}
nav header {
z-index: 101;
}
:is(button,.button).tiny {
block-size: 1.5rem;
/*max-inline-size: 1.5rem;*/
font-size: .875rem;
border-radius: .75rem;
}
nav.bottom.s:not(.drawer) > a:not(.button,.chip) {
inline-size: unset;
}
nav.bottom.s:not(.drawer) :is(button,.button) > menu {
position: fixed;
margin-top:auto;
margin-bottom: 5rem;
margin-left:auto;
margin-right:0;
inline-size: auto;
min-inline-size: 12rem;
z-index: 100;
transform: none !important;
inset: auto 0 0 auto;
}
i[class*=fa-at] {
vertical-align:unset;
font-size: .75em;
2024-06-05 12:41:08 +00:00
}
.fab {
position:fixed;
right: 2rem;
bottom: 2rem;
z-index: 1;
}
dialog {
overflow:visible;
width:80%;
}
.invisible {
max-width:0px;
max-height:0px;
border: none;
margin:0;
padding:0;
}
@media only screen and (max-width: 600px) {
.fab {
bottom: 7rem;
}
*:has(> main.responsive) {
/*flex-direction: row;*/
max-block-size: calc(100vh - 5rem);
}
}
.avatar {
position:relative;
}
.avatar::after {
content: '';
position:absolute;
left:0; right:0;
top:0; bottom:0;
background-color: var(--gray-8);
background-image: var(--prami-svg);
background-size: contain;
z-index:1;
}
article.ephemeral {
max-width: 50rem;
border: 2px dashed var(--gray-7);
}
#pics article {
max-width: 50rem;
}
.tabs a {
text-decoration:none;
2024-06-07 04:25:21 +00:00
}
2024-06-11 00:36:48 +00:00
.card-grid {
2024-06-07 04:25:21 +00:00
display: flex;
2024-06-11 00:36:48 +00:00
flex-direction: row;
flex-wrap: wrap;
2024-06-07 04:25:21 +00:00
gap: .5rem;
2024-06-11 00:36:48 +00:00
justify-content: space-between;
2024-06-07 04:25:21 +00:00
}
#pics article {
margin: 1rem auto;
text-align:center;
}
#pics article>:not(:first-child) {
text-align: left;
}
#pics article nav {
flex-wrap: wrap;
}
#pics.card-grid article{
max-width: 24rem;
}
@media only screen and (max-width: 895px) {
#pics.card-grid article {
max-width: calc(100% - 1rem);
}
}
#pics article > img:first-child {
text-align: center;
2024-06-11 00:36:48 +00:00
}
#now-garden > :not(.now) {
position: absolute;
}
.card-grid > * {
flex-grow: 1;
flex-shrink: 1;
}
.page-container > .page {
display:flex;
flex-direction:column;
flex-grow: 1;
}
#now.page > iframe {
width:100%;
flex-grow: 1;
border: none;
margin:0;
padding:0;
}
main, .page-container {
flex-grow:1;
display: flex;
flex-direction: column;
}
main {
overflow: hidden;
}
.hover {
z-index: 1;
}