mirror of
https://github.com/searxng/searxng.git
synced 2024-11-17 01:50:10 +01:00
4267b11a45
changes were made for wolframalpha infobox: - wrap text inside infobox. for example, there's a hill in New Zealand called Taumatawhakatangihangakoauauotamateapokaiwhenuakitanatahu (don't blame me, blame the Kiwis) and now it doesn't break the infobox. - add an optional image field for infobox's attributes. (doesn't affect ddg infobox at all) - table is now always split in half. needed so that images stay inside infobox. (max-width doesn't work for inline elements, it's the table that has to set the width. if you don't like how the table width looks now in ddg/wiki's infobox, i can change that code so that the style only applies when using wolframalpha.
89 lines
3.7 KiB
CSS
89 lines
3.7 KiB
CSS
html{position:relative;min-height:100%}
|
|
body{margin-bottom:80px}
|
|
.footer{position:absolute;bottom:0;width:100%;height:60px}
|
|
input[type=checkbox]:checked+.label_hide_if_checked,input[type=checkbox]:checked+.label_hide_if_not_checked+.label_hide_if_checked{display:none}
|
|
input[type=checkbox]:not(:checked)+.label_hide_if_not_checked,input[type=checkbox]:not(:checked)+.label_hide_if_checked+.label_hide_if_not_checked{display:none}
|
|
.result_header{margin-bottom:5px;margin-top:20px}.result_header .favicon{margin-bottom:-3px}
|
|
.result_header a{vertical-align:bottom}.result_header a .highlight{font-weight:bold}
|
|
.result-content{margin-top:5px;word-wrap:break-word}.result-content .highlight{font-weight:bold}
|
|
.result-default{clear:both}
|
|
.result-images{float:left !important}
|
|
.img-thumbnail{margin:5px;max-height:128px;min-height:128px}
|
|
.result-videos{clear:both}
|
|
.result-torrents{clear:both}
|
|
.result-map{clear:both}
|
|
.result-code{clear:both}
|
|
.suggestion_item{margin:2px 5px}
|
|
.result_download{margin-right:5px}
|
|
#pagination{margin-top:30px;padding-bottom:50px}
|
|
.label-default{color:#aaa;background:#fff}
|
|
.infobox .infobox_part{margin-bottom:20px;word-wrap:break-word;table-layout:fixed}
|
|
.infobox .infobox_part:last-child{margin-bottom:0}
|
|
.search_categories{margin:10px 0;text-transform:capitalize}
|
|
.cursor-text{cursor:text !important}
|
|
.cursor-pointer{cursor:pointer !important}
|
|
.highlight .hll{background-color:#ffc}
|
|
.highlight{background:#f8f8f8}
|
|
.highlight .c{color:#408080;font-style:italic}
|
|
.highlight .err{border:1px solid #f00}
|
|
.highlight .k{color:#008000;font-weight:bold}
|
|
.highlight .o{color:#666}
|
|
.highlight .cm{color:#408080;font-style:italic}
|
|
.highlight .cp{color:#bc7a00}
|
|
.highlight .c1{color:#408080;font-style:italic}
|
|
.highlight .cs{color:#408080;font-style:italic}
|
|
.highlight .gd{color:#a00000}
|
|
.highlight .ge{font-style:italic}
|
|
.highlight .gr{color:#f00}
|
|
.highlight .gh{color:#000080;font-weight:bold}
|
|
.highlight .gi{color:#00a000}
|
|
.highlight .go{color:#888}
|
|
.highlight .gp{color:#000080;font-weight:bold}
|
|
.highlight .gs{font-weight:bold}
|
|
.highlight .gu{color:#800080;font-weight:bold}
|
|
.highlight .gt{color:#04d}
|
|
.highlight .kc{color:#008000;font-weight:bold}
|
|
.highlight .kd{color:#008000;font-weight:bold}
|
|
.highlight .kn{color:#008000;font-weight:bold}
|
|
.highlight .kp{color:#008000}
|
|
.highlight .kr{color:#008000;font-weight:bold}
|
|
.highlight .kt{color:#b00040}
|
|
.highlight .m{color:#666}
|
|
.highlight .s{color:#ba2121}
|
|
.highlight .na{color:#7d9029}
|
|
.highlight .nb{color:#008000}
|
|
.highlight .nc{color:#00f;font-weight:bold}
|
|
.highlight .no{color:#800}
|
|
.highlight .nd{color:#a2f}
|
|
.highlight .ni{color:#999;font-weight:bold}
|
|
.highlight .ne{color:#d2413a;font-weight:bold}
|
|
.highlight .nf{color:#00f}
|
|
.highlight .nl{color:#a0a000}
|
|
.highlight .nn{color:#00f;font-weight:bold}
|
|
.highlight .nt{color:#008000;font-weight:bold}
|
|
.highlight .nv{color:#19177c}
|
|
.highlight .ow{color:#a2f;font-weight:bold}
|
|
.highlight .w{color:#bbb}
|
|
.highlight .mf{color:#666}
|
|
.highlight .mh{color:#666}
|
|
.highlight .mi{color:#666}
|
|
.highlight .mo{color:#666}
|
|
.highlight .sb{color:#ba2121}
|
|
.highlight .sc{color:#ba2121}
|
|
.highlight .sd{color:#ba2121;font-style:italic}
|
|
.highlight .s2{color:#ba2121}
|
|
.highlight .se{color:#b62;font-weight:bold}
|
|
.highlight .sh{color:#ba2121}
|
|
.highlight .si{color:#b68;font-weight:bold}
|
|
.highlight .sx{color:#008000}
|
|
.highlight .sr{color:#b68}
|
|
.highlight .s1{color:#ba2121}
|
|
.highlight .ss{color:#19177c}
|
|
.highlight .bp{color:#008000}
|
|
.highlight .vc{color:#19177c}
|
|
.highlight .vg{color:#19177c}
|
|
.highlight .vi{color:#19177c}
|
|
.highlight .il{color:#666}
|
|
.highlight .lineno{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.highlight .lineno::selection{background:transparent;}
|
|
.highlight .lineno::-moz-selection{background:transparent;}
|