MediaWiki:Common.css

From Hackerspace Amersfoort
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

input,
textarea,
select,
button {
    color: black;
    background-color: white;
}

.mw-body {
    background-color: rgba(255,255,255,0.7);
}
body {
    background-color: white !important;
    background-image: url('https://bitlair.nl/images/3/3a/Bg.png')
}
#mw-page-base {
    background-image: linear-gradient(#f6f6f6 50%, rgba(255,255,255,0) 100%);
}


/* Space state gerelateerd */
#spacestatus {
    width: 80px;
    position: relative;
    top: -20px;
    left: 43px;
    border-radius: 3px;
    text-align: center;
    box-shadow: rgba(100,100,100,.6) 2px 2px 5px;
    transform: rotate(-5deg);
    animate: ;
}

#spacestatus.open {
    opacity: 1;
    background: lime;
    color: black;
}

#spacestatus.open:before {
    content: "nu open!";
}

#spacestatus.closed {
    opacity: 1;
    background: lightgray;
    color: black;
}

#spacestatus.closed:before {
    content: "momenteel gesloten";
}

/* very important */
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}