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

427 lines
6.8 KiB
CSS
Raw Normal View History

2024-06-13 06:35:40 +00:00
@import url(../vendor/beer.min.css);
@import url(../vendor/color.css);
@import url(../vendor/type.css);
2024-07-12 05:08:12 +00:00
2024-07-12 07:08:22 +00:00
.animated[data-emoji|=🫥] { content: url(/vendor/fluent-emoji/1fae5/animated.png) }
:root {
--emoji-font: TwemojiCountryFlags, SegoeUIEmoji, 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Symbol';
--font: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif, var(--emoji-font);
--spacing: 1.5rem;
--background: var(--gray-8);
--shadow: var(--black);
2024-07-02 02:55:07 +00:00
--max-article-size: 75rem;
}
2024-06-13 06:35:40 +00:00
body.dark {
--background: var(--gray-8);
--on-background: var(--gray-1);
--surface: var(--gray-9);
--on-surface: var(--gray-4);
}
2024-07-12 07:08:22 +00:00
body, html { font-family: var(--font) }
2024-07-12 07:08:22 +00:00
.address, .author, .honey, .page-heading {
font-family: "VC Honey Deck",var(--font)
}
2024-07-12 07:08:22 +00:00
body { font-size: 1.2em }
2024-07-12 07:08:22 +00:00
main { position: relative }
a:not(.author) { text-decoration: underline }
:is(nav, .tabs, #directory) a { text-decoration: none }
:is(h1,h2,h3,h4,h5,h6) i, i.tiny {
---size: 1em;
}
2024-07-12 07:08:22 +00:00
:is(h1,h2,h3,h4,h5,h6) i {
margin-right: .3em;
&.fa-at, &:only-child {
margin-right: 0;
inline-size: auto
}
}
#bio :is(h1,h2,h3,h4,h5,h6) {
text-align: center;
display: block
}
2024-07-12 07:08:22 +00:00
h1 i:only-child {
margin-block-start: 1rem
}
2024-07-12 07:08:22 +00:00
li, p {
line-height: 160%
}
2024-07-12 07:08:22 +00:00
.author {
color: inherit;
2024-07-12 07:08:22 +00:00
font-size: 1.2em
}
img {
max-inline-size: 100%;
max-block-size: 100%;
max-width: 100%;
2024-07-12 07:08:22 +00:00
margin: 0 auto
}
2024-07-12 07:08:22 +00:00
#new-status-emoji, #status-emoji, :is(.status,.pic) .emoji {
2024-06-13 10:02:51 +00:00
margin-bottom: auto;
inline-size: 3.5rem;
block-size: 3.5rem;
font-size: 3.1rem;
line-height: 3.5rem;
2024-07-12 07:08:22 +00:00
text-indent: -6px
2024-06-13 10:02:51 +00:00
}
2024-07-12 07:08:22 +00:00
:not(#feed) > .pic .emoji {
display: none
2024-06-13 06:35:40 +00:00
}
.chip i {
2024-07-12 07:08:22 +00:00
border-radius: 0
}
2024-07-12 07:08:22 +00:00
.status nav, .status nav .chip {
color: var(--gray-7)
}
.profile.avatar {
border-radius: .75rem;
max-block-size: 10rem;
2024-07-12 07:08:22 +00:00
max-inline-size: 10rem
}
nav header {
2024-07-12 07:08:22 +00:00
z-index: 101
}
:is(button,.button).tiny {
block-size: 1.5rem;
font-size: .875rem;
2024-07-12 07:08:22 +00:00
border-radius: .75rem
}
nav.bottom.s:not(.drawer) > a:not(.button,.chip) {
2024-07-12 07:08:22 +00:00
inline-size: unset
}
nav.bottom.s:not(.drawer) :is(button,.button) > menu {
position: fixed;
2024-07-12 07:08:22 +00:00
margin-top: auto;
margin-bottom: 5rem;
2024-07-12 07:08:22 +00:00
margin-left: auto;
margin-right: 0;
inline-size: auto;
min-inline-size: 12rem;
z-index: 100;
transform: none !important;
2024-07-12 07:08:22 +00:00
inset: auto 0 0 auto
}
i[class*=fa-at] {
2024-07-12 07:08:22 +00:00
vertical-align: unset;
font-size: .75em
2024-06-05 12:41:08 +00:00
}
.fab {
2024-07-12 07:08:22 +00:00
position: fixed;
2024-06-05 12:41:08 +00:00
right: 2rem;
bottom: 2rem;
2024-07-12 07:08:22 +00:00
z-index: 1
2024-06-05 12:41:08 +00:00
}
dialog {
2024-07-12 07:08:22 +00:00
overflow: visible;
width: 80%
2024-06-05 12:41:08 +00:00
}
.invisible {
2024-07-12 07:08:22 +00:00
max-width: 0;
max-height: 0;
border: 0;
margin: 0;
padding: 0
2024-06-05 12:41:08 +00:00
}
2024-07-12 07:08:22 +00:00
@media only screen and (max-width:992px) {
2024-06-05 12:41:08 +00:00
.fab {
2024-07-12 07:08:22 +00:00
bottom: 7rem
2024-06-05 12:41:08 +00:00
}
2024-07-12 07:08:22 +00:00
:has(>main.responsive) {
max-block-size: calc(100vh - 5rem)
2024-06-05 12:41:08 +00:00
}
}
.avatar {
2024-07-12 07:08:22 +00:00
position: relative
}
.avatar::after {
content: "";
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: var(--surface-container-low);
background-size: contain;
background-repeat: no-repeat;
background-position: center bottom;
border-radius: 50%;
border: 1px dashed var(--gray-4);
z-index: 1
}
2024-06-05 12:41:08 +00:00
article.ephemeral {
max-width: 50rem;
2024-07-12 07:08:22 +00:00
border: 2px dashed var(--gray-7)
2024-06-05 12:41:08 +00:00
}
#pics article {
max-width: 50rem;
2024-07-12 07:08:22 +00:00
margin: 1rem auto;
text-align: center
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-07-12 07:08:22 +00:00
justify-content: space-between
2024-06-07 04:25:21 +00:00
}
2024-07-12 07:08:22 +00:00
#pics article > :not(:first-child) {
text-align: left
2024-06-07 04:25:21 +00:00
}
#pics article nav {
2024-07-12 07:08:22 +00:00
flex-wrap: wrap
2024-06-07 04:25:21 +00:00
}
2024-07-12 07:08:22 +00:00
#pics.card-grid article {
max-width: 24rem
2024-06-07 04:25:21 +00:00
}
2024-07-12 07:08:22 +00:00
@media only screen and (max-width:895px) {
2024-06-07 04:25:21 +00:00
#pics.card-grid article {
2024-07-12 07:08:22 +00:00
max-width: calc(100% - 1rem)
2024-06-07 04:25:21 +00:00
}
}
#pics article > img:first-child {
2024-07-12 07:08:22 +00:00
text-align: center
2024-06-11 00:36:48 +00:00
}
2024-07-12 07:08:22 +00:00
#now-garden {
gap: 1rem
2024-07-02 02:55:07 +00:00
}
2024-07-12 07:08:22 +00:00
#now-garden > :not(.now) {
position: absolute
}
2024-06-11 00:36:48 +00:00
.card-grid > * {
flex-grow: 1;
2024-07-12 07:08:22 +00:00
flex-shrink: 1
2024-06-11 00:36:48 +00:00
}
2024-07-11 05:57:53 +00:00
iframe {
2024-07-12 07:08:22 +00:00
width: 100%;
2024-06-11 00:36:48 +00:00
flex-grow: 1;
2024-07-12 07:08:22 +00:00
border: 0;
margin: 0;
padding: 0
2024-06-11 00:36:48 +00:00
}
2024-06-13 06:35:40 +00:00
.now {
background-color: var(--green-2);
2024-07-12 07:08:22 +00:00
color: var(--black)
2024-06-13 06:35:40 +00:00
}
2024-07-12 07:08:22 +00:00
.page-container, .page-container > .page.active, main {
flex-grow: 1;
2024-06-11 00:36:48 +00:00
display: flex;
2024-07-12 07:08:22 +00:00
flex-direction: column
2024-06-11 00:36:48 +00:00
}
main {
2024-06-14 00:45:31 +00:00
overflow-x: hidden;
2024-07-12 07:08:22 +00:00
overflow-y: auto
2024-06-11 00:36:48 +00:00
}
.hover {
2024-07-12 07:08:22 +00:00
z-index: 1
}
2024-07-12 07:08:22 +00:00
#info :is(ul,ol) {
margin-left: var(--spacing)
}
2024-07-12 07:08:22 +00:00
#info :is(p,ul,ol) {
margin-bottom: var(--spacing)
2024-06-13 06:35:40 +00:00
}
2024-07-12 07:08:22 +00:00
.fa-seedling {
color: var(--green-9) !important
}
2024-06-14 00:45:31 +00:00
2024-07-12 07:08:22 +00:00
.fa-message-smile {
color: var(--blue-4) !important
2024-06-14 00:45:31 +00:00
}
2024-07-12 07:08:22 +00:00
.fa-images {
color: var(--yellow-6) !important
}
.fa-id-card {
color: var(--pink-4) !important
}
.fa-comment-dots {
color: var(--gray-6) !important
}
nav.bottom.s :is(small,.label) {
font-size: .75rem
2024-06-14 00:45:31 +00:00
}
.row p {
white-space: normal;
2024-07-12 07:08:22 +00:00
max-width: 100%
2024-06-14 00:45:31 +00:00
}
a.row.indent {
margin-left: 1rem;
2024-07-12 07:08:22 +00:00
border-left: 1px solid var(--outline)
2024-06-14 00:45:31 +00:00
}
:is(.circle,.square).large.small:not(i,img,video,svg) {
block-size: 2rem;
2024-07-12 07:08:22 +00:00
inline-size: 2rem
2024-06-14 00:45:31 +00:00
}
2024-07-12 07:08:22 +00:00
2024-06-14 00:45:31 +00:00
:is(button,.button,.chip).large.small > .responsive {
2024-07-12 07:08:22 +00:00
inline-size: 2rem
2024-06-14 00:45:31 +00:00
}
2024-07-12 07:08:22 +00:00
@media only screen and (max-width:600px) {
.l:not(.s), .m.l:not(.s), .m:not(.s) {
display: none !important
}
2024-06-14 00:45:31 +00:00
}
2024-07-12 07:08:22 +00:00
@media only screen and (min-width:601px) and (max-width:992px) {
.l:not(.m), .s.l:not(.m), .s:not(.m) {
display: none !important
}
2024-06-14 00:45:31 +00:00
}
2024-07-12 07:08:22 +00:00
@media only screen and (min-width:993px) {
2024-06-14 00:45:31 +00:00
:is(.circle,.square).large.small:not(i,img,video,svg) {
block-size: 3rem;
2024-07-12 07:08:22 +00:00
inline-size: 3rem
2024-06-14 00:45:31 +00:00
}
2024-07-12 07:08:22 +00:00
2024-06-14 00:45:31 +00:00
:is(button,.button,.chip).large.small > .responsive {
2024-07-12 07:08:22 +00:00
inline-size: 3rem
2024-06-14 00:45:31 +00:00
}
2024-06-20 04:25:48 +00:00
}
2024-07-12 07:08:22 +00:00
#directory {
column-width: 14rem
2024-06-20 04:25:48 +00:00
}
2024-07-12 07:08:22 +00:00
#directory a {
font-size: 1.1rem;
}
article#directory ul {
list-style: none
2024-06-20 04:25:48 +00:00
}
#directoryIndex a {
2024-07-12 07:08:22 +00:00
font-size: 1.5rem
2024-06-21 06:26:11 +00:00
}
.editor-toolbar .easymde-dropdown, .editor-toolbar button {
2024-07-12 07:08:22 +00:00
color: inherit
2024-06-21 06:26:11 +00:00
}
2024-07-12 07:08:22 +00:00
2024-06-21 06:26:11 +00:00
.editor-toolbar i.separator {
---size: unset;
2024-07-12 07:08:22 +00:00
opacity: .25;
2024-06-21 06:26:11 +00:00
border-radius: 0
}
2024-07-12 07:08:22 +00:00
2024-06-21 06:26:11 +00:00
.markdown-editor .editor-preview {
2024-07-12 07:08:22 +00:00
background: var(--surface)
2024-06-21 06:26:11 +00:00
}
.markdown-editor {
flex: auto;
display: flex;
2024-07-12 07:08:22 +00:00
flex-direction: column
2024-06-21 06:26:11 +00:00
}
2024-07-12 07:08:22 +00:00
.markdown-editor + nav, .markdown-editor > .EasyMDEContainer > .editor-toolbar {
flex: none
}
2024-06-21 06:26:11 +00:00
2024-07-12 07:08:22 +00:00
.markdown-editor > .EasyMDEContainer {
flex: 1;
display: flex;
flex-direction: column
}
2024-06-21 06:26:11 +00:00
2024-07-12 07:08:22 +00:00
.markdown-editor > .EasyMDEContainer > .CodeMirror {
flex: auto
}
2024-06-24 01:58:23 +00:00
article {
overflow-wrap: anywhere;
2024-07-12 07:08:22 +00:00
width: 100%;
max-width: var(--max-article-size);
margin-inline: auto
2024-06-24 02:23:28 +00:00
}
2024-07-12 07:08:22 +00:00
nav label:is(.checkbox,.radio,.switch) {
2024-06-24 02:23:28 +00:00
white-space: break-spaces;
2024-07-12 07:08:22 +00:00
flex: 1 1 100%
2024-06-28 07:08:12 +00:00
}
menu > details .row, menu > li > details .row {
padding: .5rem 1rem;
min-block-size: 3rem;
2024-07-12 07:08:22 +00:00
flex: 1
2024-06-28 07:08:12 +00:00
}
menu > details > a:is(:hover,:focus,.active), menu > details > summary:is(:hover,:focus,.active) {
2024-07-12 07:08:22 +00:00
background-color: var(--active)
2024-07-02 02:55:07 +00:00
}
article.now {
margin: 0;
2024-07-12 07:08:22 +00:00
width: auto
}
2024-07-12 07:08:22 +00:00
#advanced .field.textarea, #advanced textarea {
background-color: #212121;
2024-07-12 07:08:22 +00:00
color: #eff;
}
#advanced .field.textarea, #advanced textarea, .EasyMDEContainer {
font-family: 'MD IO 0.4', monospace
2024-07-11 05:57:53 +00:00
}
article.theme {
height: 10rem;
2024-07-12 07:08:22 +00:00
width: 15rem
}