12,782
edits
No edit summary |
No edit summary |
||
| Line 93: | Line 93: | ||
} | } | ||
/* tabindex="1" in the link code to fix the 'focus persist' problem in safari and chrome */ | |||
html {-webkit-animation: safariSelectorFix infinite 1s;} | |||
@-webkit-keyframes safariSelectorFix { | |||
0% {zoom:1;} | |||
100% {zoom:1;} | |||
} | |||
body {width:40em; margin: 1em auto;font-family: arial, sans-serif;} | |||
div.exp {font:normal 0.9em/1.5em arial, sans-serif; color:#666;} | |||
a.exp {display:block;margin: 1em 0 0 0;text-decoration:none;border:1px solid black;border-radius:4px;background:#CDF;padding:10px;} | |||
a.exp::after {content:"»";float:right;} | |||
a.exp:focus {border-width: 1px 1px 0 1px;border-radius:4px 4px 0 0} | |||
a.exp + div {display:none;} | |||
a.exp:focus + div {display:block;border-width: 0 1px 1px 1px;border-style:solid; border-radius:0 0 4px 4px;border-color:black;} | |||
a.exp:focus::after {content:"";} | |||
div.exp *{padding:0.3em 10px 0em 10px;} | |||
div.exp *:last-child::after {content:"«";float:right;} | |||
div.exp *:first-child {margin-top:0;} | |||
ul {margin-bottom: 2em;} | |||
ul li {list-style-position: inside;} | |||
ul li:last-child::after{content:'' !important;} | |||