Просмотр файла public/assets/css/main.css

Размер файла: 3.39Kb
  1. @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,700i&display=swap');
  2.  
  3. html {
  4. font-size: 0.9rem;
  5. }
  6.  
  7. .body {
  8. font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  9. }
  10.  
  11. a {
  12. color: #297dad;
  13. text-decoration: none;
  14. }
  15.  
  16. .app {
  17. background-color: #f9f9fb;
  18. }
  19.  
  20. @media (max-width: 768px) {
  21. .app {
  22. padding: 10px !important;
  23. }
  24. }
  25.  
  26. .app-title {
  27. padding-bottom: 1rem;
  28. }
  29.  
  30. .app-title h1 {
  31. margin: 0;
  32. font-size: 28px;
  33. font-weight: 400;
  34. }
  35.  
  36. .section {
  37. border: 1px solid #f3f3f3;
  38. background: #fff;
  39. border-radius: 5px;
  40. }
  41.  
  42. .section h3 {
  43. margin-bottom: 1rem;
  44. }
  45.  
  46. @media (max-width: 768px) {
  47. .section {
  48. padding-left: 10px !important;
  49. padding-right: 10px !important;
  50. }
  51. }
  52.  
  53. .post-author {
  54. font-weight: bold;
  55. }
  56.  
  57. .post-message {
  58. overflow-wrap: break-word;
  59. }
  60.  
  61. .breadcrumb {
  62. margin-bottom: 0;
  63. font-size: 13px;
  64. padding: 0;
  65. text-align: left;
  66. background-color: transparent;
  67. margin-top: 10px;
  68. }
  69.  
  70. .media-file {
  71. max-width: 600px;
  72. margin: 1rem 0;
  73. }
  74.  
  75. .upload-file {
  76. margin-right: 0.25rem;
  77. background-color: #f5f5f5;
  78. padding: 1rem 0.5rem;
  79. display: inline;
  80. border: 1px solid #dee2e6;
  81. font-size: 0.8rem;
  82. font-weight: bold;
  83. }
  84.  
  85. .spoiler {
  86. margin-bottom: 5px;
  87. }
  88.  
  89. .spoiler:before {
  90. content: "\F231";
  91. font-family: "bootstrap-icons";
  92. color: #bbb;
  93. vertical-align: -0.2em;
  94. }
  95.  
  96. .spoiler.spoiler-open:before {
  97. content: "\F229";
  98. }
  99.  
  100. .spoiler-title {
  101. border-bottom: 1px dashed;
  102. color: #6da3bd;
  103. cursor: pointer;
  104. font-weight: normal;
  105. }
  106.  
  107. .spoiler-text {
  108. padding: 10px 15px;
  109. margin: 5px 0;
  110. background-color: #f7f7f9;
  111. }
  112.  
  113. .hidden-text {
  114. padding: 10px 15px;
  115. margin: 5px 0;
  116. background-color: #f7f7f9;
  117. }
  118.  
  119. .post-rating-up.active {
  120. color: #fff;
  121. background-color: #78c062;
  122. padding: 0 3px;
  123. display: inline-block;
  124. border-radius: 3px;
  125. }
  126.  
  127. .post-rating-down.active {
  128. color: #fff;
  129. background-color: #f75c48;
  130. padding: 0 3px;
  131. display: inline-block;
  132. border-radius: 3px;
  133. }
  134.  
  135. .cursor-pointer {
  136. cursor: pointer;
  137. }
  138.  
  139. textarea.form-control {
  140. resize: vertical;
  141. }
  142.  
  143. .blockquote:before {
  144. content: "\F6B0";
  145. line-height: 1.0em;
  146. font-size: 130%;
  147. font-family: "bootstrap-icons";
  148. font-weight: 900;
  149. float: left;
  150. margin-right: 10px;
  151. color: #c73401;
  152. }
  153.  
  154. .blockquote {
  155. padding: 8px 15px;
  156. font-size: 95%;
  157. background:#f7f7f9;
  158. border-left: 5px solid #ddd;
  159. font-style:italic;
  160. }
  161.  
  162. .blockquote-footer {
  163. margin: 0;
  164. }
  165.  
  166. .avatar-default {
  167. color: #fff;
  168. display: inline-block;
  169. font-size: 42px;
  170. font-weight: 700;
  171. height: 64px;
  172. text-align: center;
  173. text-decoration: none;
  174. width: 64px;
  175. }
  176.  
  177. .avatar-medium>.avatar-default {
  178. font-size: 22px;
  179. height: 32px;
  180. width: 32px;
  181. }
  182.  
  183. .avatar-micro>.avatar-default {
  184. font-size: 14px;
  185. height: 20px;
  186. width: 20px;
  187. }
  188.  
  189. @media (max-width: 768px) {
  190. .pagination .page-link {
  191. padding: 0.25rem 0.5rem;
  192. font-size: 0.7875rem;
  193. line-height: 1.5;
  194. }
  195. }
  196.  
  197. .app-search {
  198. position: relative;
  199. }
  200.  
  201. .app-search-input {
  202. background-color: hsla(0,0%,100%,.8);
  203. padding: 5px 30px 5px 10px;
  204. transition: background-color .3s ease;
  205. }
  206.  
  207. .app-search-button {
  208. background: 0 0;
  209. border: 0;
  210. padding: 0 10px;
  211. position: absolute;
  212. right: 0;
  213. top: 7px;
  214. }