xenua's userstyles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

139 lines
3.5 KiB

/* ==UserStyle==
@name mastodon 4 ui tweaks
@namespace mastodon4
@version 1.0.2
@description fixes the weird spacing on the new mastodon web ui. intended for the advanced user interface, may also work with the single column one.
@author xenua
@license CNPLv7+
==/UserStyle== */
@-moz-document domain("chaos.social") {
/* mastodon 4 ui tweaks that go hard maybe */
/* optional features at the bottom */
/* compact, space-optimized timeline look */
.status__prepend {
padding-top: 8px;
}
.status, .detailed-status {
padding: 8px 0;
}
.status > *, .detailed-status > * {
padding: 0 12px;
}
.status > .status__content, .detailed-status > .status__content {
padding: 0 16px;
}
.status > .media-gallery, .detailed-status > .media-gallery {
padding: 0 !important;
}
.media-gallery {
margin-top: 12px !important;
}
.status__action-bar {
margin-top: 8px;
padding: 0 20px;
}
.conversation .status__action-bar {
padding: 0;
}
.detailed-status > .detailed-status__meta {
margin-top: 12px;
padding: 0 16px;
}
.status__info {
margin-bottom: 12px;
}
.detailed-status__display-name {
margin-bottom: 12px;
}
.notification > .notification__message {
padding: 8px 8px 0 8px;
}
/* change the pm symbol back to what it should be */
.fa-at::before {
content: "";
}
/* it's the toot button and that will never ever change */
.compose-form__publish-button-wrapper > button::before {
content: "Toot";
font-size: 15px;
}
.compose-form__publish-button-wrapper > button {
font-size: 0px;
padding-bottom: 2px;
}
/* speaking of toot button, it might as well be wide */
.compose-form__publish-button-wrapper {
width: 100%;
}
/* consistent spacing in some ui elements */
.compose-form, .navigation-bar, .reply-indicator, .search-input, .link-footer {
padding: 8px;
}
/* spoiler image button less intrusive */
.icon-button.overlayed {
background: rgba(0,0,0,.4) /* default rgba(0,0,0,.6) */
}
/* rainbow toot button on hover because you're about to send something incredible */
.compose-form__publish-button-wrapper:hover {
animation: 4s linear 0s infinite rainbowfade;
}
/* rainbow boost button */
.icon-button.active i.fa-retweet {
animation: 4s linear 0s infinite rainbowfade;
}
@keyframes rainbowfade {
from {
filter: hue-rotate(0deg) saturate(1) brightness(1.1);
}
to {
filter: hue-rotate(360deg) saturate(1) brightness(1.1);
}
}
/*========
misc stuff
========*/
/* hide follow request indicator */
/*
.column-link[title="Follow requests"] > .column-link__badge {
display: none;
}
*/
/* disable clicking on it as well */
/*
.column-link[title="Follow requests"] {
pointer-events: none;
}
*/
/*enlarge custom emoji on hover*/
/*
.emoji-mart-emoji:hover > * {
height: 34px !important;
width: 34px !important;
}
.emoji-mart-emoji:hover {
width: 34px !important;
height: 34px !important;
padding: 0 !important;
}
:not(.emoji-button) > .emojione:hover {
width: 34px !important;
height: 34px !important;
}
*/
}