mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
gold page: sparklepants.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
.transition (@property, @duration, @function: ease, @delay: 0s) {
|
||||
-webkit-transition: @arguments;
|
||||
-moz-transition: @arguments;
|
||||
-o-transition: @arguments;
|
||||
-ms-transition: @arguments;
|
||||
transition: @arguments;
|
||||
}
|
||||
|
||||
.transform(...) {
|
||||
-webkit-transform: @arguments;
|
||||
-moz-transform: @arguments;
|
||||
@@ -95,6 +103,25 @@ section#gold-letter {
|
||||
font-family: sans-serif;
|
||||
font-size: .75em;
|
||||
}
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 85px;
|
||||
left: 310px;
|
||||
width: 200px;
|
||||
height: 276px;
|
||||
background: url(../gold/sparklepants.png);
|
||||
z-index: 100;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
&:hover:after {
|
||||
opacity: 1;
|
||||
left: 210px;
|
||||
.transition(all, 0.5s, ease, 7s);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
r2/r2/public/static/gold/sparklepants.png
Normal file
BIN
r2/r2/public/static/gold/sparklepants.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 47 KiB |
Reference in New Issue
Block a user