[COMPONENTS][Posting] It is now visible on Actor profiles [COMPONENTS][Search] Overall rework of search results template, there's also additional help text added [CSS] Header no longer translucent, font sizes yet more consistent, replies marker less pronounced, and font hierarchy is now applied in both weight and size
430 lines
7.9 KiB
CSS
430 lines
7.9 KiB
CSS
.favourite-button-container {
|
|
-moz-mask-image: url("../icons/heart.svg");
|
|
-o-mask-image: url("../icons/heart.svg");
|
|
-webkit-mask-image: url("../icons/heart.svg");
|
|
mask-image: url("../icons/heart.svg");
|
|
}
|
|
|
|
.reply-button-container {
|
|
-moz-mask-image: url("../icons/reply.svg");
|
|
-o-mask-image: url("../icons/reply.svg");
|
|
-webkit-mask-image: url("../icons/reply.svg");
|
|
mask-image: url("../icons/reply.svg");
|
|
}
|
|
|
|
.repeat-button-container {
|
|
-moz-mask-image: url("../icons/repeat.svg");
|
|
-o-mask-image: url("../icons/repeat.svg");
|
|
-webkit-mask-image: url("../icons/repeat.svg");
|
|
mask-image: url("../icons/repeat.svg");
|
|
}
|
|
|
|
.delete-button-container {
|
|
-moz-mask-image: url("../icons/delete.svg");
|
|
-o-mask-image: url("../icons/delete.svg");
|
|
-webkit-mask-image: url("../icons/delete.svg");
|
|
mask-image: url("../icons/delete.svg");
|
|
}
|
|
|
|
.icon-eye-opened {
|
|
background-color: var(--foreground);
|
|
-moz-mask-image: url("../icons/eye-opened.svg");
|
|
-o-mask-image: url("../icons/eye-opened.svg");
|
|
-webkit-mask-image: url("../icons/eye-opened.svg");
|
|
mask-image: url("../icons/eye-opened.svg");
|
|
display: inline-flex;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
|
|
.icon-eye-closed {
|
|
background-color: var(--foreground);
|
|
-moz-mask-image: url("../icons/eye-closed.svg");
|
|
-o-mask-image: url("../icons/eye-closed.svg");
|
|
-webkit-mask-image: url("../icons/eye-closed.svg");
|
|
mask-image: url("../icons/eye-closed.svg");
|
|
display: inline-flex;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
|
|
.embed {
|
|
border: unset;
|
|
display: flex;
|
|
padding: var(--s);
|
|
}
|
|
|
|
.embed .p-author,.embed .p-name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.embed .p-summary {
|
|
width: 60%;
|
|
}
|
|
|
|
.embed .p-summary hr {
|
|
margin-bottom: var(--s);
|
|
margin-top: var(--s);
|
|
}
|
|
|
|
.embed header {
|
|
margin-bottom: var(--m);
|
|
width: 100%;
|
|
}
|
|
|
|
.embed img {
|
|
height: auto;
|
|
margin-right: var(--s);
|
|
width: 25%;
|
|
}
|
|
|
|
.embed img {
|
|
max-height: min-content;
|
|
max-width: min-content;
|
|
padding: unset;
|
|
}
|
|
|
|
.feed-header>h1,.feed-header>h2,.feed-header>h3,.feed-header>h4,.feed-header>h5,.feed-header>h6 {
|
|
margin-bottom: unset;
|
|
}
|
|
|
|
.feed-actions-details summary,.note-actions-extra-details summary {
|
|
display: block;
|
|
}
|
|
|
|
.feed-actions-details-dropdown {
|
|
font-size: .937rem;
|
|
}
|
|
|
|
.feed-actions-details[open]>.feed-actions-details-dropdown,.note-actions-extra-details[open]>summary+* {
|
|
background: var(--background-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--s);
|
|
box-shadow: var(--shadow);
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 4px 8px;
|
|
position: absolute;
|
|
right: 0;
|
|
width: max-content;
|
|
z-index: 1;
|
|
}
|
|
|
|
.feed-actions-details[open]>summary,.note-actions-extra-details[open]>summary {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.feed-actions-details[open] svg {
|
|
height: auto;
|
|
width: 1em;
|
|
}
|
|
|
|
.feed-empty {
|
|
display: flex;
|
|
}
|
|
|
|
.feed-empty .feed-background {
|
|
height: auto;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: var(--xxl);
|
|
opacity: 3%;
|
|
width: 40%;
|
|
}
|
|
|
|
.feed-header {
|
|
display: flex;
|
|
margin-bottom: var(--m);
|
|
align-items: center;
|
|
}
|
|
|
|
.feed-header .feed-actions {
|
|
margin-left: auto;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.h-entry {
|
|
background-color: var(--background-card);
|
|
border-radius: var(--s);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.h-entry .embed[class*="p-"] {
|
|
padding: unset;
|
|
}
|
|
|
|
.note-replies .note-replies {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.note-replies-indicator {
|
|
opacity: .66;
|
|
margin-right: 8px;
|
|
float: left;
|
|
}
|
|
|
|
.note-replies-indicator::before {
|
|
content: '\201C';
|
|
font-size: 1.5em;
|
|
opacity: .66;
|
|
}
|
|
|
|
.note-replies-parent {
|
|
opacity: .66;
|
|
font-size: .937rem;
|
|
}
|
|
|
|
.h-entry a:focus {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.h-entry figure,.note-attachments-unit figure {
|
|
background: var(--gradient);
|
|
border-radius: var(--s);
|
|
margin: unset;
|
|
padding: var(--s);
|
|
}
|
|
|
|
.h-entry img,.note-attachments-unit figure img {
|
|
background: repeating-conic-gradient(#ffffff66 0 90deg,#ffffff33 0 180deg) 0 0/40px 40px round;
|
|
}
|
|
|
|
.h-entry-language {
|
|
background: var(--gradient-backwards);
|
|
border-radius: 0 0 var(--s) 0;
|
|
color: var(--foreground);
|
|
float: right;
|
|
padding: 6px 12px;
|
|
position: relative;
|
|
}
|
|
|
|
.h-entry:not(:first-child) {
|
|
margin-top: var(--s);
|
|
}
|
|
|
|
.h-entry:not(embed) {
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.h-entry[id^="note-anchor-"]:target {
|
|
border: 2px solid var(--accent) !important;
|
|
}
|
|
|
|
.note-attachments {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.note-attachments-unit {
|
|
border-radius: var(--s);
|
|
display: flex;
|
|
max-width: max-content;
|
|
height: min-content;
|
|
padding: 4px;
|
|
}
|
|
|
|
.note-attachments-unit>figure figcaption {
|
|
display: flex;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.note-attachments-unit:not(:only-child) {
|
|
margin-right: var(--s);
|
|
}
|
|
|
|
.note-info,embed header {
|
|
border-bottom: unset;
|
|
border-radius: 0 var(--s) 0 0;
|
|
display: flex;
|
|
line-height: initial;
|
|
padding: 4px var(--s) 0 0;
|
|
}
|
|
|
|
.note-info {
|
|
display: flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
overflow: auto;
|
|
touch-action: manipulation;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.note-info .note-conversation-info,.note-info .note-author-uri {
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.note-info small {
|
|
opacity: .5;
|
|
}
|
|
|
|
.note-author-url {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.note-author-uri,.note-conversation-info {
|
|
font-style: italic;
|
|
}
|
|
|
|
.note-actions {
|
|
display: flex;
|
|
flex-direction: initial;
|
|
justify-content: flex-end;
|
|
flex: 1;
|
|
align-items: center;
|
|
}
|
|
|
|
.note-actions>li {
|
|
display: inline-block;
|
|
margin-left: 8px;
|
|
}
|
|
|
|
.note-actions-extra-details ul {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.note-actions-extra-details hr {
|
|
margin: unset;
|
|
}
|
|
|
|
.note-actions-extra-details summary {
|
|
opacity: .5;
|
|
}
|
|
|
|
.note-actions-extra-details[open]>summary+*>a {
|
|
font-size: .937rem;
|
|
line-height: 2;
|
|
}
|
|
|
|
.note-actions-set {
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.note-end {
|
|
display: flex;
|
|
}
|
|
|
|
.note-complementary {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
font-size: .937rem;
|
|
background: var(--gradient-backwards);
|
|
padding: 4px 8px;
|
|
border-radius: var(--s) 0 var(--s) var(--s);
|
|
}
|
|
|
|
.note-complementary:empty,.note-complementary:-moz-only-whitespace {
|
|
display: none !important;
|
|
}
|
|
|
|
.note-complementary-info a {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.note-complementary-info span {
|
|
display: block;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
.note-content {
|
|
border-radius: 0 0 var(--s) var(--s);
|
|
display: block;
|
|
flex: 1;
|
|
}
|
|
|
|
.note-replies-start {
|
|
opacity: .5;
|
|
}
|
|
|
|
.hr-replies-end {
|
|
margin-top: var(--xl);
|
|
margin-bottom: var(--xl);
|
|
}
|
|
|
|
.hr-replies-end:last-of-type {
|
|
display: none;
|
|
}
|
|
|
|
.note-sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: var(--s);
|
|
}
|
|
|
|
.note-sidebar>* {
|
|
border-radius: 2px;
|
|
height: auto;
|
|
max-height: 3rem;
|
|
max-width: 3rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.note-sidebar img {
|
|
background: unset !important;
|
|
}
|
|
|
|
.note-text a {
|
|
text-decoration: underline !important;
|
|
}
|
|
|
|
.note-text-details-summary:after {
|
|
content: "\2193";
|
|
}
|
|
|
|
.note-text-details .note-text-details-summary small {
|
|
font-style: italic;
|
|
}
|
|
|
|
.note-text-details[open] summary:after {
|
|
content: "\2191";
|
|
float: right;
|
|
}
|
|
|
|
.note-text-details[open] .note-text-details-summary small {
|
|
display: none;
|
|
}
|
|
|
|
.note-wrapper {
|
|
height: inherit;
|
|
flex: 1;
|
|
}
|
|
|
|
.posting-extra .h-entry {
|
|
padding: var(--s);
|
|
border: unset;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.posting-extra .note-sidebar {
|
|
all: unset;
|
|
}
|
|
|
|
.posting-extra .note-sidebar .avatar {
|
|
all: unset;
|
|
max-width: 1em;
|
|
max-height: 1em;
|
|
min-width: 1em;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
@media only screen and (max-width:1280px) {
|
|
.note-sidebar {
|
|
max-width: min-content !important;
|
|
}
|
|
|
|
.note-sidebar .avatar {
|
|
min-width: var(--xl) !important;
|
|
}
|
|
|
|
.note-replies .note-replies {
|
|
margin-left: .33em;
|
|
}
|
|
|
|
.note-replies-indicator::before {
|
|
content: '\201C';
|
|
font-size: 1em;
|
|
opacity: .66;
|
|
}
|
|
} |