Commit b3a800c1 authored by Roman Komarov's avatar Roman Komarov

Workaround for webkit's E:target ~ E { … } bug.

parent 8a5428b7
@import url(reset.css); @import url(reset.css);
@import url(fonts.css); @import url(fonts.css);
/* Fix for +/~ selectors in webkit */
@-webkit-keyframes bugfix { from { padding:0; } to { padding:0; } }
BODY { BODY {
overflow:hidden; overflow:hidden;
background:#000; background:#000;
...@@ -337,6 +340,7 @@ A { ...@@ -337,6 +340,7 @@ A {
-webkit-border-radius:0.2em; -webkit-border-radius:0.2em;
-moz-border-radius:0.2em; -moz-border-radius:0.2em;
border-radius:0.2em; border-radius:0.2em;
-webkit-animation:bugfix infinite 1s;
} }
.progress DIV { .progress DIV {
position:absolute; position:absolute;
...@@ -354,5 +358,5 @@ A { ...@@ -354,5 +358,5 @@ A {
transition:width 0.2s linear; transition:width 0.2s linear;
} }
.progress-off:target ~ .progress { .progress-off:target ~ .progress {
display:none; visibility:hidden;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment