Skip to content

Instantly share code, notes, and snippets.

@hasitanai
Last active December 20, 2017 11:04
Show Gist options
  • Save hasitanai/44bd1993f209d2d7585a3b3fd49ed4f2 to your computer and use it in GitHub Desktop.
Save hasitanai/44bd1993f209d2d7585a3b3fd49ed4f2 to your computer and use it in GitHub Desktop.
/*レイアウト変更*/
.drawer {
height : 320px !important ;
width : 320px !important ;
}
.column {
flex: 1 1 0 !important;
}
.wide .drawer {
flex: 1 1 0;
min-width: 0px;
max-width: 320px;
}
.wide .column {
flex: 1 1 0;
min-width: 0px;
max-width: None;
}
div.column-icon.collapsable + div {
overflow: scroll !important;
}
@media (min-width:2560px) {
.drawer, .column {
margin: 0; height: 100vh;
}
}
.column:nth-child(2) {
width : 320px !important ;
flex: 1 1 0 !important;
position : fixed !important ;
top : 320px !important ;
padding-left : 10px !important ;
bottom : 0px !important ;
padding-top : 0px !important ;
padding-bottom : 10px !important ;
}
.wide .column:nth-child(2) {
flex: 1 1 0;
min-width: 0px;
max-width: 320px;
}
.notification__message,
.muted .status__content a,
.muted .status__content p,
.muted .status__display-name strong {
font-size: 0.8em;
}
.status{
padding: 6px;
}
.status__info {
margin: 2px 0 2px;
font-size: 13px;
}
.status__action-bar {
margin: 0px 0px;
}
.status__display-name{
font-size: 1em;
}
/*トゥート欄をスムーズにした*/
.autosuggest-textarea__textarea {
min-height: 20px;
}
.compose-form__buttons {
padding: 5px;
}
.compose-form__publish-button-wrapper{
position : fixed !important ;
top : 0px !important ;
}
.character-counter {
cursor: default;
font-size: 15px;
position: fixed !important;
top: 41px;
right: 5px;
margin-right: 5px;
}
/*非公開色分け*/
.status-private { background: rgba(0,0,40,.2);
}
/*未収載色分け*/
.status-unlisted { background: rgba(40,40,00,.2);
}
@font-face {
font-family: 'test';
src:url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Light.woff2) format('woff2'),
url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Light.woff) format('woff'),
url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Light.otf) format('opentype');
}
body {
font-family: 'test' !important;
}
.status__content {
font-family: 'test', sans-serif;
font-size: 16px;
margin: 0 0
}
.status {
padding: 2px;
padding-left: 68px;
}
.status__info {
margin: 2px 0 2px;
font-size: 13px;
}
.status__action-bar {
margin: 2px 2px;
}
.status__display-name{
font-size: 1em;
}
.notification__message {
padding: 2px;
font-size: 12px;
}
.drawer { width: 320px !important;
}
.column { flex: 1 1 0 !important;
}
div.column-icon.collapsable + div { overflow: scroll !important;
}
@media (min-width:2560px) { .drawer, .column { margin: 0; height: 100vh;
}
}
/*非公開色分け*/
.status-private { background: rgba(0,0,40,.2);
}
/*未収載色分け*/
.status-unlisted { background: rgba(40,40,00,.2);
}
.status a:not([href^="https://friends.nico/"]) .display-name:before {
content: '【連合】';
}
.status a[href*=".m.to/"] .display-name:before {
color: #AA0;
content: '【m.to】';
}
.status a[href^="https://knzk.me/"] .display-name:before {
color: #F00;
content: '【神崎】';
}
.status a[href^="https://mstdn.jp/"] .display-name:before {
color: #A00;
content: '【JP】';
}
.status a[href^="https://pawoo.net/"] .display-name:before {
color: #0AF;
content: '【Pawoo】';
}
/*
.account__avatar-overlay-base,.account__avatar-overlay-overlay,.account__avatar {
background-image: url(//d2zoeobnny43zx.cloudfront.net/accounts/avatars/000/032/998/original/1a77a7bb898eae14.png) !important;
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment