bloat/static/style.css

677 lines
9.5 KiB
CSS
Raw Normal View History

body,
button,
input,
select,
textarea {
font-family: sans-serif;
2021-01-17 09:55:19 +01:00
}
input::file-selector-button {
font-family: sans-serif;
}
input[type=text],
textarea {
font-size: inherit;
}
h1 {
font-weight: normal;
font-size: x-large;
}
frame,
body,
.more-content {
background-color: #fcfcfc;
}
.status-container-container,
.notification-container {
background-color: #f0f0f0;
background-color: #eaeaea99;
margin: 8px 0;
padding: 12px 4px;
border-left: 4px solid transparent;
}
@media only screen and (max-width: 768px) {
.status-container-container,
.notification-container {
margin: 8px -4px;
}
2019-12-14 11:57:14 +01:00
}
.status-container-container.highlight {
background-color: #d3d3d3;
background-color: #cfcfcf99;
}
.status-container-container:target {
border-left: 4px solid #777777;
2020-10-19 07:20:57 +02:00
}
.status-container {
position: relative;
}
2019-12-13 19:08:26 +01:00
.status-content {
2019-12-24 16:19:11 +01:00
margin: 4px 0;
2020-01-11 08:26:00 +01:00
max-height: 600px;
overflow: auto;
2020-10-25 12:36:00 +01:00
overflow-wrap: break-word;
}
.status-name {
overflow-wrap: break-word;
2019-12-13 19:08:26 +01:00
}
.status-content p {
margin: 0px;
}
.status-content img,
.status-image,
.status-video {
height: auto;
width: auto;
max-height: 240px;
max-width: 280px;
vertical-align: bottom;
object-fit: contain;
}
2019-12-24 16:19:11 +01:00
.status-media-container {
margin: 4px 0;
2020-10-25 12:36:00 +01:00
overflow: auto;
2019-12-24 16:19:11 +01:00
}
.status-image-container,
.status-video-container {
display: inline-block;
position: relative;
margin: 2px 4px 2px 0;
}
2019-12-22 04:43:25 +01:00
.status-profile-img-container {
position: absolute;
2019-12-22 04:43:25 +01:00
}
2019-12-13 19:08:26 +01:00
.status-profile-img {
height: 48px;
width: 48px;
2020-10-19 07:20:57 +02:00
min-height: 48px;
min-width: 48px;
max-height: 48px;
max-width: 48px;
2019-12-22 04:43:25 +01:00
vertical-align: top;
object-fit: contain;
2019-12-13 19:08:26 +01:00
}
.user-list-profile-img .img-link,
.status-profile-img-container .img-link {
width: 48px;
overflow: hidden;
2019-12-13 19:08:26 +01:00
}
.retweet-info .img-link {
margin-right: 4px;
2019-12-13 19:08:26 +01:00
}
.status {
margin-left: 56px;
2019-12-13 19:08:26 +01:00
}
2019-12-26 10:11:24 +01:00
.status-action {
2019-12-24 16:19:11 +01:00
display: inline-block;
2020-01-30 14:56:29 +01:00
margin-right: 16px;
2019-12-26 10:11:24 +01:00
}
.status-action-last {
2020-01-30 14:56:29 +01:00
margin-right: 4px;
2020-01-04 19:56:47 +01:00
}
2019-12-14 11:57:14 +01:00
.retweet-info {
2020-10-19 07:20:57 +02:00
margin: 0 0 4px 24px;
2020-10-25 12:36:00 +01:00
overflow-wrap: break-word;
font-size: smaller;
}
.retweet-info>* {
vertical-align: middle;
2019-12-14 11:57:14 +01:00
}
.retweet-info .status-profile-img {
height: 24px;
width: 24px;
2020-10-19 07:20:57 +02:00
min-height: 24px;
min-width: 24px;
max-height: 24px;
max-width: 24px;
2019-12-22 20:43:03 +01:00
vertical-align: middle;
2019-12-14 11:57:14 +01:00
}
2021-05-30 09:03:29 +02:00
textarea {
2019-12-14 18:48:33 +01:00
padding: 4px;
2023-10-01 15:04:07 +02:00
box-sizing: border-box;
width: 644px;
max-width: 100%;
2021-05-30 09:03:29 +02:00
}
.post-content {
2020-10-19 07:20:57 +02:00
width: 100%;
2021-05-30 09:03:29 +02:00
}
.monospace {
font-family: monospace;
2019-12-14 18:48:33 +01:00
}
2019-12-15 07:55:13 +01:00
.pagination {
margin: 12px 4px;
2019-12-15 07:55:13 +01:00
}
.pagination a {
margin: 0 8px;
font-size: large;
}
2021-01-16 19:30:23 +01:00
.notification-container.unread {
border-color: #777777;
}
.notification-container .status-content,
.notification-container .status-reply-container,
.notification-container .status-media-container {
opacity: 0.6;
}
.notification-container.mention .status-content,
.notification-container.mention .status-reply-container,
.notification-container.mention .status-media-container {
opacity: 1;
2020-01-01 10:40:47 +01:00
}
.status-reply-to-link,
.status-reply-link,
.status-reply-text {
font-size: smaller;
2019-12-18 23:14:02 +01:00
}
2020-10-25 12:36:00 +01:00
.status-reply-container {
overflow-wrap: break-word;
position: relative;
2019-12-18 23:14:02 +01:00
}
.status-reply-info-divider {
margin: 0 4px;
}
2019-12-19 17:19:44 +01:00
.user-profile-img-container {
2020-08-22 08:38:59 +02:00
display: inline-block;
2020-11-22 18:40:19 +01:00
margin: 0 4px 4px 0;
}
.user-profile-img-container .img-link {
width: 96px;
overflow: hidden;
}
.user-profile-details-container {
display: inline-block;
vertical-align: top;
}
.user-profile-details-container>div {
margin-bottom: 4px;
}
.user-profile-img {
height: 96px;
width: 96px;
2019-12-22 17:27:49 +01:00
vertical-align: top;
object-fit: contain;
}
.user-profile-description,
2022-05-10 19:34:49 +02:00
.user-fields {
overflow-wrap: break-word;
2020-10-25 12:36:00 +01:00
margin: 8px 0;
}
.user-profile-description p {
2020-10-25 12:36:00 +01:00
margin: 0;
}
.user-profile-description img {
height: auto;
width: auto;
max-height: 240px;
max-width: 280px;
object-fit: contain;
}
.d-inline {
display: inline;
}
.btn-link {
2020-01-30 14:56:29 +01:00
outline: none;
cursor: pointer;
padding: 0;
font-size: inherit;
background: none !important;
border: none !important;
}
a,
.btn-link {
color: #1449af;
2020-01-30 14:56:29 +01:00
text-decoration: none;
}
2020-01-30 14:56:29 +01:00
a:hover,
.btn-link:hover {
color: #4489bf;
}
2019-12-22 04:43:25 +01:00
.btn-link:disabled {
2024-01-17 11:11:17 +01:00
color: #666666;
cursor: unset;
}
*:focus-visible {
outline: 1px solid #000000;
2019-12-22 04:43:25 +01:00
}
2020-01-30 14:56:29 +01:00
.remote-link {
margin-left: 4px;
font-size: smaller;
2019-12-22 04:43:25 +01:00
}
.img-link {
display: inline-block;
2019-12-22 17:27:49 +01:00
}
2019-12-22 05:25:56 +01:00
.status-nsfw-overlay {
background: black;
position: absolute;
top: 0;
2020-10-25 12:36:00 +01:00
bottom: 0;
2019-12-22 05:25:56 +01:00
left: 0;
2020-10-25 12:36:00 +01:00
right: 0;
2019-12-22 05:25:56 +01:00
}
.status-image-container:hover .status-nsfw-overlay,
2019-12-22 05:25:56 +01:00
.status-video-container:hover .status-nsfw-overlay {
display: none;
2019-12-22 04:43:25 +01:00
}
2019-12-22 17:27:49 +01:00
2020-10-19 07:20:57 +02:00
.emoji-item-container {
2021-05-30 09:03:29 +02:00
width: 220px;
2019-12-22 19:10:42 +01:00
display: inline-block;
margin: 4px 4px 0 0;
2021-05-30 09:03:29 +02:00
overflow: hidden;
padding: 4px;
background-color: #f0f0f0;
background-color: #eaeaea99;
2019-12-22 19:10:42 +01:00
}
2020-10-19 07:20:57 +02:00
.emoji-item {
display: flex;
align-items: center;
}
img.emoji {
height: auto;
width: auto;
max-height: 32px;
max-width: 32px;
2020-10-19 07:20:57 +02:00
min-height: 32px;
min-width: 32px;
2019-12-22 19:10:42 +01:00
vertical-align: middle;
2020-10-19 07:20:57 +02:00
object-fit: contain;
2020-10-25 12:36:00 +01:00
margin: 0;
}
2019-12-22 19:10:42 +01:00
.status-dname img.emoji {
height: 20px;
min-height: 20px;
min-width: 20px;
}
.retweet-info>.status-dname img.emoji {
height: 16px;
min-height: 16px;
min-width: 16px;
2019-12-22 19:10:42 +01:00
}
.emoji-shortcode {
2020-10-19 07:20:57 +02:00
margin-left: 4px;
2019-12-22 19:10:42 +01:00
}
2019-12-22 20:43:03 +01:00
.nav-container {
position: relative;
margin-bottom: 4px;
}
.nav-profile-img-container {
position: absolute;
2019-12-22 20:43:03 +01:00
}
.nav-profile-img {
height: 64px;
width: 64px;
2020-01-01 10:40:47 +01:00
vertical-align: middle;
object-fit: contain;
2020-01-01 10:40:47 +01:00
}
.nav-link-container {
margin-left: 72px;
2019-12-24 15:55:05 +01:00
}
nav ul {
list-style: none;
margin: 4px 0;
padding: 0;
2019-12-24 15:55:05 +01:00
}
nav li {
display: inline;
2019-12-24 15:55:05 +01:00
}
.nav-link {
margin-right: 2px;
}
.nav-profile-link {
margin-right: 2px;
font-size: smaller;
2023-10-01 15:04:07 +02:00
}
.user-list-item {
overflow: auto;
2023-09-08 16:38:51 +02:00
margin: 0 0 4px 0;
padding: 4px;
2020-10-19 07:20:57 +02:00
display: flex;
align-items: center;
}
td .user-list-item {
padding: 0;
}
.user-list-profile-img {
margin: 0 8px 0 0;
2019-12-26 10:11:24 +01:00
}
2019-12-27 09:06:43 +01:00
2022-02-11 12:18:02 +01:00
.user-list-action {
margin: 0 12px;
}
.form-field {
margin-bottom: 8px;
2019-12-27 09:06:43 +01:00
}
.form-field-s {
margin-bottom: 4px;
2019-12-27 09:06:43 +01:00
}
2020-01-01 10:40:47 +01:00
.emoji-link {
margin-left: 4px;
}
#reply-popup,
#reply-to-popup {
background-color: #f0f0f0;
border: 1px solid #bababa;
position: absolute;
padding: 4px 8px;
z-index: 3;
margin: 0;
}
2020-01-12 18:16:57 +01:00
2020-02-02 08:24:06 +01:00
.more-container {
position: relative;
display: inline-block;
}
.more-content {
position: absolute;
display: none;
2020-02-02 08:24:06 +01:00
padding: 2px 4px;
2021-09-05 19:04:45 +02:00
z-index: 1;
border: 1px solid #bababa;
2020-02-02 08:24:06 +01:00
}
.more-container:hover .more-content {
display: block;
2020-02-02 08:24:06 +01:00
}
.more-link {
font-size: smaller;
2020-02-02 08:24:06 +01:00
display: block;
margin: 2px;
}
.status-poll {
margin: 4px 0;
2020-10-25 12:36:00 +01:00
overflow: auto;
overflow-wrap: break-word;
}
.page-link {
font-size: large;
2020-10-19 08:06:41 +02:00
}
kbd {
padding: 2px 4px;
background-color: #f0f0f0;
border: 1px solid #bababa;
2021-01-30 17:51:09 +01:00
}
td {
2021-01-30 17:51:09 +01:00
padding: 2px 4px;
}
2021-04-09 14:28:03 +02:00
#img-preview {
pointer-events: none;
z-index: 2;
position: fixed;
}
blockquote {
margin: 4px 20px;
border-left: 2px solid #3e7300;
padding-left: 12px;
2022-01-27 11:53:18 +01:00
}
blockquote,
.quote {
color: #3e7300;
2023-10-01 15:04:07 +02:00
}
.profile-img-container {
margin: 4px 0;
2023-10-01 15:04:07 +02:00
}
.profile-avatar {
height: 96px;
width: 96px;
object-fit: contain;
vertical-align: middle;
2023-10-01 15:04:07 +02:00
}
.profile-banner {
height: 120px;
vertical-align: middle;
2023-10-01 15:04:07 +02:00
}
.block-label {
2023-10-01 15:04:07 +02:00
margin: 0 0 4px 0;
}
.input-w {
2023-10-01 15:04:07 +02:00
width: 320px;
max-width: 100%;
box-sizing: border-box;
}
.follow-request-actions {
margin-top: 4px;
2023-10-01 15:04:07 +02:00
}
.hidden {
display: none;
2020-01-12 18:16:57 +01:00
}
input[type=text],
textarea {
border: 2px solid #bababa;
2020-01-12 18:16:57 +01:00
}
input[type=submit],
button,
select,
input::file-selector-button {
background-color: #eaeaea;
border: 2px solid #bababa;
2020-01-12 18:16:57 +01:00
}
input[type=text]:hover,
textarea:hover {
border: 2px solid #8b8b8b;
}
input[type=submit]:hover,
button:hover,
select:hover,
input::file-selector-button:hover {
background-color: #dfdfdf;
border: 2px solid #8b8b8b;
}
input[type=submit]:active,
button:active,
select:active,
input::file-selector-button:active {
background-color: #cacaca;
}
2024-01-17 11:11:17 +01:00
input[type=submit]:disabled,
button:disabled,
select:disabled,
input:disabled::file-selector-button {
color: #666666;
background-color: #eaeaea;
border: 2px solid #bababa;
}
.dark,
.dark body,
.dark .more-content {
background-color: #0f0f0f;
color: #dcdcdc;
}
.dark .status-container-container,
.dark .notification-container,
.dark .emoji-item-container {
background-color: #181818;
background-color: #1f1f1f99;
2020-01-12 18:16:57 +01:00
}
.dark .status-container-container.highlight {
background-color: #222222;
background-color: #2f2f2f99;
}
.dark #reply-popup,
.dark #reply-to-popup {
background-color: #181818;
}
.dark *:focus-visible {
outline: 1px solid #dcdcdc;
2020-01-30 14:56:29 +01:00
}
2020-02-02 08:24:06 +01:00
.dark #reply-popup,
.dark #reply-to-popup,
2020-02-02 08:24:06 +01:00
.dark .more-content {
border-color: #333333;
2020-02-02 08:24:06 +01:00
}
2020-10-19 08:06:41 +02:00
.dark kbd {
background-color: #181818;
border: 2px solid #333333;
}
.dark blockquote,
.dark .quote {
color: #779c3b;
}
.dark input[type=text],
.dark textarea {
color: #dcdcdc;
background-color: #0c0c0c;
border: 2px solid #333333;
}
.dark .post-content {
background-color: #111111;
}
.dark input[type=submit],
.dark button,
.dark select,
.dark input::file-selector-button {
2024-01-17 11:11:17 +01:00
color: #dcdcdc;
background-color: #242424;
border: 2px solid #333333;
}
.dark input[type=text]:hover,
.dark textarea:hover {
border: 2px solid #555555;
}
.dark input[type=submit]:hover,
.dark button:hover,
.dark select:hover,
.dark input::file-selector-button:hover {
background-color: #2f2f2f;
border: 2px solid #555555;
}
.dark input[type=submit]:active,
.dark button:active,
.dark select:active,
.dark input::file-selector-button:active {
background-color: #3f3f3f;
2020-10-19 08:06:41 +02:00
}
2024-01-17 11:11:17 +01:00
.dark input[type=submit]:disabled,
.dark button:disabled,
.dark select:disabled,
.dark input:disabled::file-selector-button {
color: #666666;
background-color: #242424;
border: 2px solid #333333;
}
.dark a,
.dark btn-link,
.dark input.btn-link {
color: #6090a3;
}
.dark a:hover,
.dark .btn-link:hover {
color: #497091;
}
.dark .btn-link:disabled {
color: #666666;
}