main.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. html, body {
  7. height: 100%;
  8. }
  9. body {
  10. display: flex;
  11. flex-direction: column;
  12. font-family: 'Montserrat', sans-serif;
  13. position: relative;
  14. overflow-x: hidden;
  15. }
  16. textarea {
  17. resize: none;
  18. }
  19. table {
  20. border-collapse: collapse;
  21. border-spacing: 0;
  22. }
  23. fieldset,
  24. img,
  25. abbr,
  26. button,
  27. input,
  28. textarea {
  29. border: none;
  30. }
  31. input,
  32. textarea,
  33. select {
  34. font-family: inherit;
  35. font-size: inherit;
  36. font-weight: inherit;
  37. color: inherit;
  38. }
  39. article,
  40. aside,
  41. details,
  42. figcaption,
  43. figure,
  44. footer,
  45. header,
  46. menu,
  47. nav,
  48. section,
  49. main {
  50. display: block;
  51. }
  52. button {
  53. cursor: pointer;
  54. padding: 0;
  55. background: none;
  56. }
  57. a {
  58. text-decoration: none;
  59. }
  60. .container {
  61. width: 1200px;
  62. margin: 0 auto;
  63. }
  64. .blue_bg {
  65. background-color: #02bfd8;
  66. }
  67. .yellow_bg {
  68. background-color: #d88f02;
  69. }
  70. .green_bg {
  71. background-color: #4c8a2d;
  72. }
  73. .red_bg {
  74. background-color: #ad3131;
  75. }
  76. .purple_bg {
  77. background-color: #6f4aa6;
  78. }
  79. /**** Header ****/
  80. .header, .header-home {
  81. flex: 0 0 auto;
  82. }
  83. .header {
  84. padding: 15px 0;
  85. background-color: #293340;
  86. }
  87. .header > .container {
  88. display: flex;
  89. justify-content: space-between;
  90. align-items: center;
  91. }
  92. .header-nav {
  93. display: flex;
  94. align-items: center;
  95. }
  96. .header-logo {
  97. width: 70px;
  98. height: 70px;
  99. margin-right: 30px;
  100. }
  101. .header-home {
  102. padding: 30px 0;
  103. background-color: #293340;
  104. }
  105. .header-home .header-top {
  106. display: flex;
  107. justify-content: space-between;
  108. align-items: center;
  109. }
  110. .nav-links {
  111. font-weight: 500;
  112. color: #fff;
  113. }
  114. .nav-links:not(:last-child) {
  115. margin-right: 45px;
  116. }
  117. .header-icon {
  118. color: #fff;
  119. }
  120. .header-icon:not(:last-child) {
  121. margin-right: 10px;
  122. }
  123. .header-banner {
  124. padding: 90px 0;
  125. display: flex;
  126. align-items: center;
  127. }
  128. .banner-info {
  129. display: flex;
  130. border-right: 1px solid #92979e;
  131. }
  132. .banner-logo {
  133. width: 170px;
  134. height: 170px;
  135. margin-right: 30px;
  136. }
  137. .banner-title {
  138. font-size: 46px;
  139. color: #fff;
  140. text-transform: uppercase;
  141. }
  142. .banner-contact-block {
  143. display: flex;
  144. margin-top: 30px;
  145. }
  146. .banner-contact-block p {
  147. color: #fff;
  148. font-size: 18px;
  149. margin-right: 30px;
  150. }
  151. .banner-contact-block p > i {
  152. margin-right: 5px;
  153. }
  154. .banner-menu {
  155. display: flex;
  156. flex-direction: column;
  157. padding: 30px 100px;
  158. }
  159. .banner-link {
  160. display: flex;
  161. align-items: center;
  162. font-size: 18px;
  163. color: #02bfd8;
  164. font-weight: 600;
  165. }
  166. .banner-link:not(:last-child) {
  167. margin-bottom: 30px;
  168. }
  169. .banner-link > i {
  170. color: #fff;
  171. margin-right: 10px;
  172. }
  173. /**** Services ****/
  174. .services {
  175. padding: 40px 0;
  176. }
  177. .services-title {
  178. text-align: center;
  179. font-size: 22px;
  180. font-weight: 700;
  181. color: #293340;
  182. text-transform: uppercase;
  183. }
  184. .services-title i {
  185. margin-right: 5px;
  186. }
  187. .services-list {
  188. display: flex;
  189. justify-content: space-between;
  190. align-items: center;
  191. margin-top: 45px;
  192. }
  193. .service-item {
  194. width: 200px;
  195. height: 190px;
  196. display: flex;
  197. flex-direction: column;
  198. align-items: center;
  199. padding: 30px;
  200. box-shadow: 2px 2px 10px 3px rgba(41, 51, 64, .25);
  201. }
  202. .service-img {
  203. width: 90px;
  204. height: 90px;
  205. margin-bottom: 30px;
  206. }
  207. .service-icon {
  208. font-size: 90px;
  209. color: #fff;
  210. margin-bottom: 30px;
  211. }
  212. .service-title {
  213. text-transform: uppercase;
  214. color: #fff;
  215. font-size: 14px;
  216. text-align: center;
  217. font-weight: 600;
  218. }
  219. /**** Main content ****/
  220. .main-content {
  221. flex: 1 0 auto;
  222. padding: 40px 0;
  223. }
  224. .main-content > .container {
  225. display: flex;
  226. }
  227. /**** Sidebar ****/
  228. .sidebar-title {
  229. color: #293340;
  230. text-transform: uppercase;
  231. }
  232. .branch-list {
  233. padding: 20px;
  234. display: flex;
  235. flex-direction: column;
  236. margin-bottom: 10px;
  237. }
  238. .branch-item {
  239. font-size: 18px;
  240. color: #293340;
  241. }
  242. .branch-item i {
  243. margin-right: 5px;
  244. }
  245. .branch-item:not(:last-child) {
  246. margin-bottom: 15px;
  247. }
  248. .info-board {
  249. display: flex;
  250. flex-direction: column;
  251. margin-top: 15px;
  252. }
  253. .info-board-link {
  254. color: #293340;
  255. }
  256. .info-board-item {
  257. width: 345px;
  258. background-color: #ebebeb;
  259. padding: 30px;
  260. border-bottom: 5px solid #c4c4c4;
  261. transition: .5s border-bottom-color;
  262. }
  263. .info-board-item:hover {
  264. border-bottom-color: #02bfd8;
  265. transition: .3s border-bottom-color;
  266. }
  267. .info-board-link:not(:last-child) {
  268. margin-bottom: 20px;
  269. }
  270. .adv-img {
  271. width: 100%;
  272. }
  273. .adv-title {
  274. margin-top: 15px;
  275. text-align: center;
  276. }
  277. /**** Posts ****/
  278. .news {
  279. padding: 15px;
  280. }
  281. .post-item {
  282. border: 2px solid #e3e3e3;
  283. }
  284. .post-item:not(:last-child) {
  285. margin-bottom: 30px;
  286. }
  287. .post-img {
  288. width: 100%;
  289. height: 450px;
  290. object-fit: cover;
  291. }
  292. .post-content {
  293. padding: 30px;
  294. }
  295. .post-title {
  296. text-transform: uppercase;
  297. font-size: 24px;
  298. font-weight: 700;
  299. color: #293340;
  300. }
  301. .post-anons {
  302. color: #6e7c90;
  303. line-height: 1.4em;
  304. margin-top: 15px;
  305. font-size: 18px;
  306. }
  307. .post-bottom {
  308. margin-top: 30px;
  309. display: flex;
  310. justify-content: space-between;
  311. align-items: center;
  312. }
  313. .post-link {
  314. font-size: 18px;
  315. font-weight: 700;
  316. color: #02bfd8;
  317. border: 3px solid #02bfd8;
  318. padding: 10px 35px;
  319. transition: .4s background-color;
  320. }
  321. .post-link:hover {
  322. background-color: #02bfd8;
  323. color: #fff;
  324. transition: .4s background-color;
  325. }
  326. .post-pubdate {
  327. color: #6e7c90;
  328. font-style: italic;
  329. }
  330. .pagination {
  331. margin-top: 45px;
  332. margin-bottom: 65px;
  333. display: flex;
  334. justify-content: flex-end;
  335. align-items: center;
  336. }
  337. .pagination-link {
  338. padding: 10px 15px;
  339. border: 3px solid #02bfd8;
  340. font-weight: 600;
  341. color: #02bfd8;
  342. transition: .3s linear;
  343. }
  344. .pagination-link:hover {
  345. background-color: #02bfd8;
  346. color: #fff;
  347. transition: .3s linear;
  348. }
  349. .pagination-link:not(:last-child) {
  350. margin-right: 10px;
  351. }
  352. .pagination-skip {
  353. margin-right: 10px;
  354. color: #02bfd8;
  355. font-weight: 700;
  356. }
  357. .pagination-link.arrow {
  358. background-color: #02bfd8;
  359. color: #fff;
  360. }
  361. /**** Gallery ****/
  362. .gallery {
  363. padding: 30px 0;
  364. background-color: #f0f1f1;
  365. }
  366. .gallery > .container {
  367. display: flex;
  368. justify-content: space-between;
  369. align-items: center;
  370. }
  371. .photo-album {
  372. position: relative;
  373. width: 370px;
  374. display: flex;
  375. flex-direction: column;
  376. }
  377. .album-preview {
  378. width: 100%;
  379. height: 300px;
  380. }
  381. .album-info {
  382. background-color: #293340;
  383. padding: 20px 0;
  384. }
  385. .album-name {
  386. font-size: 18px;
  387. font-weight: 700;
  388. text-align: center;
  389. color: #fff;
  390. }
  391. /**** Footer ****/
  392. .footer {
  393. flex: 0 0 auto;
  394. padding: 40px 0;
  395. background-color: #293340;
  396. }
  397. .footer > .container {
  398. display: flex;
  399. justify-content: space-between;
  400. align-items: center;
  401. }
  402. .college-info {
  403. width: 450px;
  404. }
  405. .copyright {
  406. color: #fff;
  407. }
  408. .social-media {
  409. display: flex;
  410. margin-top: 15px;
  411. }
  412. .social-media-link {
  413. color: #fff;
  414. font-size: 20px;
  415. }
  416. .social-media-link:not(:last-child) {
  417. margin-right: 10px;
  418. }
  419. .footer-logos {
  420. display: flex;
  421. }
  422. .footer-logo {
  423. width: 90px;
  424. height: 90px;
  425. }
  426. .footer-logo:not(:last-child) {
  427. margin-right: 20px;
  428. }
  429. .contact-info {
  430. color: #fff;
  431. }
  432. .contact-info i {
  433. margin-right: 10px;
  434. }
  435. .contact-info:not(:last-child) {
  436. margin-bottom: 10px;
  437. }
  438. @keyframes rotating {
  439. from {
  440. transform: rotate(0deg);
  441. }
  442. to {
  443. transform: rotate(360deg);
  444. }
  445. }