774 |
padding-left: 20px; /* background-image's width is 16px */ |
padding-left: 20px; /* background-image's width is 16px */ |
775 |
} |
} |
776 |
|
|
777 |
|
/* Floating help box */ |
778 |
|
|
779 |
|
aside.help { |
780 |
|
display: block; |
781 |
|
position: fixed; |
782 |
|
z-index: 10000; |
783 |
|
background-color: #FFFFCC; |
784 |
|
color: black; |
785 |
|
border: 0.1em outset #FFFF66; |
786 |
|
-moz-border-radius: 0.4em; |
787 |
|
-webkit-border-radius: 0.4em; |
788 |
|
border-radius: 0.4em; |
789 |
|
padding: 0.5em; |
790 |
|
overflow: auto; |
791 |
|
max-height: 50%; |
792 |
|
max-width: 50%; |
793 |
|
-webkit-box-shadow: 0.6em 0.6em 0.4em gray; |
794 |
|
} |
795 |
|
|
796 |
|
aside.help > h3 { |
797 |
|
display: none; /* since it is duplicated with the main document's content. */ |
798 |
|
} |
799 |
|
|
800 |
|
aside.help > h3 + * { |
801 |
|
margin-top: 0; |
802 |
|
} |
803 |
|
|
804 |
|
aside.help > *:last-child { |
805 |
|
margin-bottom: 0; |
806 |
|
} |
807 |
|
|
808 |
|
/* Used instead of XHR for HTML documents */ |
809 |
|
iframe { |
810 |
|
margin: 0; |
811 |
|
border-style: none; |
812 |
|
padding: 0; |
813 |
|
width: 0; |
814 |
|
height: 0; |
815 |
|
} |
816 |
|
|
817 |
|
body[data-scripted] a[rel~=help] { |
818 |
|
text-decoration: none; |
819 |
|
border-bottom: dotted 1px; |
820 |
|
padding-bottom: 0; |
821 |
|
} |
822 |
|
|
823 |
/* |
/* |
824 |
|
|
825 |
Copyright 2007-2008 Wakaba <w@suika.fam.cx>. |
Copyright 2007-2008 Wakaba <w@suika.fam.cx>. |