pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/php/web-php/commit/5eb4baaaa11d270e0b8424472d5325865c6d7cb0

er-b55097560d244c08.css" /> Style Google Custom Search Engine results. · php/web-php@5eb4baa · GitHub
Skip to content

Commit 5eb4baa

Browse files
committed
Style Google Custom Search Engine results.
1 parent c6cd859 commit 5eb4baa

File tree

2 files changed

+135
-1
lines changed

2 files changed

+135
-1
lines changed

results.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function exit_with_pretty_error($title, $header, $msg) {
5555
$res = unserialize($data);
5656

5757
// HTTP status line is passed on, signifies an error
58-
site_header('Search results', array("noindex", "current" => "FIXME"));
58+
site_header('Search results', array("noindex", "current" => "docs"));
5959

6060
if (!is_array($res)) {
6161
exit_with_pretty_error(null, 'Internal error', 'Please try again later');

styles/theme.css

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,3 +791,137 @@ table.standard th.subr {
791791
margin: 0 auto;
792792
clear:both;
793793
}
794+
795+
/* Search results. */
796+
#layout .cse table.gsc-search-box,
797+
#layout table.gsc-search-box {
798+
border: solid 1px #99c;
799+
}
800+
801+
#layout .cse input.gsc-input,
802+
#layout input.gsc-input {
803+
border: 0;
804+
}
805+
806+
#layout .cse table.gsc-search-box td,
807+
#layout table.gsc-search-box td {
808+
padding: 2px;
809+
}
810+
811+
#layout .cse input.gsc-search-button,
812+
#layout input.gsc-search-button {
813+
background: #669;
814+
border: solid 1px #669;
815+
border-radius: 0;
816+
color: white;
817+
font-size: 100%;
818+
}
819+
820+
#layout .cse .gsc-clear-button,
821+
#layout .gsc-clear-button {
822+
display: none;
823+
}
824+
825+
#layout .cse .gsc-tabHeader.gsc-tabhActive,
826+
#layout .gsc-tabHeader.gsc-tabhActive,
827+
#layout .cse .gsc-tabHeader.gsc-tabhInactive,
828+
#layout .gsc-tabHeader.gsc-tabhInactive {
829+
border: 0;
830+
background-color: white;
831+
font-size: 100%;
832+
font-weight: bold;
833+
margin-right: 0;
834+
padding: 0 26px 0 13px;
835+
}
836+
837+
#layout .cse .gsc-tabHeader.gsc-tabhActive,
838+
#layout .gsc-tabHeader.gsc-tabhActive {
839+
background: white url(../images/sprites.png) no-repeat scroll 100% -25px;
840+
border-bottom: solid 0.25em #669;
841+
color: black;
842+
}
843+
844+
#layout .cse .gsc-tabHeader.gsc-tabhInactive,
845+
#layout .gsc-tabHeader.gsc-tabhInactive {
846+
background: white url(../images/sprites.png) no-repeat scroll 100% 5px;
847+
border-bottom: solid 0.25em #99c;
848+
color: #777;
849+
}
850+
851+
#layout .cse .gsc-tabHeader.gsc-tabhInactive:hover,
852+
#layout .gsc-tabHeader.gsc-tabhInactive:hover {
853+
border-bottom: solid 0.25em #669;
854+
color: #444;
855+
}
856+
857+
#layout .cse .gsc-tabsArea .gs-spacer {
858+
display: none;
859+
}
860+
861+
#layout .cse .gsc-tabsArea,
862+
#layout .gsc-tabsArea {
863+
border-bottom: 0;
864+
}
865+
866+
#layout .cse .gsc-above-wrapper-area,
867+
#layout .gsc-above-wrapper-area {
868+
border-bottom: solid 0.25em #cacaca;
869+
}
870+
871+
#layout .cse .gsc-webResult.gsc-result:hover,
872+
#layout .gsc-webResult.gsc-result:hover {
873+
background: #efefef;
874+
border-left: solid 1px white;
875+
}
876+
877+
#layout .cse .gsc-result-info,
878+
#layout .gsc-result-info,
879+
#layout .cse .gs-webResult .gs-visibleUrl,
880+
#layout .gs-webResult .gs-visibleUrl,
881+
#layout .cse .gs-webResult .gs-visibleUrl-short,
882+
#layout .gs-webResult .gs-visibleUrl-short {
883+
color: #666;
884+
font-weight: normal;
885+
}
886+
887+
#layout .cse .gs-result .gs-title,
888+
#layout .gs-result .gs-title {
889+
text-decoration: none;
890+
}
891+
892+
#layout .cse .gs-webResult.gs-result a,
893+
#layout .gs-webResult.gs-result a,
894+
#layout .cse .gs-webResult.gs-result a b,
895+
#layout .gs-webResult.gs-result a b {
896+
color: #3f438d;
897+
text-decoration: none;
898+
}
899+
900+
#layout .cse .gs-webResult.gs-result a:focus,
901+
#layout .gs-webResult.gs-result a:focus,
902+
#layout .cse .gs-webResult.gs-result a:hover,
903+
#layout .gs-webResult.gs-result a:hover,
904+
#layout .cse .gs-webResult.gs-result a:focus b,
905+
#layout .gs-webResult.gs-result a:focus b,
906+
#layout .cse .gs-webResult.gs-result a:hover b,
907+
#layout .gs-webResult.gs-result a:hover b {
908+
color: #015;
909+
}
910+
911+
#layout .cse .gsc-cursor-box,
912+
#layout .gsc-cursor-box {
913+
border-top: solid 0.25em #cacaca;
914+
}
915+
916+
#layout .cse .gsc-cursor-box .gsc-cursor-page,
917+
#layout .gsc-cursor-box .gsc-cursor-page {
918+
color: #3f438d;
919+
font-size: 100%;
920+
text-decoration: none;
921+
}
922+
923+
#layout .cse .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page,
924+
#layout .gsc-cursor-box .gsc-cursor-page.gsc-cursor-current-page {
925+
background: #3f438d;
926+
color: white;
927+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy