百度搜索多列样式

简易版百度搜索多列样式

目前为 2022-02-03 提交的版本。查看 最新版本

  1. @charset "UTF-8";
  2. /* ==UserStyle==
  3. @name:zh-CN 百度搜索多列样式
  4. @name Baidu Search Multi Column
  5. @namespace github.com/benzbrake/FirefoxCustomize
  6. @version 1.0.1
  7. @description:zh-CN 简易版百度搜索多列样式
  8. @description Persnal Style For baidu.com
  9. @author Ryan
  10. @license MIT
  11. @var text max-columns "Search Result Columns" 2
  12. ==/UserStyle== */
  13.  
  14. @-moz-document regexp("https?:\\/\\/www\\.baidu\\.com\\/s.*") {
  15. #content_right {
  16. display: none
  17. }
  18.  
  19. #container {
  20. -webkit-box-sizing: border-box;
  21. box-sizing: border-box;
  22. width: 1280px !important;
  23. margin: 0 auto !important;
  24. padding-left: 0 !important;
  25. }
  26. #container > .result-molecule {
  27. display: flex;
  28. justify-content: center;
  29. margin: 0 !important;
  30. padding: 0 !important;
  31. width: 100%;
  32. }
  33. #content_left {
  34. padding: 0 !important;
  35. float: unset;
  36. margin: 0 auto !important;
  37. width: 1280px !important;
  38. overflow: hidden;
  39. display: flex;
  40. flex-wrap: wrap;
  41. }
  42. #content_left > div.c-container,
  43. #content_left > div.c-group-wrapper {
  44. flex-basis: calc(100% / var(--max-columns) - 10px);
  45. width: calc(100% / var(--max-columns) - 10px);
  46. height: auto;
  47. margin: 5px;
  48. overflow: hidden;
  49. }
  50. .new-pmd .c-span12 {
  51. width: calc(100% - 6px);
  52. margin-right: 0 !important;
  53. padding: 5px 5px 5px 1px;
  54. }
  55. .new-pmd .c-border {
  56. margin: 0 !important;
  57. }
  58. #rs_new {
  59. display: flex;
  60. justify-content: center;
  61. flex-wrap: wrap;
  62. }
  63. #rs_new > :first-child {
  64. flex-basis: 100%;
  65. display: flex;
  66. justify-content: center;
  67. }
  68. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址