Merged pull request #21 from kizu/patch-1.

workaround for webkit's E:target ~ E { … } bug.
This commit is contained in:
Vadim Makeev 2011-04-28 07:16:58 -07:00
commit 99229b717c
1 changed files with 5 additions and 1 deletions

6
styles/projection.css Executable file → Normal file
View File

@ -1,6 +1,9 @@
@import url(reset.css);
@import url(fonts.css);
/* Fix for +/~ selectors in webkit */
@-webkit-keyframes bugfix { from { padding:0; } to { padding:0; } }
BODY {
overflow:hidden;
background:#000;
@ -337,6 +340,7 @@ A {
-webkit-border-radius:0.2em;
-moz-border-radius:0.2em;
border-radius:0.2em;
-webkit-animation:bugfix infinite 1s;
}
.progress DIV {
position:absolute;
@ -354,5 +358,5 @@ A {
transition:width 0.2s linear;
}
.progress-off:target ~ .progress {
display:none;
visibility:hidden;
}