Skip to content

Instantly share code, notes, and snippets.

@hidao80
Created December 5, 2022 14:49
Show Gist options
  • Save hidao80/c0ccb5f51966754d0deb4116ff2b1a7b to your computer and use it in GitHub Desktop.
Save hidao80/c0ccb5f51966754d0deb4116ff2b1a7b to your computer and use it in GitHub Desktop.
This css changes the deck layout of Misskey v11 to an RSS reader-like layout.
article div.main {
display: flex;
}
article div.body {
margin-left: 0.5rem;
margin-right: auto;
}
article div.text p, article div.text span, article div.text br {
content: attr(text);
}
article div.files {
display: inline-block !important;
max-width:300px;
width:100px;
}
article div.mk-reactions-viewer {
height: 100%;
}
article div.info {
margin: 0 !important;
}
article span.reaction {
height: 100% !important;
}
article footer {
display: flex;
}
article footer button {
margin: 0 !important;
}
article {
padding-top: 3px !important;
}
article div.mk-url-preview {
display: none;
}
article div.main,article footer{display:flex}article div.body{margin-left:.5rem;margin-right:auto}article div.text br,article div.text p,article div.text span{content:attr(text)}article div.files{display:inline-block!important;max-width:300px;width:100px}article div.info,article footer button{margin:0!important}article div.mk-reactions-viewer,article span.reaction{height:100%!important}article{padding-top:3px!important}article div.mk-url-preview{display:none}
@hidao80
Copy link
Author

hidao80 commented Dec 5, 2022

Misskey v11 and deck layout designed to look good with only one row.
Please be aware that if you use the home layout or put widgets on it, it is expected to be broken violently.

Misskey v11かつデッキレイアウトで1列だけにするといい感じになるようにデザインしています。
ホームレイアウトにしたりウィジェットをおいたりすると激しく崩れることが予想されるのでお気をつけください。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment