MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(9 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 */ | ||
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 { | #spacestatus { | ||
width: 80px; | width: 80px; | ||
position: relative; | position: relative; | ||
top: - | top: -20px; | ||
left: 43px; | left: 43px; | ||
border-radius: 3px; | border-radius: 3px; | ||
Line 25: | Line 46: | ||
#spacestatus.closed { | #spacestatus.closed { | ||
opacity: 1; | opacity: 1; | ||
background: | background: lightgray; | ||
color: | 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); } }