style.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. html, body{
  2. position: relative;
  3. font-family: 'Roboto Slab', serif;
  4. color: #6B6B6B;
  5. margin: 0;
  6. padding: 0;
  7. }
  8. li{
  9. list-style: none;
  10. }
  11. header{
  12. background: #363636;
  13. width: 100%;
  14. justify-content: space-between;
  15. height: 16vh;
  16. display: flex;
  17. align-items: center;
  18. flex-wrap: wrap;
  19. }
  20. .pos_blk{
  21. padding: 27% 5%;
  22. }
  23. .menu{
  24. padding: 0;
  25. display: flex;
  26. height: 3.5vh;
  27. width: 50%;
  28. justify-content: flex-end;
  29. flex-wrap: wrap;
  30. }
  31. .menu li{
  32. margin-right: 2%;
  33. height: 3.5vh;
  34. }
  35. .modul{
  36. font-size: 3.3vh;
  37. color: white;
  38. margin-left: 2vw;
  39. }
  40. .menu li a{
  41. color: #fff;
  42. text-decoration: none;
  43. text-transform: uppercase;
  44. font-size: 2.5vh;
  45. }
  46. .menu li a:hover{
  47. color: #eca187;
  48. }
  49. .in{
  50. color: #da4453 !important;
  51. }
  52. section{
  53. background: url(img/bg_img.jpg) no-repeat;
  54. background-size: cover;
  55. width: 100%;
  56. height: 84vh;
  57. }
  58. .part2 h1{
  59. width: 36vw;
  60. color: #fff;
  61. font-size: 3.3vh;
  62. margin-bottom: 2vh;
  63. background-color: rgba(218, 68, 83, 0.8);
  64. }
  65. .part2 p{
  66. background-color: rgba(59,59,59,.8);
  67. color: #ddd;
  68. font-size: 2vh;
  69. width: 36vw;
  70. }
  71. .part3{
  72. display: -webkit-flex;
  73. display: -moz-flex;
  74. display: -ms-flex;
  75. display: -o-flex;
  76. display: flex;
  77. justify-content: center;
  78. margin-top: 2vh;
  79. }
  80. .a_block{
  81. display: -webkit-flex;
  82. display: -moz-flex;
  83. display: -ms-flex;
  84. display: -o-flex;
  85. display: flex;
  86. justify-content: space-around;
  87. max-width: 100%;
  88. flex-wrap: wrap;
  89. width: 70%;
  90. }
  91. .article{
  92. margin-bottom: 30px;
  93. float: left;
  94. box-sizing: border-box;
  95. border: 1px solid #dadada;
  96. max-width: 100%;
  97. width: 60%;
  98. }
  99. .img1{
  100. margin-top: 2vh;
  101. width: 92%;
  102. margin-left: 3.5%;
  103. }
  104. .Layout {
  105. color: #444444;
  106. margin-left: 3.5%;
  107. font-size: 3.4vh;
  108. }
  109. .inform{
  110. padding-left: 0;
  111. margin-left: 9%;
  112. font-size: 1vh;
  113. }
  114. .inform li{
  115. font-size: 2.1vh;
  116. padding-left: 5%;
  117. display: inline;
  118. }
  119. .inform li:nth-child(1){
  120. background: url(img/clndr.png) no-repeat;
  121. background-size: 18% auto;
  122. }
  123. .inform li:nth-child(2){
  124. background: url(img/ppl.jpg) no-repeat;
  125. background-size: 28% auto;
  126. }
  127. .inform li:nth-child(3){
  128. background: url(img/Content.png) no-repeat;
  129. background-size: 17% auto;
  130. }
  131. .main_txt{
  132. margin-bottom: 30px;
  133. font-size: 2.5vh;
  134. margin-left: 3.5%;
  135. width: 90%;
  136. color: #6b6b6b;
  137. }
  138. .display_a{
  139. font-size: 3vh;
  140. margin-bottom: 50px;
  141. font-family: Arial;
  142. color: #fff;
  143. text-decoration: none;
  144. text-transform: uppercase;
  145. padding: 10px 2%;
  146. background:#da4453;
  147. display: inline-block;
  148. margin-left: 70%;
  149. }
  150. .display_a:hover{
  151. color:#fff;
  152. }
  153. .general{
  154. border-radius: 2px;
  155. border: 1px solid #dadada;
  156. box-sizing: border-box;
  157. width: 34%;
  158. }
  159. .general h2{
  160. text-transform: uppercase;
  161. font-size: 2.4vh;
  162. margin-left:5%;
  163. }
  164. .litter{
  165. display: -webkit-flex;
  166. display: -moz-flex;
  167. display: -ms-flex;
  168. display: -o-flex;
  169. display: flex;
  170. width: 93%;
  171. justify-content: space-around;
  172. height: 3%;
  173. }
  174. .litter a i{
  175. padding: 10px;
  176. border-radius: 20%;
  177. font-size: 20px;
  178. color: #fff;
  179. background: #c1c0c0;
  180. height: 100%;
  181. width: 100%;
  182. text-align: center;
  183. }
  184. .litter a :hover{opacity: .7
  185. }
  186. .ppl_lt{
  187. width: 20px;
  188. height: 20px;
  189. }
  190. .smth_wt{display: flex;
  191. -webkit-flex-direction: column;
  192. -moz-flex-direction: column;
  193. -ms-flex-direction: column;
  194. -o-flex-direction: column;
  195. flex-direction: column;
  196. margin-left: 10%;
  197. }
  198. .smth_wt a{
  199. font-size: .9em;
  200. text-decoration: none;
  201. color: #fff;
  202. border-radius: 5px;
  203. margin-right: 2%;
  204. padding: 0 2%;
  205. background: #dadada;
  206. margin-top: 2vh;
  207. height: 33px;
  208. display: flex;
  209. align-items: center;
  210. }
  211. .smth_wt a:hover{
  212. opacity: .8;
  213. }
  214. .beta{
  215. display: -webkit-flex;
  216. display: -moz-flex;
  217. display: -ms-flex;
  218. display: -o-flex;
  219. display: flex;
  220. -webkit-flex-direction: column;
  221. -moz-flex-direction: column;
  222. -ms-flex-direction: column;
  223. -o-flex-direction: column;
  224. flex-direction: column;
  225. color: #cfc2c4;
  226. }
  227. .alpha{
  228. display: -webkit-flex;
  229. display: -moz-flex;
  230. display: -ms-flex;
  231. display: -o-flex;
  232. display: flex;
  233. -webkit-flex-direction: column;
  234. -moz-flex-direction: column;
  235. -ms-flex-direction: column;
  236. -o-flex-direction: column;
  237. flex-direction: column;
  238. width: 80%;
  239. margin-left: 10%;
  240. }
  241. .tags1{
  242. display: flex;
  243. flex-wrap: wrap;
  244. }
  245. .tags2{
  246. }
  247. .ppl_name{
  248. display: -webkit-flex;
  249. display: -moz-flex;
  250. display: -ms-flex;
  251. display: -o-flex;
  252. display: flex;
  253. -webkit-flex-direction: row;
  254. -moz-flex-direction: row;
  255. -ms-flex-direction: row;
  256. -o-flex-direction: row;
  257. flex-direction: row;
  258. align-items: center;
  259. }
  260. .comment{
  261. height: 60%;
  262. }
  263. .username{
  264. padding-left: 1vh;
  265. font-weight: bold;
  266. font-size: 0.9em;
  267. margin: 0;
  268. }
  269. .mb_text{
  270. padding: 2vh 0;
  271. font-size: .9em;
  272. border-bottom: 1px solid;
  273. }
  274. .tags2{margin: 3vh 0;
  275. }
  276. footer{
  277. background: #363636;
  278. width: 100%;
  279. justify-content: space-around;
  280. display: flex;
  281. flex-wrap: wrap;
  282. align-items: center;
  283. }
  284. footer .nav{
  285. margin-left: 1.5%;
  286. }
  287. footer h2{
  288. color: #fff;
  289. font-size: 3vh;
  290. }
  291. footer h2 span{
  292. color: #999999;
  293. }
  294. @media screen and (max-width: 1024px) {
  295. .article{width: 100%;
  296. }
  297. .a_block{
  298. width: 100%
  299. }
  300. .general{
  301. width: 100%;
  302. }
  303. .litter{
  304. height: 9vh
  305. }
  306. .tags1{
  307. display: flex;
  308. margin-bottom: 1vh
  309. }
  310. .menu{
  311. width: 100%;
  312. }
  313. .part2 h1{
  314. padding: 0;
  315. width: 100%;
  316. font-size:20px;
  317. }
  318. .part2 p{
  319. width: 100%;
  320. font-size: 15px;
  321. }
  322. }