search.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // Search forum
  2. // ------------------------
  3. .search-suggestion {
  4. overflow: auto;
  5. p, form {
  6. float: left;
  7. }
  8. .lead {
  9. color: lighten(@gray, 15%);
  10. }
  11. form {
  12. .btn-link {
  13. margin-top: 1px;
  14. color: @bluePale;
  15. font-size: @baseFontSize * 1.5;
  16. font-style: italic;
  17. font-weight: 200;
  18. text-decoration: underline;
  19. &:hover, &:active {
  20. color: @bluePale;
  21. text-decoration: underline !important;
  22. }
  23. }
  24. }
  25. }
  26. .search-resume {
  27. .muted {
  28. color: lighten(@gray, 15%);
  29. a {
  30. color: @textColor;
  31. }
  32. }
  33. }
  34. .search-results {
  35. .results-list {
  36. .result {
  37. border-bottom: 1px solid darken(@bodyBackground, 5%);
  38. margin-bottom: (@baseLineHeight / 2);
  39. padding-bottom: (@baseLineHeight / 2);
  40. .result-avatar {
  41. float: left;
  42. img {
  43. .border-radius(@baseBorderRadius);
  44. width: 70px;
  45. height: 70px;
  46. }
  47. }
  48. .result-content {
  49. margin-left: 70px + @baseFontSize;
  50. h3 {
  51. margin: 0px;
  52. line-height: @baseLineHeight;
  53. a:link, a:visited {
  54. color: @gray;
  55. font-weight: normal;
  56. font-size: @baseFontSize * 1.3;
  57. text-decoration: underline;
  58. }
  59. a:hover, a:active {
  60. color: @textColor;
  61. }
  62. }
  63. .post-preview {
  64. margin: 0px;
  65. margin-top: 6px;
  66. color: @textColor;
  67. font-size: @baseFontSize * 1.1;
  68. line-height: @baseLineHeight;
  69. strong {
  70. color: @red;
  71. }
  72. }
  73. .post-extra {
  74. margin: 0px;
  75. color: @grayLight;
  76. font-size: @baseFontSize * 0.8;
  77. line-height: @baseLineHeight;
  78. a {
  79. color: @textColor;
  80. }
  81. }
  82. }
  83. }
  84. }
  85. }