MediaWiki:Common.css: Difference between revisions

From Makerpedia

GiseleN (talk | contribs)
made big blue button image smaller and white
GiseleN (talk | contribs)
updated big blue button image
Line 29: Line 29:
.big-edit-button {
.big-edit-button {
   position: fixed;
   position: fixed;
   bottom: 5vh;
   bottom: 2vh;
   right: 5vh;
   right: 2vh;
   z-index: 100;
   z-index: 100;
   background-color: var(--medik);
   background-color: var(--medik);
   color: white;
   color: white;
  border: 2px solid black;
   border-radius: 5em;
   border-radius: 3em;
   padding: 1em 1.5em;
   padding: 1em 1.5em;
   font-size: 130%;
   font-size: 130%;
}
}


.big-edit-button img {
.big-edit-button p {
  margin: 0em;
}
 
.big-edit-button p::before {
  background-image: url("images/icons/edit.svg");
  background-repeat: no-repeat;
  content: '';
  display: inline;
  background-size: 2em;
  padding: .5em 1em;
   filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(141deg) brightness(103%) contrast(101%);
   filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(141deg) brightness(103%) contrast(101%);
  height: 2em;
  width: 2em;
  padding-right: .5em;
}
}

Revision as of 20:55, 1 February 2025

/* CSS placed here will be applied to all skins */

.cautionBox {
  border: 1px solid #ddcc55;
  background-color: #ffedaa;
  padding: 1em;
  border-radius: .5vmin;
}

.warningBox {
  border: 1px solid #dd5555;
  background-color: #ffaaaa;
  padding: 1em;
  border-radius: .5vmin;
}

.introBox {
  border: 2px solid #f505f5;
  background-color: #c2cbde;
  border-radius: .5vmin;
  padding: 1em;
  padding-top: .25em;
}

.ytplayer {
  max-width: 90vw;
}

.big-edit-button {
  position: fixed;
  bottom: 2vh;
  right: 2vh;
  z-index: 100;
  background-color: var(--medik);
  color: white;
  border-radius: 5em;
  padding: 1em 1.5em;
  font-size: 130%;
}

.big-edit-button p {
  margin: 0em;
}

.big-edit-button p::before {
  background-image: url("images/icons/edit.svg");
  background-repeat: no-repeat;
  content: '';
  display: inline;
  background-size: 2em;
  padding: .5em 1em;
  filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(141deg) brightness(103%) contrast(101%);
}