Skip to content

Instantly share code, notes, and snippets.

@jdittrich
Created May 20, 2013 22:20
Show Gist options
  • Save jdittrich/5616061 to your computer and use it in GitHub Desktop.
Save jdittrich/5616061 to your computer and use it in GitHub Desktop.
media wiki css
//hacky way: copy paste to MediaWiki:common.css
/* CSS placed here will be applied to all skins */
ul.wikieditor-toolbar-mytool-recentImagesList{
margin-left:0;
}
ul.wikieditor-toolbar-mytool-recentImagesList li{
list-style: none;
}
ul.wikieditor-toolbar-mytool-recentImagesList li img{
margin: 0 10px 0 10px;
}
div#p-tb ul li#t-upload {
color: #000000;
padding: 6px 16px;
background: -moz-linear-gradient(
top,
#ffffff 0%,
#f5f5f5);
background: -webkit-gradient(
linear, left top, left bottom,
from(#ffffff),
to(#f5f5f5));
background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Noun_project_Upload.svg/16px-Noun_project_Upload.svg.png");
background-position: 90% center;
background-repeat: no-repeat;
background-size: 16px auto;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 4px;
border: 1px solid #8a8a8a;
-moz-box-shadow:
1px 1px 1px rgba(000,000,000,0),
inset -1px -1px 1px rgba(5,5,5,0.3);
-webkit-box-shadow:
1px 1px 1px rgba(000,000,000,0),
inset -1px -1px 1px rgba(5,5,5,0.3);
box-shadow:
1px 1px 1px rgba(000,000,000,0),
inset -1px -1px 1px rgba(5,5,5,0.3);
text-shadow:
-1px -1px 0px rgba(255,255,255,0),
1px 1px 0px rgba(125,125,125,0);
margin-left:-18px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment