1225 lines
20 KiB
CSS
1225 lines
20 KiB
CSS
/* Reset CSS */
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
p,
|
|
figure,
|
|
blockquote,
|
|
dl,
|
|
dd,
|
|
fieldset,
|
|
menu {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
ul[role='list'],
|
|
ol[role='list'] {
|
|
list-style: none;
|
|
}
|
|
|
|
html:focus-within {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
text-rendering: optimizeSpeed;
|
|
line-height: 1.5;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
a:not([class]) {
|
|
text-decoration-skip-ink: auto;
|
|
}
|
|
|
|
img,
|
|
picture {
|
|
display: inline-block;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
textarea,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
p a,
|
|
td a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html:focus-within {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|
|
|
|
/* Base template styling */
|
|
|
|
:root {
|
|
--color-bg-main: #26323c;
|
|
--color-bg-menu: #2e3e4c;
|
|
--color-bg-box: #1a2631;
|
|
--color-bg-error: rgb(87, 32, 32);
|
|
--color-highlight: #449c8c;
|
|
--color-delete: #8b2821;
|
|
|
|
--color-text-duller: #5f6983;
|
|
--color-text-dull: #99a;
|
|
--color-text-main: #fff;
|
|
--color-text-link: rgb(176, 194, 206);
|
|
--color-text-error: #f44336;
|
|
|
|
--color-input-border: #000;
|
|
--color-input-border-active: #444b5d;
|
|
--color-button-main: #444b5d;
|
|
--color-button-main-hover: #515d7c;
|
|
--color-button-disabled: #7c9c97;
|
|
--color-bg3: #444b5d;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--color-bg-main);
|
|
color: var(--color-text-main);
|
|
font-family: "Raleway", sans-serif;
|
|
font-size: 16px;
|
|
min-height: 100%;
|
|
}
|
|
|
|
main {
|
|
width: 900px;
|
|
margin: 20px auto;
|
|
box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
footer {
|
|
width: 900px;
|
|
margin: 0 auto;
|
|
padding: 0 0 10px 0;
|
|
color: var(--color-text-duller);
|
|
text-align: center;
|
|
font-size: 90%;
|
|
}
|
|
|
|
footer a {
|
|
border-bottom: 1px solid var(--color-text-duller);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
header {
|
|
display: flex;
|
|
height: 50px;
|
|
}
|
|
|
|
header .logo {
|
|
font-family: "Raleway";
|
|
font-weight: bold;
|
|
background: var(--color-highlight);
|
|
border-radius: 5px 0 0 0;
|
|
text-transform: lowercase;
|
|
padding: 10px 11px 9px 10px;
|
|
height: 50px;
|
|
font-size: 130%;
|
|
color: var(--color-text-main);
|
|
border-bottom: 3px solid rgba(0, 0, 0, 0);
|
|
z-index: 10;
|
|
}
|
|
|
|
header .logo:hover {
|
|
border-bottom: 3px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
header .logo img {
|
|
display: inline;
|
|
vertical-align: top;
|
|
margin: 0 3px 0 0;
|
|
}
|
|
|
|
header menu {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
list-style-type: none;
|
|
justify-content: flex-start;
|
|
z-index: 10;
|
|
}
|
|
|
|
header menu a {
|
|
padding: 10px 20px 4px 20px;
|
|
color: #eee;
|
|
line-height: 30px;
|
|
border-bottom: 3px solid rgba(0, 0, 0, 0);
|
|
}
|
|
|
|
body.has-banner header menu a {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
border-right: 0;
|
|
}
|
|
|
|
header menu a:hover,
|
|
header menu a.selected {
|
|
border-bottom: 3px solid var(--color-highlight);
|
|
}
|
|
|
|
header menu a i {
|
|
font-size: 24px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
header menu a.htmx-request i {
|
|
-webkit-animation-delay: var(--fa-animation-delay, 0s);
|
|
animation-delay: var(--fa-animation-delay, 0s);
|
|
-webkit-animation-direction: var(--fa-animation-direction, normal);
|
|
animation-direction: var(--fa-animation-direction, normal);
|
|
-webkit-animation-name: fa-spin;
|
|
animation-name: fa-spin;
|
|
-webkit-animation-duration: var(--fa-animation-duration, 2s);
|
|
animation-duration: var(--fa-animation-duration, 2s);
|
|
-webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
-webkit-animation-timing-function: var(--fa-animation-timing, linear);
|
|
animation-timing-function: var(--fa-animation-timing, linear);
|
|
}
|
|
|
|
|
|
header menu .gap {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
header menu a.identity {
|
|
border-right: 0;
|
|
text-align: right;
|
|
padding-right: 10px;
|
|
background: var(--color-bg-menu) !important;
|
|
border-radius: 0 5px 0 0;
|
|
width: 250px;
|
|
}
|
|
|
|
header menu a.identity i {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
padding: 0 7px 2px 0;
|
|
}
|
|
|
|
header menu a img {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
margin: 0 0 2px 8px;
|
|
height: 30px;
|
|
width: auto;
|
|
}
|
|
|
|
header menu a small {
|
|
color: var(--color-text-dull);
|
|
font-size: 70%;
|
|
}
|
|
|
|
nav {
|
|
padding: 10px 10px 20px 0;
|
|
}
|
|
|
|
nav h3 {
|
|
text-transform: uppercase;
|
|
font-weight: bold;
|
|
font-size: 90%;
|
|
padding: 15px 18px 7px 16px;
|
|
}
|
|
|
|
nav h3:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
nav a {
|
|
display: block;
|
|
color: var(--color-text-dull);
|
|
padding: 7px 18px 7px 13px;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
nav a.selected {
|
|
color: var(--color-text-main);
|
|
background: var(--color-bg-main);
|
|
border-radius: 0 5px 5px 0;
|
|
}
|
|
|
|
nav a:hover {
|
|
color: var(--color-text-main);
|
|
border-left: 3px solid var(--color-highlight);
|
|
}
|
|
|
|
nav a.selected:hover {
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
nav a i {
|
|
width: 20px;
|
|
text-align: center;
|
|
margin-right: 4px;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Left-right columns */
|
|
|
|
.columns {
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.left-column {
|
|
flex-grow: 1;
|
|
width: 300px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.left-column h1 {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
.left-column h2 {
|
|
margin: 10px 0 10px 0;
|
|
}
|
|
|
|
.left-column h3 {
|
|
margin: 10px 0 0 0;
|
|
}
|
|
|
|
.right-column {
|
|
width: 250px;
|
|
background: var(--color-bg-menu);
|
|
border-radius: 0 0 5px 0;
|
|
}
|
|
|
|
.right-column h2 {
|
|
background: var(--color-highlight);
|
|
padding: 8px 10px;
|
|
font-weight: bold;
|
|
font-size: 90%;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Icon menus */
|
|
|
|
.icon-menu .option {
|
|
display: block;
|
|
margin: 0px 0 20px 0;
|
|
background: var(--color-bg-box);
|
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
|
|
color: inherit;
|
|
text-decoration: none;
|
|
padding: 10px 20px;
|
|
border: 2px solid rgba(255, 255, 255, 0);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.icon-menu .option:hover {
|
|
border: 2px solid var(--color-highlight);
|
|
}
|
|
|
|
.icon-menu .option.empty {
|
|
color: var(--color-text-dull);
|
|
}
|
|
|
|
.icon-menu .option.empty:hover {
|
|
border: 0;
|
|
border: 2px solid rgba(255, 255, 255, 0);
|
|
}
|
|
|
|
.icon-menu .option img,
|
|
.icon-menu .option i {
|
|
vertical-align: middle;
|
|
margin: 0 10px 3px 0;
|
|
height: 50px;
|
|
width: auto;
|
|
}
|
|
|
|
.icon-menu .option img.emoji {
|
|
height: 22px;
|
|
}
|
|
|
|
.icon-menu .option i {
|
|
display: inline-block;
|
|
text-align: center;
|
|
width: 50px;
|
|
line-height: 50px;
|
|
font-size: 200%;
|
|
}
|
|
|
|
.icon-menu .option .handle {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.icon-menu .option .pill {
|
|
display: inline-block;
|
|
padding: 5px 8px;
|
|
background: var(--color-highlight);
|
|
border-radius: 5px;
|
|
margin: 0 5px 0 5px;
|
|
}
|
|
|
|
.icon-menu .option .pill.bad {
|
|
background: var(--color-delete);
|
|
}
|
|
|
|
.handle {
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
line-height: normal;
|
|
}
|
|
|
|
.handle small {
|
|
display: block;
|
|
color: var(--color-text-dull);
|
|
}
|
|
|
|
|
|
/* Forms */
|
|
|
|
fieldset {
|
|
border: 0;
|
|
background: var(--color-bg-box);
|
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
|
|
margin: 25px 0 45px 0;
|
|
padding: 5px 15px;
|
|
}
|
|
|
|
fieldset legend {
|
|
position: relative;
|
|
top: -15px;
|
|
left: -15px;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
color: var(--color-text-dull);
|
|
}
|
|
|
|
.right-column form,
|
|
form.inline {
|
|
padding: 0;
|
|
}
|
|
|
|
form.follow {
|
|
float: right;
|
|
margin: 20px 0 0 0;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
form.follow.has-reverse {
|
|
margin-top: 0;
|
|
}
|
|
|
|
form.follow .reverse-follow {
|
|
display: block;
|
|
margin: 0 0 5px 0;
|
|
}
|
|
|
|
form.follow button {
|
|
margin: 0;
|
|
}
|
|
|
|
form.search {
|
|
display: flex;
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
form h1 {
|
|
margin: 0 0 10px 0;
|
|
}
|
|
|
|
form p {
|
|
color: var(--color-text-main);
|
|
margin: 10px 0 15px 0;
|
|
}
|
|
|
|
form .field {
|
|
margin: 0 0 25px 0;
|
|
display: flex;
|
|
}
|
|
|
|
form .field:last-of-type {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
form .field .label-input {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
form .field.stats {
|
|
width: 100%;
|
|
}
|
|
|
|
form .field.stats table {
|
|
width: 50%;
|
|
}
|
|
|
|
form .field.stats table tr th {
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
|
|
form .field.stats table tbody td {
|
|
color: var(--color-text-dull);
|
|
text-align: center;
|
|
}
|
|
|
|
.right-column form .field {
|
|
margin: 0;
|
|
background: none;
|
|
box-shadow: none;
|
|
padding: 0;
|
|
}
|
|
|
|
form label {
|
|
display: block;
|
|
text-transform: uppercase;
|
|
font-size: 100%;
|
|
font-weight: bold;
|
|
margin: 0 0 5px 0;
|
|
}
|
|
|
|
form label small {
|
|
font-size: 80%;
|
|
margin-left: 5px;
|
|
color: var(--color-text-dull);
|
|
}
|
|
|
|
.right-column form label {
|
|
margin: 5px 10px 5px 10px;
|
|
}
|
|
|
|
form .help {
|
|
color: var(--color-text-dull);
|
|
font-size: 90%;
|
|
margin: -5px 0 5px 0;
|
|
}
|
|
|
|
form .errorlist {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
form .errorlist li {
|
|
color: var(--color-text-main);
|
|
background: var(--color-bg-error);
|
|
border-radius: 3px;
|
|
margin: 5px 0 8px 0;
|
|
padding: 3px 7px;
|
|
}
|
|
|
|
form .errorlist li::before {
|
|
content: "\f071";
|
|
font: var(--fa-font-solid);
|
|
margin-right: 7px;
|
|
}
|
|
|
|
form .hidden {
|
|
display: none;
|
|
}
|
|
|
|
form input,
|
|
form select,
|
|
form textarea {
|
|
width: 100%;
|
|
padding: 5px 7px;
|
|
background: var(--color-bg-main);
|
|
border: 1px solid var(--color-input-border);
|
|
border-radius: 3px;
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
form .clear {
|
|
color: var(--color-text-main);
|
|
font-size: 90%;
|
|
margin: 5px 0 5px 0;
|
|
}
|
|
|
|
form .clear input {
|
|
display: inline;
|
|
width: 32px;
|
|
}
|
|
|
|
.right-column form.compose input,
|
|
.right-column form.compose textarea {
|
|
margin: 0 0 10px 0;
|
|
border: 0;
|
|
font-size: 95%;
|
|
border-radius: 0;
|
|
background-color: var(--color-bg-box);
|
|
}
|
|
|
|
.right-column form.compose textarea {
|
|
height: 150px;
|
|
}
|
|
|
|
form input:focus,
|
|
form select:focus,
|
|
form textarea:focus {
|
|
outline: none;
|
|
border: 1px solid var(--color-input-border-active);
|
|
}
|
|
|
|
form input[type=submit] {
|
|
width: 100%;
|
|
padding: 4px 6px;
|
|
margin: 0 0 10px;
|
|
background: var(--color-button-main);
|
|
border: 0;
|
|
border-radius: 3px;
|
|
color: var(--color-text-main);
|
|
cursor: pointer;
|
|
}
|
|
|
|
form input[type=submit]:hover {
|
|
background: var(--color-button-main-hover);
|
|
}
|
|
|
|
form img.preview {
|
|
max-height: 100%;
|
|
max-width: 100px;
|
|
margin: 0 0 0 20px;
|
|
align-self: center;
|
|
}
|
|
|
|
form .uploaded-image {
|
|
margin: 0 0 10px 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
form .uploaded-image img {
|
|
max-width: 200px;
|
|
max-height: 200px;
|
|
float: left;
|
|
}
|
|
|
|
form .uploaded-image p {
|
|
margin-left: 220px;
|
|
}
|
|
|
|
form .uploaded-image .buttons {
|
|
margin-left: 220px;
|
|
}
|
|
|
|
form .buttons {
|
|
text-align: right;
|
|
margin: -20px 0 15px 0;
|
|
}
|
|
|
|
form p+.buttons,
|
|
form fieldset .buttons {
|
|
margin-top: 0;
|
|
}
|
|
|
|
form .button.add-image {
|
|
margin: 10px 0 10px 0;
|
|
}
|
|
|
|
form legend+.button.add-image {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
form progress {
|
|
display: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.right-column form .buttons {
|
|
margin: 5px 10px 5px 0;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
padding: 5px 10px;
|
|
margin: 0 0 0 5px;
|
|
border-radius: 5px;
|
|
border: 3px solid rgba(255, 255, 255, 0);
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
background-color: var(--color-highlight);
|
|
color: var(--color-text-main);
|
|
display: inline-block;
|
|
}
|
|
|
|
button.delete,
|
|
.button.delete {
|
|
background: var(--color-delete);
|
|
}
|
|
|
|
button.secondary,
|
|
.button.secondary {
|
|
background: var(--color-bg-menu);
|
|
}
|
|
|
|
button.toggle,
|
|
.button.toggle {
|
|
background: var(--color-bg-main);
|
|
}
|
|
|
|
button[disabled],
|
|
.button[disabled] {
|
|
background: var(--color-button-disabled);
|
|
}
|
|
|
|
button.left,
|
|
.button.left {
|
|
float: left;
|
|
margin: 0 5px 0 0;
|
|
}
|
|
|
|
button.toggle.enabled,
|
|
.button.toggle.enabled {
|
|
background: var(--color-highlight);
|
|
}
|
|
|
|
button:hover,
|
|
.button:hover {
|
|
border: 3px solid rgba(255, 255, 255, 0.3);
|
|
}
|
|
|
|
.right-column button,
|
|
.right-column .button {
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
/* Logged out homepage */
|
|
|
|
.about p {
|
|
margin: 0 0 15px 0;
|
|
}
|
|
|
|
.about img.banner {
|
|
width: calc(100% + 30px);
|
|
height: auto;
|
|
object-fit: cover;
|
|
margin: -65px -15px 0 -15px;
|
|
border-radius: 5px 0 0 0;
|
|
display: block;
|
|
}
|
|
|
|
/* Identities */
|
|
|
|
h1.identity {
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
h1.identity .banner {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
display: block;
|
|
width: calc(100% + 30px);
|
|
margin: -65px -15px 20px -15px;
|
|
border-radius: 5px 0 0 0;
|
|
}
|
|
|
|
h1.identity .icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
float: left;
|
|
margin: 0 20px 0 0;
|
|
}
|
|
|
|
h1.identity .emoji {
|
|
height: 22px;
|
|
}
|
|
|
|
h1.identity small {
|
|
display: block;
|
|
font-size: 60%;
|
|
font-weight: normal;
|
|
color: var(--color-text-dull);
|
|
margin: -5px 0 0 0;
|
|
}
|
|
|
|
.bio {
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.bio .emoji {
|
|
height: 22px;
|
|
}
|
|
|
|
.system-note {
|
|
background: var(--color-bg-menu);
|
|
color: var(--color-text-dull);
|
|
border-radius: 3px;
|
|
padding: 5px 8px;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.system-note a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
table.metadata {
|
|
margin: -10px 0 0 0;
|
|
}
|
|
|
|
table.metadata td {
|
|
padding: 0;
|
|
}
|
|
|
|
table.metadata td.name {
|
|
padding-right: 10px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.stats {
|
|
margin: 0 0 20px 0;
|
|
}
|
|
|
|
.stats ul {
|
|
padding: 0;
|
|
list-style: none;
|
|
display: flex;
|
|
justify-content: start;
|
|
gap: 1em;
|
|
}
|
|
|
|
table.metadata td .emoji {
|
|
height: 22px;
|
|
}
|
|
|
|
/* Timelines */
|
|
|
|
.left-column .timeline-name {
|
|
margin: 0 0 10px 0;
|
|
color: var(--color-text-main);
|
|
font-size: 130%;
|
|
}
|
|
|
|
.left-column .timeline-name i {
|
|
margin-right: 10px
|
|
}
|
|
|
|
.view-options {
|
|
margin: 0 0 10px 3px;
|
|
}
|
|
|
|
.view-options a {
|
|
margin: 0 10px 0 0;
|
|
padding: 4px 7px;
|
|
color: var(--color-text-duller);
|
|
background: var(--color-bg-box);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.view-options a.selected {
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
/* Posts */
|
|
|
|
.post {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.post.mini {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.post.reply {
|
|
margin-left: 32px;
|
|
}
|
|
|
|
.post.user {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.left-column .post {
|
|
background: var(--color-bg-box);
|
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
|
|
padding: 10px;
|
|
}
|
|
|
|
.left-column form .post {
|
|
background-color: var(--color-bg-main);
|
|
}
|
|
|
|
.post .icon {
|
|
height: 48px;
|
|
width: auto;
|
|
float: left;
|
|
}
|
|
|
|
.post.mini .icon {
|
|
height: 28px;
|
|
width: auto;
|
|
float: left;
|
|
}
|
|
|
|
.post .emoji {
|
|
height: 22px;
|
|
}
|
|
|
|
.post .handle {
|
|
display: block;
|
|
padding: 7px 0 0 64px;
|
|
}
|
|
|
|
.post.mini .handle {
|
|
padding: 7px 0 0 36px;
|
|
}
|
|
|
|
.post time {
|
|
display: block;
|
|
float: right;
|
|
color: var(--color-text-duller);
|
|
width: 65px;
|
|
text-align: center;
|
|
background-color: var(--color-bg-main);
|
|
border-radius: 3px;
|
|
padding: 3px 3px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.post time i {
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.post .summary {
|
|
margin: 12px 0 4px 64px;
|
|
padding: 3px 6px;
|
|
border-radius: 3px;
|
|
background: var(--color-bg-menu);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.post .summary::before {
|
|
display: block;
|
|
font-weight: bold;
|
|
float: right;
|
|
content: "SHOW";
|
|
font-size: 80%;
|
|
padding: 2px 2px 2px 10px;
|
|
}
|
|
|
|
.post .summary.enabled::before {
|
|
content: "HIDE";
|
|
}
|
|
|
|
.post .edited {
|
|
margin-left: 64px;
|
|
font-weight: lighter;
|
|
color: var(--color-text-duller);
|
|
}
|
|
|
|
.post .content {
|
|
margin-left: 64px;
|
|
}
|
|
|
|
.post.mini .content,
|
|
.post.mini .edited {
|
|
margin-left: 0px;
|
|
}
|
|
|
|
.post .content.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.post .content p {
|
|
margin: 12px 0 4px 0;
|
|
}
|
|
|
|
.post .attachments {
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.post .attachments a.image {
|
|
display: inline-block;
|
|
border: 3px solid var(--color-bg-menu);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.post .attachments a.image img {
|
|
display: block;
|
|
max-width: 200px;
|
|
max-height: 200px;
|
|
}
|
|
|
|
.post .actions {
|
|
position: relative;
|
|
float: right;
|
|
padding: 3px 5px 0 0;
|
|
}
|
|
|
|
.post .actions a {
|
|
text-align: center;
|
|
cursor: pointer;
|
|
color: var(--color-text-dull);
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.post .actions a.menu {
|
|
width: 16px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.post .actions a:hover {
|
|
color: var(--color-text-main);
|
|
}
|
|
|
|
.post .actions a.active {
|
|
color: var(--color-highlight);
|
|
}
|
|
|
|
.post .actions menu {
|
|
position: absolute;
|
|
display: none;
|
|
top: 25px;
|
|
right: 10px;
|
|
background-color: var(--color-bg-menu);
|
|
border-radius: 5px;
|
|
padding: 5px 10px;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.post .actions menu.enabled {
|
|
display: block;
|
|
z-index: 10;
|
|
}
|
|
|
|
.post .actions menu a {
|
|
text-align: left;
|
|
display: block;
|
|
width: 165px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.post .actions menu a i {
|
|
margin-right: 4px;
|
|
width: 16px;
|
|
}
|
|
|
|
.post a.hashtag,
|
|
.post.mini a.hashtag {
|
|
text-decoration: none;
|
|
color: var(--color-text-link);
|
|
}
|
|
|
|
.post a.hashtag:hover,
|
|
.post.mini a.hashtag:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.boost-banner,
|
|
.mention-banner,
|
|
.follow-banner,
|
|
.like-banner {
|
|
padding: 0 0 3px 5px;
|
|
}
|
|
|
|
.boost-banner .emoji,
|
|
.mention-banner .emoji,
|
|
.follow-banner .emoji,
|
|
.like-banner .emoji {
|
|
height: 22px;
|
|
}
|
|
|
|
.boost-banner a,
|
|
.mention-banner a,
|
|
.follow-banner a,
|
|
.like-banner a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.boost-banner::before {
|
|
content: "\f079";
|
|
font: var(--fa-font-solid);
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.boost-banner time {
|
|
float: right;
|
|
display: block;
|
|
color: var(--color-text-duller);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.mention-banner::before {
|
|
content: "\0040";
|
|
font: var(--fa-font-solid);
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.follow-banner::before {
|
|
content: "\f007";
|
|
font: var(--fa-font-solid);
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.like-banner::before {
|
|
content: "\f005";
|
|
font: var(--fa-font-solid);
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.load-more {
|
|
margin: 10px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
@media (max-width: 920px) or (display-mode: standalone) {
|
|
|
|
html {
|
|
scrollbar-color: var(--color-bg-main) var(--color-text-duller);
|
|
}
|
|
|
|
div::-webkit-scrollbar {
|
|
background: var(--color-bg-main);
|
|
width: 7px;
|
|
}
|
|
|
|
div::-webkit-scrollbar-thumb {
|
|
background: var(--color-bg-main);
|
|
}
|
|
|
|
div:hover::-webkit-scrollbar-thumb {
|
|
background: var(--color-text-dull);
|
|
}
|
|
|
|
div.columns {
|
|
height: calc(100vh - 50px);
|
|
align-items: stretch;
|
|
}
|
|
|
|
.left-column,
|
|
.right-column {
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
main {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
}
|
|
|
|
footer {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 250px;
|
|
margin: 0;
|
|
padding: 5px;
|
|
text-align: right;
|
|
}
|
|
|
|
footer a {
|
|
display: block;
|
|
border: 0;
|
|
}
|
|
|
|
header .logo {
|
|
border-radius: 0;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
header menu a.identity {
|
|
width: 50px;
|
|
padding: 10px 10px 0 0;
|
|
font-size: 0;
|
|
}
|
|
|
|
header menu a.identity i {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.right-column {
|
|
width: 50px;
|
|
}
|
|
|
|
.right-column nav {
|
|
padding-right: 0;
|
|
}
|
|
|
|
.right-column nav a {
|
|
font-size: 0;
|
|
padding: 10px 0 10px 10px;
|
|
}
|
|
|
|
.right-column nav a i {
|
|
font-size: 22px;
|
|
}
|
|
|
|
.right-column h3 {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.right-column h2,
|
|
.right-column .compose {
|
|
display: none;
|
|
}
|
|
|
|
footer {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Copy to clipboard action */
|
|
|
|
.copy {
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.copy:hover {
|
|
color: var(--color-text-main);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.copied,
|
|
.copied:hover {
|
|
color: var(--color-highlight);
|
|
transition: 0.2s;
|
|
}
|
|
|
|
|
|
/* Accessibility */
|
|
.screenreader-text {
|
|
position: absolute;
|
|
left: -999px;
|
|
width: 1px;
|
|
height: 1px;
|
|
top: auto;
|
|
}
|
|
|
|
.screenreader-text:focus {
|
|
color: black;
|
|
display: inline-block;
|
|
height: auto;
|
|
width: auto;
|
|
position: static;
|
|
margin: auto;
|
|
}
|