Last active
August 29, 2018 03:55
-
-
Save markphilpot/a45bd301ff7432cec7a3d746b3776021 to your computer and use it in GitHub Desktop.
Mastodon CSS Customization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.reply-indicator__content p, .status__content p { | |
font-size: 13px; | |
} | |
.column-link { | |
font-size: 14px !important; | |
} | |
.display-name { | |
font-size: 13px; | |
} | |
.notification__message { | |
font-size: 13px !important; | |
} | |
.getting-started { | |
display: none; | |
} | |
/** | |
Variable width | |
*/ | |
@media (min-width: 1000px) { | |
.columns-area>div { | |
width: 25%; | |
max-width: 25%; | |
} | |
.columns-area>div>.column, .columns-area>div>.mastodon-column-container>.column { | |
width: 100%; | |
} | |
} | |
/* From https://raw.githubusercontent.com/rmlewisuk/better-mastodon/gh-pages/styles/misc.css */ | |
/** | |
Make DMs a different colour | |
*/ | |
.status.status-direct { | |
background: #4f3939!important; | |
} | |
.status.status-direct.muted { | |
background: transparent!important; | |
} | |
/** | |
Make @ mentions a different colour | |
NB: as of right now, there's no way to target | |
them in the main feed column so this only changes | |
the colour in the notifications column | |
*/ | |
.column:nth-of-type(3) .status.status-public { | |
background: #353F36!important; | |
} | |
.column:nth-of-type(3) .status.status-public.muted { | |
background: transparent!important; | |
} | |
/* need this so names are readable with highlight */ | |
.status__display-name, | |
.status__prepend .status__display-name strong { | |
color: #c2c2c2!important; | |
} | |
/** | |
Collapse boosts and favourite notifications | |
*/ | |
.notification-favourite .status__content, | |
.notification-reblog .status__content { | |
height: 20px!important; | |
margin-right: 10px!important; | |
} | |
.notification-favourite .status__content p, | |
.notification-reblog .status__content p { | |
white-space: nowrap!important; | |
overflow: hidden!important; | |
text-overflow: ellipsis!important; | |
min-width: 0!important; | |
} | |
.notification-favourite .display-name, | |
.notification-reblog .display-name { | |
display: none!important; | |
} | |
/** | |
Hide the elephant | |
*/ | |
.drawer__inner__mastodon { | |
display: none; | |
} | |
/** | |
Warn when image description | |
is missing | |
*/ | |
.compose-form .compose-form__modifiers .compose-form__upload-description { | |
opacity: 1!important; | |
} | |
.compose-form__upload-description input:placeholder-shown::placeholder { | |
background: #F03434!important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment