Created
December 5, 2022 14:49
-
-
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.
This file contains hidden or 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
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; | |
} |
This file contains hidden or 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
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} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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列だけにするといい感じになるようにデザインしています。
ホームレイアウトにしたりウィジェットをおいたりすると激しく崩れることが予想されるのでお気をつけください。