white background and round avatars.
May be combined with other userstyles
mastodon.social - white background and round avatars 19.11.2022, 14:30:47 by manniac
Details
Authormanniac
LicenseNo License
Categorymastodon.social -> userstyles
Created
Updated
Size11 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link./* ==UserStyle==
@name mastodon.social - 19.11.2022, 14:30:47
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Mastodon, nur in Weiss und mit runden Avataren
@author Manniac
==/UserStyle== */
@-moz-document regexp("https?:\\/\\/(octodon|mastodon)\\.social\\/.*") {
:root {
--avatar-size: 48px;
}
.status__avatar,
.notification-follow .account__avatar,
.conversation__avatar .account__avatar-composite,
.navigation-bar .account__avatar,
.account__avatar-overlay {
width: var(--avatar-size) !important;
height: var(--avatar-size) !important;
/* background-size: var(--avatar-size) var(--avatar-size) !important;*/
}
.status__avatar {
position: absolute;
left: 10px;
top: 10px;
}
.status__prepend + .status .status__avatar,
.status-reply .status__avatar {
top: 40px;
}
.status > .status__info,
.status > .status__content,
.status > .status__action-bar {
margin-left: calc(var(--avatar-size) + 10px);
}
.status > .status__content {
margin-top: 0px !important;
}
.status__avatar .account__avatar {
width: var(--avatar-size) !important;
height: var(--avatar-size) !important;
background-size: var(--avatar-size) var(--avatar-size) !important;
}
.status__avatar {
box-shadow: 0 0 0 2px #fff;
}
.account__avatar-overlay .account__avatar-overlay-base,
.account__avatar-overlay .account__avatar-overlay-base .account__avatar {
width: calc(var(--avatar-size) * 0.75) !important;
height: calc(var(--avatar-size) * 0.75) !important;
background-size: calc(var(--avatar-size) * 0.75) calc(var(--avatar-size) * 0.75) !important;
}
.account__avatar-overlay .account__avatar-overlay-overlay,
.account__avatar-overlay .account__avatar-overlay-overlay .account__avatar {
width: calc(var(--avatar-size) * 0.5) !important;
height: calc(var(--avatar-size) * 0.5) !important;
background-size: calc(var(--avatar-size) * 0.5) calc(var(--avatar-size) * 0.5) !important;
}
.status__content {
font-size: 14px;
line-height: 1.4;
}
.column-link,
.column-header {
font-size: 14px;
}
.column-link,
.column-header button {
padding: 10px;
}
.column-header__buttons {
height: 32px;
}
:is(.drawer--header, .drawer__header) > a {
height: 38px;
padding-top: 0;
padding-bottom: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
:is(.drawer--header, .drawer__header) > a > i {
font-size: 12px;
}
.column-subheading {
padding-left: 15px;
padding-right: 15px;
}
@media screen and (max-width: 1280px) {
.columns-area > .drawer {
flex-grow: 1;
width: auto;
}
}
.search input.search__input {
padding-top: 10px;
padding-bottom: 10px;
}
.search__icon .fa {
top: 10px;
}
.search__icon .fa-times-circle {
top: 12px;
}
.status__content blockquote,
.status__content p,
.status__content pre {
margin-bottom: 12px;
}
.composer--reply > .content blockquote,
.composer--reply > .content p,
.composer--reply > .content pre {
margin-bottom: 8px;
}
.composer--reply {
font-size: 12px !important;
padding-bottom: 0px;
}
.composer--reply,
.compose-form .reply-indicator__content {
font-size: 12px;
line-height: 1.28;
}
.composer--reply .display-name.inline {
height: auto;
font-size: 13px;
}
.composer--reply > .content {
margin-top: 0;
}
body.flavour-glitch .status__prepend {
margin-top: -7px;
}
.status__prepend,.notification__message {
font-size: 13px;
padding: 4px 0 0px;
margin-left: calc(var(--avatar-size) - 6px);
margin-bottom: -6px;
color: #536471;
font-weight:700;
}
.notification__display-name, .status__prepend .status__display-name, .status__prepend .status__display-name strong {
font-size: 13px;
color: #536471;
font-weight:700;
}
.status__action-bar-button.icon-button {
font-size: 14px !important;
line-height: 1 !important;
width: 1em !important;
}
.status__relative-time {
font-size: 12px;
}
@media screen and (min-width: 631px) {
.drawer:first-child {
padding-left: 5px;
}
.column,
.drawer {
flex: 0 0 auto;
padding: 5px 3.5px;
}
}
.account__section-headline a,
.account__section-headline button,
.notification__filter-bar a,
.notification__filter-bar button {
padding: 10px 0;
font-size: 12px;
}
.account__section-headline a.active::after,
.account__section-headline a.active::before,
.account__section-headline button.active::after,
.account__section-headline button.active::before,
.notification__filter-bar a.active::after,
.notification__filter-bar a.active::before,
.notification__filter-bar button.active::after,
.notification__filter-bar button.active::before {
bottom: -4px;
}
.account__section-headline a.active::after,
.account__section-headline button.active::after,
.notification__filter-bar a.active::after,
.notification__filter-bar button.active::after {
bottom: -5px;
}
.status {
padding: 7px 10px;
}
.composer--reply > .content {
padding-left: 0;
padding-right: 0;
}
.notification__message,
:is(.status__info),
:is(.status__info) .status__display-name {
font-size: 13px;
}
:is(.status__info) {
margin-bottom: 0;
}
:is(.status__info) > span {
margin-right: 3px;
}
:is(.status__info),
:is(.status__info) > span,
:is(.status__info) > span > div,
:is(.status__info) > span > div > .status__display-name,
:is(.status__info) > span > div > .status__display-name > span,
:is(.status__info, .status__prepend) > span > div > .status__display-name > span > * {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
:is(.status__info, .status__prepend) > span > div > .status__display-name > span > *:first-child {
flex-shrink: 0;
}
.status__info__account .display-name,
.status__info .status__display-name .display-name {
display: flex;
gap: 4px;
}
.app-body:not(.flavour-glitch) :is(.compose-form, .navigation-bar) {
padding: 10px;
}
.app-body:not(.flavour-glitch) :is(.column, .drawer):not(:first-child) {
width: 330px;
flex: 0 0 auto;
padding: 5px 3.5px;
}
.app-body:not(.flavour-glitch) .status__relative-time {
height: auto;
}
.app-body:not(.flavour-glitch) .status-reply .status__avatar {
top: 10px;
}
.app-body:not(.flavour-glitch) .status__prepend + .status-reply .status__avatar {
top: 40px;
}
/*@media screen and (max-width: 1174px) */
.ui__header {
background: #ffffff;
border-bottom: 1px solid #eeeeee;
}
.columns-area__panels__pane--navigational .navigation-panel {
background: #fff;
border-left: 1px solid #fff;
}
.flex-spacer, .getting-started, .getting-started__wrapper {
background: #ffffff;
}
body {
background: #ffffff;
}
.tabs-bar__wrapper {
background: #fff;
}
.compose-panel hr, .navigation-panel hr {
flex: 0 0 auto;
border: 0;
background: transparent;
border-top: 1px solid #eee;
margin: 10px 0;
}
.status {
min-height: 0;
border-bottom: 1px solid #eee;
cursor: auto;
opacity: 1;
animation: fade .15s linear;
}
.column-inline-form, .column>.scrollable, .error-column, .getting-started, .regeneration-indicator {
background: #fff;
border: 1px solid #eee;
border-top: 0;
}
.column-back-button, .column-header {
background: #fff;
border: 1px solid #eee;
}
.account__section-headline button, .notification__filter-bar button {
background: #fff;
border: 0;
margin: 0;
}
.notification__filter-bar {
border: 1px solid #eee;
border-top: 0;
}
.account__section-headline, .notification__filter-bar {
background: #fff;
border-bottom: 1px solid #eee;
}
.account {
padding: 8px 16px 8px 11px;
border-bottom: 1px solid #eee;
}
/* Avatare */
.account__avatar img {
border-radius: 9999px;
border-top-left-radius: 9999px;
border-top-right-radius: 9999px;
border-bottom-right-radius: 9999px;
border-bottom-left-radius: 9999px;
}
.account__header__bar .avatar .account__avatar {
border-top-left-radius: 9999px;
border-top-right-radius: 9999px;
border-bottom-right-radius: 9999px;
border-bottom-left-radius: 9999px;
left:2px;
border-color: #fff;
}
.account__header__bar .avatar .account__avatar {
border: 2px solid #fff;
}
.status__content__read-more-button {
display: block;
font-size: 12px;
line-height: 15px;
color: #b7b7b7;
border: 0;
background: transparent;
padding: 2px 0 0;
text-decoration: none;
}
.media-gallery {
margin-left: calc(var(--avatar-size) + 10px);
margin-top: 8px;
border-radius: 4px;
width: 500px;
min-height: 64px;
}
.media-gallery img {
/* object-fit: contain; */
}
.video-player {
margin-left: calc(var(--avatar-size) + 10px);
width: 500px;
}
.status-card.compact {
margin-left: calc(var(--avatar-size) + 10px);
}
/* Fonts */
body,.reply-indicator__content, .status__content {
font: 15px Roboto, TwitterChirp, -apple-system, BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
color: rgb(83,100,113);
font-weight:400;
line-height:20px
}
:is(.account__display-name, .status__display-name) strong {
font-family: Roboto, TwitterChirp, -apple-system, BlinkMacSyste...