/* The following is a list of CLASS and ID selectors based on attributes generated in GSA search results markup when using the open-source Google Code GSA XHTML Stylesheet: http://code.google.com/p/gsa-xhtml-stylesheet/ This list was originally created for The Findability Project: http://www.findabilityproject.org/ Version 1.05 - March 23, 2009 */ /* =========================================== Top portion of search results page =========================================== */ h1#lg { /* Google logo */ } p#sk { /* P tag enclosing "skip to" query or results */ } p#nd { /* P tag enclosing web, images, groups, etc. links */ } div#sf { /* DIV tag enclosing search form at the top of the page */ } input#q { /* search text input field */ } p.sa { /* P tag enclosing both search radio button options */ } span.ac { /* SPAN tag enclosing individual search radio buttons */ } p.sn { /* P tag enclosing advanced search and search tips links */ } span.as { /* SPAN tag enclosing comma separating the advanced search and search tips links */ } div#su { /* DIV tag enclosing "Results 1-10 of about..." and "Search took 0.03 seconds" (whatever) */ } span.st { /* SPAN tag enclosing "Search took 0.03 seconds" (whatever) */ } div#ns { /* DIV tag enclosing both "Next" and "Sort by date"/"Sort by relevance links */ } p#nt { /* P tag enclosing "Previous" and "Next" links */ } span.sp { /* SPAN tag enclosing enclosing comma separating "Previous" and "Next" links; and comma separating "Sort by date" and "Sort by relevance links */ } span.pp { /* SPAN tag also enclosing "Previous" link */ } span.np { /* SPAN tag also enclosing "Next" link */ } span.sp { /* SPAN tag enclosing enclosing comma separating "Sort by date" and "Sort by relevance links */ } p#so { /* P tag enclosing "Sort by date" and "Sort by relevance links */ } /* =========================================== Search results portion of the page =========================================== */ /* Various messages when keywords do not match any documents */ p#ss { /* "Did you mean..." */ } p#ss a { /* link that follows "Did you mean..." */ } #er p { /* "Your search ... did not match any documents." */ /* "Suggestions:" */ } #er p span { /* "No pages were found containing..." */ } #er ul { /* "suggestion" unordered list" */ } /* In general, the search results as a whole on each page are generated as a definition list (DL), within which the individual search results are generated as definition titles (DT) with related definition descriptions (DD); the search result number, filetype and link to the linked document or file are within the DT tag; the descriptions of the search result are within P tags that are embedded with the DD tag; the links to the text and cached versions of the search result are also within the DD tag. */ /* The following selectors relate to the DT section of individual search results */ div#re { /* DIV tag enclosing "Results" H3 and all generated search results */ } #search-results #re { /* all search results */ } #search-results #re dd { /* individual search results */ } #search-results #re a { /* search result links */ } dt span.rn { /* SPAN tag enclosing search result number */ } dt strong.ft { /* STRONG tag enclosing [filetype], i.e, [PDF], [PPT], etc. */ } dt a.l { /* ANCHOR tag for link to search result */ } dt.l2 { /* secondary or sub-level search result (Google default style displays as indented) */ } /* The following selectors relate to the DD section of individual search results */ dd p.s { /* summary description of the search result */ } dd p.s span.s2 { /* supplemental description of search result */ } dd p.st { /* URI for the search result */ } dd p.st span.rc { /* SPAN tag enclosing link to the text and/or cached versions */ } dd p.st span.rc a.f { /* link to the text and/or cached versions of the search result */ } #re dd p.fm { /* "More results from..." P tag */ } #re dd p.fm a { /* "More results from..." ANCHOR tag */ } #re p#om { /* omitted entries message */ } #re p#om a { /* ANCHOR tag within omitted entries message */ } /* =========================================== Page elements below the search results =========================================== */ /* The following selectors relate to the parts of the search result page below the actual search results; this area of the search result page also includes several of the same selectors listed above; e.g., span.pp, span.sp, p.sa and so on. */ div#n { /* DIV enclosing "Result Page" H3 and "Previous ... Next" page navigation */ } div#n div.co, div#n div.go { /* used in a further embedded DIV also enclosing the "Result Page" H3 and "Previous ... Next" page navigation */ } div#n .co p { /* pager navigation at the page bottom */ } div#n .co p a { /* ANCHOR tag within pager navigation */ } iv#n div.co span.cp { /* "current" page number being displayed */ } div#sb { /* DIV enclosing search form at the page bottom */ } div#sb input#q_f { /* text input field in search form at the page bottom */ } div#sb p.sn { /* P tag enclosing "Search Within Results," "Advanced Search," and "Search Tips" links at the page bottom */ } div#sb p.sa { /* P tag enclosing search radio button options at the page bottom */ } div#sb p.sa span.ac { /* SPAN tag enclosing individual search radio buttons at page bottom */ } p#co { /* P tag enclosing "Powered by Google Search Appliance" */ }