Skip to content

Instantly share code, notes, and snippets.

@Envl
Last active July 27, 2020 13:05
Show Gist options
  • Save Envl/7f6cca44f4e4f552c3ae2dc6a0c486e4 to your computer and use it in GitHub Desktop.
Save Envl/7f6cca44f4e4f552c3ae2dc6a0c486e4 to your computer and use it in GitHub Desktop.
在 Stylus 之类的插件里把样式应用到以 https://web.okjike.com/ 开头的 URL 就行了
.cMxGlg {
padding: 0;
}
.cMxGlg article {
/* background: red!important; */
border-radius: 0;
padding: .8rem 1rem 0;
/* margin:0; */
}
/* new msg notifier */
.fIkkZz {
position: sticky;
z-index: 9999;
top: 60px;
border-radius: 50px;
width: 60%;
margin: auto;
}
.fIkkZz > button {
background: #1a91da;
color: white;
font-weight: bold;
}
/* retweet content */
.dAqjrc {
position: relative;
padding: 12px;
}
/* /圈子/ */
.ilQTSj {
position: absolute;
bottom: -6px;
right: 10px;
/* font-size:.8rem !important; */
}
/* post meta */
.hCQcXB > div:first-child {
flex-direction: row;
align-items: baseline;
}
.dQvWDX {
margin-right: 1rem;
}
/* post content */
.hLZrXe {
padding-top: 0px;
}
/* text content in post */
.hLZrXe > div:first-child {
margin-bottom: 8px !important;
}
/* image container of the post*/
.hLZrXe > div:nth-child(2) > div {
max-height: 90px;
}
.hLZrXe > div:last-child > div:first-child > div {
display: flex;
}
/* image/video item */
.hLZrXe > div:last-child > div:first-child > div > div {
max-height: 90px !important;
height: 90px;
flex: 5;
}
.hLZrXe > div:last-child > div:first-child > div > div:nth-child(3) ~ div {
flex: 2;
}
.hLZrXe > div:last-child > div:first-child > div > div:hover {
/* width: 2000px; */
}
/* controls */
.bseKGM {
justify-content: space-between;
flex-direction: row;
align-items: center;
border: solid 1px #ccc;
border-width: 0 0 1px;
padding-bottom: .5rem;
}
.bseKGM > a {
/* padding:auto; */
order: 1;
margin: 3px 0 0;
}
/* post btns */
.kVrFww {
margin: 0;
}
.kVrFww > div {
font-size: .4rem;
min-width: 80px;
}
.kVrFww > div svg {
width: 1.2rem;
height: 1.2rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment