Advertisement
Guest User

bottom centered upload button for MediaWiki

a guest
Oct 27th, 2022
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.53 KB | Source Code | 0 0
  1. /* show "read" tab on MonoBook */
  2. body.skin--responsive #p-cactions li#ca-view,#ca-view { display: inline; }
  3.  
  4. /* highlight upload button */
  5. #n-uploadbtn {
  6.   background-color: green;
  7.   background-image: linear-gradient(lightgreen,green);
  8.   border-radius: 10px;
  9.   padding-left: 1em;
  10. }
  11. #n-uploadbtn a { color: white; }
  12.  
  13. /* unneeded */
  14. #t-ajaxquickdelete { display: none; }
  15.  
  16. /* bottom centered upload button */
  17. #n-uploadbtn {
  18.     position: fixed;
  19.     left: 50%;
  20.     bottom: 1em;
  21.     list-style: none;
  22.     padding-right: 1em;
  23.     z-index: 2;
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement