mirror of
https://github.com/mastodon/mastodon
synced 2024-12-23 02:58:16 +09:00
bd21afb5ed
on status fade-in, fix buttons not having pointer cursor
64 lines
1.1 KiB
SCSS
64 lines
1.1 KiB
SCSS
body {
|
|
font-family: 'mastodon-font-sans-serif', sans-serif;
|
|
background: $ui-base-color url('../images/background-photo.jpg');
|
|
background-size: cover;
|
|
background-attachment: fixed;
|
|
font-size: 13px;
|
|
line-height: 18px;
|
|
font-weight: 400;
|
|
color: $primary-text-color;
|
|
padding-bottom: 140px;
|
|
text-rendering: optimizelegibility;
|
|
font-feature-settings: "kern";
|
|
text-size-adjust: none;
|
|
|
|
&.app-body {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
background: $ui-base-color;
|
|
}
|
|
|
|
&.embed {
|
|
background: transparent;
|
|
margin: 0;
|
|
|
|
.container {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
&.admin {
|
|
background: darken($ui-base-color, 4%);
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0;
|
|
}
|
|
|
|
@media screen and (max-width: 360px) {
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.app-holder {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|