Просмотр файла orblog-master/public/style/main.css

Размер файла: 6.68Kb
  1. /*-----------------------------------------------------------------------------
  2. orblog - Simple blog for hidden networks.
  3. Version: 0.1
  4. GitLab: https://github.com/neuberon/orblog/
  5. Copyright: neuberon@disroot.org 2020
  6. License: http://www.apache.org/licenses/LICENSE-2.0
  7.  
  8. -----------------------------------------------------------------------------*/
  9. @font-face
  10. {
  11. font-family: roboto;
  12. src: url(roboto.ttf);
  13. }
  14. *
  15. {
  16. padding: 0;
  17. margin: 0;
  18. box-sizing: border-box;
  19. font-family: roboto, sans;
  20. line-height: 1.5;
  21. outline: none;
  22. }
  23. .body
  24. {
  25. max-width: 840px;
  26. margin: auto;
  27. }
  28. a
  29. {
  30. text-decoration: none;
  31. color: #673ab7;
  32. }
  33. p, h1, h2, h3, h4, h5, h6, hr, ul, ol, blockquote, pre
  34. {
  35. margin-bottom: 10px;
  36. }
  37. pre,
  38. {
  39. background: #ededfd;
  40. padding: 10px;
  41. padding-left: 14px;
  42. border-left: 4px solid #607d8b;
  43. }
  44. code
  45. {
  46. font-family: monospace;
  47. font-size: 14px;
  48. }
  49. h1, h2
  50. {
  51. font-size: 20px;
  52. }
  53. h3, h4
  54. {
  55. font-size: 18px;
  56. }
  57. h5, h6
  58. {
  59. font-size: 16px;
  60. }
  61. blockquote
  62. {
  63. font-style: italic;
  64. border-left: 4px solid #607d8b;
  65. padding-left: 14px;
  66. margin-left: 20px;
  67. }
  68. li
  69. {
  70. margin-left: 30px;
  71. }
  72. img
  73. {
  74. max-width: 100%;
  75. }
  76. header
  77. {
  78. background: #512da8;
  79. color: #fff;
  80. box-shadow: 2px 2px 2px #ccc;
  81. margin-bottom: 10px;
  82. }
  83. header, .header_logo, .header_desc
  84. {
  85. height: 60px;
  86. }
  87. .header_logo, .header_desc
  88. {
  89. display: flex;
  90. align-items: center;
  91. }
  92. .header_logo
  93. {
  94. width: 30%;
  95. font-size: 20px;
  96. float: left;
  97. }
  98. .header_desc
  99. {
  100. width: 70%;
  101. font-size: 14px;
  102. float: left;
  103. }
  104. header a
  105. {
  106. color: #fff;
  107. }
  108. .main, .sidebar
  109. {
  110. margin-bottom: 10px;
  111. }
  112. .main
  113. {
  114. width: 70%;
  115. float: left;
  116. padding-right: 20px;
  117. }
  118. .sidebar
  119. {
  120. width: 30%;
  121. float: left;
  122. }
  123. .title
  124. {
  125. width: 100%;
  126. border-bottom: 3px solid #607d8b;
  127. overflow: auto;
  128. }
  129. .title_tab
  130. {
  131. background: #512da8;
  132. padding: 10px;
  133. float: left;
  134. color: #fff;
  135. font-size: 16px;
  136. }
  137. .title_etc
  138. {
  139. float: right;
  140. padding: 10px 0;
  141. color: #757575;
  142. font-size: 16px;
  143. }
  144. .title_etc a
  145. {
  146. color: #757575;
  147. }
  148. .title_etc a:hover
  149. {
  150. text-decoration: underline;
  151. }
  152. .post_title
  153. {
  154. color: #333;
  155. }
  156. .categories a
  157. {
  158. padding: 10px 0;
  159. display: block;
  160. border-bottom: 1px solid #b0cddb;
  161. color: #607d8b;
  162. transition: 0.2s linear;
  163. }
  164. .categories a:hover
  165. {
  166. padding: 10px 5px;
  167. }
  168. .content
  169. {
  170. padding: 10px 0;
  171. color: #333;
  172. font-size: 16px;
  173. }
  174. .comment_content
  175. {
  176. padding-top: 10px;
  177. }
  178. input, textarea, select, option
  179. {
  180. padding: 10px 18px 10px 18px;
  181. margin: 10px 0;
  182. border: 1px solid #607d8b;
  183. font-size: 14px;
  184. -webkit-appearance: none;
  185. -moz-appearance: none;
  186. appearance: none;
  187. background: #fff;
  188. }
  189. .button
  190. {
  191. background: #512da8;
  192. color: #fff;
  193. border: 2px solid #512da8;
  194. transition: color 0.2s linear;
  195. }
  196. .editor
  197. {
  198. width: 100%;
  199. }
  200. .button:hover
  201. {
  202. background: #fff;
  203. color: #512da8;
  204. }
  205. .input_id, .input_name, .input_button
  206. {
  207. display: flex;
  208. float: left;
  209. }
  210. .input_id
  211. {
  212. width: 10%;
  213. }
  214. .input_name
  215. {
  216. width: 70%;
  217. border-left: 0px;
  218. }
  219. .input_button
  220. {
  221. width: 10%;
  222. border: 1px solid #512da8;
  223. }
  224. .error
  225. {
  226. color: #fd2d2d;
  227. }
  228. .captcha
  229. {
  230. margin-bottom: 0;
  231. }
  232. .center
  233. {
  234. text-align: center;
  235. }
  236. footer
  237. {
  238. background: #607d8b;
  239. color: #fff;
  240. box-shadow: -2px -2px 2px #ccc;
  241. font-size: 14px;
  242. height: 80px;
  243. padding-top: 10px;
  244. }
  245. .footer_copy
  246. {
  247. width: 30%;
  248. float: left;
  249. }
  250. .footer_text
  251. {
  252. width: 70%;
  253. float: left;
  254. text-align: right;
  255. }
  256. footer a
  257. {
  258. color: #fff;
  259. text-decoration: underline;
  260. }
  261. .clear
  262. {
  263. clear: both;
  264. }
  265. @media only screen and (max-width: 860px)
  266. {
  267. .body
  268. {
  269. padding: 0 10px;
  270. }
  271. .header_logo, .footer_copy, .main, .sidebar
  272. {
  273. width: 100%;
  274. }
  275. .header_desc, .footer_text
  276. {
  277. display: none;
  278. }
  279. .main
  280. {
  281. padding: 0;
  282. }
  283. }