main.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. a:hover {
  2. text-decoration: none;
  3. }
  4. img {
  5. display: block;
  6. width: 100%;
  7. border-radius: 3px;
  8. }
  9. .navbar {
  10. border-radius: 0;
  11. }
  12. .navbar-brand {
  13. width: 60px;
  14. background-image: url(../img/logo.png);
  15. background-repeat: no-repeat;
  16. background-size: 60%;
  17. background-position: center center;
  18. }
  19. .post-list-item {
  20. border-bottom: 1px solid #e5e5e5;
  21. padding-top: 20px;
  22. padding-bottom: 20px;
  23. }
  24. .post-list-item:first-child {
  25. padding-top: 0;
  26. }
  27. .post-list-item::before,
  28. .post-list-item::after {
  29. content: "";
  30. display: block;
  31. clear: both;
  32. }
  33. .post-heading {
  34. font-size: 18px;
  35. font-weight: bold;
  36. color: #444;
  37. line-height: 1.5;
  38. margin-bottom: 10px;
  39. }
  40. .post-heading:hover {
  41. color: #000;
  42. }
  43. .avatar {
  44. display: inline-block;
  45. max-width: 15px;
  46. border-radius: 50%;
  47. }
  48. .side-bar .list-group-item {
  49. border:0;
  50. border-radius: 2px;
  51. }
  52. .list-group-item.active {
  53. background: #ea0c3c;
  54. }
  55. .list-group-item.active:hover {
  56. background: #ea0c3c;
  57. }
  58. .side-bar-well {
  59. padding: 10px;
  60. background: #f5f5f5;
  61. margin-bottom: 10px;
  62. border-radius: 3px;
  63. }
  64. .side-bar-well-title {
  65. font-size: 18px;
  66. }
  67. .news-item {
  68. display: block;
  69. color: #666;
  70. }
  71. .side-bar-well > * {
  72. padding: 10px;
  73. }
  74. .news-item:hover {
  75. background: rgba(0,0,0,.03);
  76. }
  77. .news-info {
  78. color: #999;
  79. padding: 5px;
  80. }
  81. .footer {
  82. margin-top: 20px;
  83. padding: 30px 0;
  84. color: #999;
  85. text-align: center;
  86. }
  87. .form-container {
  88. max-width: 500px;
  89. margin: 0 auto;
  90. }
  91. .btn-primary {
  92. background-color: #ea0c3c;
  93. border-color: #ea0c3c;
  94. }
  95. .btn-primary:hover,
  96. .btn-primary.focus,
  97. .btn-primary:focus,
  98. .btn-primary.active, .btn-primary:active, .open>.dropdown-toggle.btn-primary,
  99. .btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.dropdown-toggle.btn-primary.focus, .open>.dropdown-toggle.btn-primary:focus, .open>.dropdown-toggle.btn-primary:hover {
  100. background-color: #d00e38;
  101. border-color: #d00e38;
  102. }
  103. .news .info {
  104. color: #999;
  105. font-size: 16px;
  106. }
  107. .news h1 {
  108. line-height: 1.5;
  109. }
  110. .news .content {
  111. font-size: 16px;
  112. }