-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathweather.min.css
13 lines (13 loc) · 5.14 KB
/
weather.min.css
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
* ___ ___ ___ __ __ __ __
* | | |__ /\ | |__| |__ |__) / ` /__` /__`
* |/\| |___ /~~\ | | | |___ | \ .\__, .__/ .__/
*
* Minecraft weather effects with pure CSS
* © Copyright 2014 Moritz Marquardt
*
* https://github.com/moqmar/weather.css
*
* Licensed under MIT License (http://opensource.org/licenses/MIT)
*/
.weather{position:relative;overflow:hidden}.weather:after,.weather:before{content:"";position:absolute;left:-50%;top:-50%;right:-50%;bottom:-50%;z-index:1;pointer-events:none;background:0 0;background-size:256px 1024px;-ms-interpolation-mode:nearest-neighbor;image-rendering:-webkit-optimize-contrast;image-rendering:-webkit-crisp-edges;image-rendering:-moz-crisp-edges;image-rendering:-o-crisp-edges;image-rendering:pixelated;opacity:.7;-webkit-transform:rotate(10deg);-moz-transform:rotate(10deg);-ms-transform:rotate(10deg);-o-transform:rotate(10deg);transform:rotate(10deg);-webkit-animation-name:weather;-webkit-animation-timing-function:linear;-webkit-animation-iteration-count:infinite;animation-name:weather;animation-timing-function:linear;animation-iteration-count:infinite}.weather:after{opacity:.8;-webkit-animation-name:weather2;animation-name:weather2}.weather.rain:after,.weather.rain:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAEACAYAAAADRnAGAAAH6klEQVR42u2dS4wURRjHq2p2BrMIrCsePLAS0BsEY6IJyTY7vBqXGBl5KCgIywK92Y2BFTyAJmqMezFeVIytHjQQOUAUiRG3edPrbuBiiF68GKInE9iXq7i7M1UeQJ0dZnr7Uf2o/r7fjRmmt/vf/6/qq66urwgpQzds8fyrV2cTCeiGXQjyfS02H7zyHpEIq/zgi7efGJV0bFH5wQuvXd3r9L1L/gxVAIkMVX6QzbJxp+9dckMJASxTu1z52eQkH3P63iWTZWG0MskOIFUcMBE4rgQZDu0EdcMWRCF0w14KWgApbYB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TAQt0lof2AFuC6UKEko90aBbd9FAAlimdt11oVQh/5UZy9SuBfl9ecEH5je2GHO5DoAmb+MFSmmulgO8xNaQSweEOjDy2SA21BKg5MEBIzVOaOrzBSrCHhj5aRCrN4IeY2u8RnxOKZZUV5cNe2Dkp0G8VfuOAWDlrovHCIIgYFm+83yXjOGwsggh/kYbIAqSbzu3SfYxlWoDOOe5KknNAjACMMbuylrPfZr/RQkBZKTcnPP6Kg5YFOSY/wBRWmBLYfog4AAAAABJRU5ErkJggg==);-webkit-animation-duration:2s;animation-duration:2s}.weather.rain:after{-webkit-animation-duration:1.5s;animation-duration:1.5s}.weather.snow:after,.weather.snow:before{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAEACAYAAAADRnAGAAABKklEQVR42u3cQQ7CMAwEwJj//zk9VULqDSonjmc+QNNubScgxihkzjlHV/fi3QQAAACbHjtIO0gJEMH/riWyPjAiYpfFp17L7gkAUHwAQOsCADDk4SnkLN5NAAAtb6XIXPzqX4lIAAAAxSdKZ4ldZ3UJAM6ougCgLdqOSgBIq3olAQDor5VaoeHCkAEA0Gjyc13GcQkAAAAAANjKUQelWYuJ3Rd/xN9v/fI0nfsDVKz0vrKWAP0bAAwyBhkJAAC0ZwOaBAAAmLIAOKZzOKSQADME3m81A0DxMzBJAABgnjBRSgCAolllgVF98Uf80ZKIG3yQKHfc9lUCAAAAAB6cMcDrr8On4nu47NB1fmlbEFViMDBBo/fIN7wSoKIC6Eg60uInqR2Dygu87gIbXdZS4cGX7QAAAABJRU5ErkJggg==);-webkit-animation-duration:6s;animation-duration:6s}.weather.snow:after{-webkit-animation-duration:4.5s;animation-duration:4.5s}@-webkit-keyframes weather{from{background-position:0 0}to{background-position:0 1024px}}@keyframes weather{from{background-position:0 0}to{background-position:0 1024px}}@-webkit-keyframes weather2{from{background-position:64px 64px}to{background-position:64px 1088px}}@keyframes weather2{from{background-position:64px 64px}to{background-position:64px 1088px}}