Skip to content

Instantly share code, notes, and snippets.

@dev-techmoe

dev-techmoe/README.md

Last active Aug 31, 2017
Embed
What would you like to do?
thin_vector

thin_vector

某个下午没事闲的写的mediawiki vector的一个userstyle

#mw-panel {
display: none;
}
#mw-navigation #mw-head {
width: 1050px;
margin: 0 auto;
left: 0;
}
#mw-navigation #mw-head #left-navigation {
margin-left: 0;
}
#mw-navigation #mw-head #p-search {
margin-right: 0;
}
#mw-navigation #p-personal {
right: 0;
}
#content.mw-body {
width: 1000px;
margin: 0 auto;
border-right-width: 1px;
}
#content.mw-body #mw-content-text {
position: relative;
}
#content.mw-body #mw-content-text #toc {
position: fixed;
left: calc(100% - 235px);
top: 40%;
opacity: 0.9;
}
#footer {
width: 1000px;
margin: 0 auto !important;
}
#mw-panel {
display: none;
}
#mw-navigation {
#mw-head {
width: 1050px;
margin: 0 auto;
#left-navigation {
margin-left: 0;
}
#p-search {
margin-right: 0;
}
left: 0;
}
#p-personal {
right: 0;
}
}
#content.mw-body{
width: 1000px;
margin: 0 auto;
border-right-width: 1px;
#mw-content-text {
position: relative;
#toc {
position: fixed;
left: calc(~"100% - 235px");
top: ~"40%";
opacity: 0.9;
}
}
}
#footer {
width: 1000px;
margin: ~"0 auto" !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.