MediaWiki:Common.css: Difference between revisions

From Hackerspace Amersfoort
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: #spacestatus { position: relative; top: -32px; left: 43px; border-radius: 3px; width: 80px; text-align: center; transform: ...")
 
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


#spacestatus { position: relative; top: -32px; left: 43px; border-radius: 3px; width: 80px; text-align: center; transform: rotate(-5deg); position: relative; top: -32px; left: 43px; box-shadow: rgba(100,100,100,.6) 2px 2px 5px; animate: }
input,
#spacestatus.open { opacity: 1; background: lime; color: black; }
textarea,
#spacestatus.closed { opacity: 1; background: red; color: white; }
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); }
}

Latest revision as of 20:19, 15 December 2019

/* 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); }
}