all repos — themeswitcher @ f2ba6cde56b3f567694d99a6794dea3a6be4c4ca

themeswitcher.html (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
<!-- <head> needs to contain the alternative style sheet -->
<style media="all">
    # normal CSS
</style>
<style id="css_alt" media="speech">
    # alt CSS
</style>


<!-- example of container and sibling that will auto-include the theme form -->
<div id="header-forms">
    <!-- theme form will be inserted here if the selectors in the JS code below are unmodified -->
    <form id="search" role="search" method="get" action="/search/">
       <label for="qsub">
            <input type="submit" value="search" id="qsub" name="qsub" />
                <svg width="16" height="16">
                    <use xlink:href="#icon-search"></use>
                </svg>
        </label>
        <input type="search" placeholder="search..." value="" name="q" id="q" title="Search for:" />
    </form>
</div>