Gitea-Modern/misskey/tweaks/better-mobile-support.css

77 lines
1.8 KiB
CSS
Raw Normal View History

/*** BETTER MOBILE SUPPORT ***/
.mk-app.isMobile main.main.main {
--margin: 0px;
margin-top: 50vh !important;
}
.mk-app.isMobile main.main.main::before,
.mk-app.isMobile main.main.main::after {
content: unset !important;
}
.mk-app.isMobile main.main.main [style="padding: 12px;"] {
padding: 0 !important;
margin: 0 !important;
width: 100% !important;
}
.mk-app.isMobile main.main.main [style="padding: 12px;"] ._block {
border-radius: 0 !important;
}
.mk-app.isMobile .fdidabkb {
position: fixed;
top: unset;
bottom: 65px;
left: 10px;
right: 10px;
width: unset !important;
border-radius: var(--radius);
border: 0;
padding-left: 20px;
z-index: 1001;
--height: 50px;
}
.mk-app.isMobile .fdidabkb .titleContainer {
margin-left: 0;
}
.mk-app.isMobile .fdidabkb .titleContainer .icon {
margin-left: 0 !important;
}
.mk-app.isMobile .fdidabkb .titleContainer .title {
margin: 0;
display: flex;
align-items: flex-end;
flex-grow: 1;
margin-right: 10px;
}
.mk-app.isMobile > .buttons {
padding: 0 !important;
background: linear-gradient(transparent, var(--bg)) !important;
height: 120px;
align-items: flex-end;
border: 0 !important;
backdrop-filter: none !important;
}
.mk-app.isMobile > .buttons button {
margin: 0 !important;
background: none !important;
height: 70px !important;
}
.mk-app.isMobile > .buttons button i {
font-size: 18px !important;
}
.mk-app.isMobile > .ccczpooj {
animation: none !important;
}
.mk-app.isMobile ._popup {
position: fixed;
bottom: 0;
left: 0;
right: 0;
top: unset !important;
max-height: 400px;
overflow-y: scroll;
scrollbar-width: none;
border-radius: var(--radius) var(--radius) 0 0 !important;
animation: none !important;
}
.mk-app.isMobile ._popup button {
padding: 12px 16px;
}