123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266 |
- .notes hr {
- margin-top: var(--smaller);
- }
- .note-wrapper {
- width: 100%;
- height: inherit;
- border-radius: var(--smaller) var(--smaller) 0 0;
- }
- .note-sidebar {
- padding: var(--smaller);
- }
- .note-sidebar * {
- display: flex;
- flex-direction: column;
- margin-left: auto;
- margin-right: auto;
- max-height: 100%;
- }
- .note-sidebar .avatar {
- max-width: 4rem;
- max-height: 4rem;
- min-width: var(--big);
- width: 100%;
- height: auto;
- background: unset;
- margin-bottom: var(--smaller);
- border-radius: 2px;
- }
- .h-entry:not(:first-child) {
- margin-top: var(--smaller);
- }
- .h-entry:not(embed) {
- border: 2px solid var(--border) !important;
- box-shadow: var(--shadow);
- }
- .h-entry img {
- background: repeating-conic-gradient(#ffffff66 0deg 90deg, #ffffff33 0deg 180deg) 0 0/40px 40px round;
- }
- .embed {
- display: flex;
- flex-wrap: wrap;
- padding: var(--smaller);
- border: unset;
- }
- .embed header {
- width: 100%;
- margin-bottom: var(--small);
- }
- .embed img {
- width: 25%;
- height: auto;
- margin-right: var(--smaller);
- }
- .embed .p-summary {
- width: 60%;
- }
- .embed .p-author,
- .embed .p-name {
- font-weight: bold;
- }
- .embed img {
- padding: unset;
- max-width: min-content;
- max-height: min-content;
- }
- .embed .p-summary hr {
- margin-top: var(--smaller);
- margin-bottom: var(--smaller);
- }
- .h-entry .embed[class*="p-"] {
- padding: unset;
- }
- .h-entry a:focus {
- text-decoration: underline;
- }
- .h-entry {
- display: flex;
- border-radius: var(--smaller);
- background-color: var(--background-card) !important;
- }
- .h-entry figure {
- margin: unset;
- object-fit: cover;
- padding: var(--smaller);
- background: var(--gradient);
- border-radius: var(--smaller);
- }
- .h-entry .replies {
- margin-bottom: var(--small);
- padding: var(--smaller) var(--smaller) 0 0;
- padding-left: var(--small);
- border-left: 2px solid var(--border);
- }
- .note-info,
- embed header {
- display: flex;
- align-items: center;
- max-height: var(--big);
- border-bottom: unset;
- border-radius: var(--smaller) var(--smaller) 0 0;
- padding: 4px var(--smaller) 4px 0;
- }
- .note-info {
- background: var(--gradient-backwards);
- }
- .note-url {
- opacity: 0.5;
- font-size: 0.9em;
- margin-left: var(--smaller);
- }
- embed header {
- font-size: var(--small);
- justify-content: space-between;
- }
- .note-author-url {
- margin-left: 4px;
- }
- .note-author-fullname {
- font-weight: bold;
- }
- .note-author-nickname {
- opacity: 0.5;
- }
- .note-author-nickname::before {
- content: '@';
- }
- .note-actions {
- margin-left: auto;
- }
- .note-actions ul {
- display: flex;
- vertical-align: middle;
- }
- .note-actions-extra-details {
- display: flex;
- flex-direction: column;
- }
- .note-actions-extra-details summary {
- display: block;
- opacity: 0.33;
- vertical-align: middle;
- }
- .note-actions-extra-details[open] > summary {
- opacity: 1 !important;
- }
- .note-actions-extra-details[open] > summary + * {
- z-index: 1;
- display: flex;
- position: absolute;
- right: 0;
- flex-direction: column;
- padding: var(--smaller);
- border: 2px solid var(--border);
- border-radius: var(--smaller);
- background: var(--background-card);
- box-shadow: var(--shadow);
- font-size: var(--default);
- width: max-content;
- }
- .note-actions-extra-details[open] > summary + * > li:not(:last-of-type) {
- margin-bottom: var(--smaller);
- }
- .note-actions-set {
- opacity: 1 !important;
- }
- .button-container {
- border: none !important;
- mask-repeat: no-repeat !important;
- mask-size: cover !important;
- display: inline-block;
- margin-left: var(--smaller);
- width: var(--default);
- height: var(--default);
- background-color: var(--foreground);
- opacity: 0.33;
- }
- .button-container:focus,
- .button-container:hover {
- border: none !important;
- mask-repeat: no-repeat !important;
- mask-size: cover !important;
- opacity: 1;
- background-color: var(--accent);
- }
- .favourite-button-container {
- -o-mask-image: url("../../icons/heart.svg");
- -moz-mask-image: url("../../icons/heart.svg");
- -webkit-mask-image: url("../../icons/heart.svg");
- mask-image: url("../../icons/heart.svg");
- }
- .reply-button-container {
- -o-mask-image: url("../../icons/reply.svg");
- -moz-mask-image: url("../../icons/reply.svg");
- -webkit-mask-image: url("../../icons/reply.svg");
- mask-image: url("../../icons/reply.svg");
- }
- .repeat-button-container {
- -o-mask-image: url("../../icons/repeat.svg");
- -moz-mask-image: url("../../icons/repeat.svg");
- -webkit-mask-image: url("../../icons/repeat.svg");
- mask-image: url("../../icons/repeat.svg");
- }
- .delete-button-container {
- -o-mask-image: url("../../icons/delete.svg");
- -moz-mask-image: url("../../icons/delete.svg");
- -webkit-mask-image: url("../../icons/delete.svg");
- mask-image: url("../../icons/delete.svg");
- }
- .note-content {
- display: flex;
- flex-direction: column;
- border-radius: 0 0 var(--smaller) var(--smaller);
- padding-top: var(--smaller);
- padding-bottom: var(--smaller);
- padding-right: var(--smaller);
- }
- .note-text {
- margin-bottom: var(--smaller);
- }
- .note-text a {
- text-decoration: underline !important;
- }
- .note-attachments {
- display: flex;
- justify-items: flex-start;
- }
- .note-attachments-unit {
- display: flex;
- flex-wrap: wrap;
- max-width: max-content;
- border-radius: var(--smaller);
- padding: var(--smaller);
- align-self:flex-start;
- background-color: var(--background-card) !important;
- }
- .note-attachments-unit:not(:only-child) {
- margin-right: var(--smaller);
- }
- .note-attachments-unit > figure figcaption {
- display: flex;
- word-break: break-all;
- margin-bottom: var(--smaller);
- }
- .note-complementary {
- border-left: 2px solid var(--accent);
- border-end-start-radius: var(--smaller);
- border-end-end-radius: var(--smaller);
- padding-left: var(--smaller);
- padding-top: 5px;
- padding-bottom: 5px;
- margin-bottom: var(--smaller);
- margin-right: var(--smaller);
- background: var(--gradient) !important;
- }
- .note-complementary a {
- font-weight: bold;
- }
- .h-entry-language {
- position: relative;
- float: right;
- padding: 6px 12px;
- background: var(--gradient-backwards);
- font-size: var(--default);
- color: var(--foreground);
- border-radius: 0 0 var(--smaller) 0;
- }
|