page-course-plan.php 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543
  1. <?php
  2. /**
  3. * Template Name: Course Plan
  4. *
  5. * @package UIU_DEPARTMENTAL
  6. */
  7. get_header();
  8. ?>
  9. <?php while (have_posts()) : the_post(); ?>
  10. <main id="primary" class="site-main">
  11. <section id="archive-hero">
  12. <div class="container">
  13. <!-- breadcrumb -->
  14. <nav aria-label="breadcrumb">
  15. <ul>
  16. <li><a href="#">Home</a></li>
  17. <li><a href="#">UG Program</a></li>
  18. <li>Course Plan</li>
  19. </ul>
  20. </nav>
  21. <div class="content">
  22. <!-- left content -->
  23. <div class="left-content">
  24. <div class="main-title">Course Plan</div>
  25. <div class="short-details">
  26. Lorem ipsum dolor sit amet consectetur adipisicing elit. Quibusdam quis eos temporibus vel!.
  27. </div>
  28. <div class="links">
  29. <!-- message -->
  30. <a href="#">
  31. <img src="<?php echo (get_template_directory_uri()) ?>/img/envelope-solid.svg" alt="">
  32. </a>
  33. <!-- printer -->
  34. <a href="#">
  35. <img src="<?php echo (get_template_directory_uri()) ?>/img/print-solid.svg" alt="">
  36. </a>
  37. <!-- facebook -->
  38. <a href="#">
  39. <img src="<?php echo (get_template_directory_uri()) ?>/img/facebook-f.svg" alt="">
  40. </a>
  41. <!-- twitter -->
  42. <a href="#">
  43. <img src="<?php echo (get_template_directory_uri()) ?>/img/twitter.svg" alt="">
  44. </a>
  45. <!-- linkedin -->
  46. <a href="#">
  47. <img src="<?php echo (get_template_directory_uri()) ?>/img/linkedin-in.svg" alt="">
  48. </a>
  49. </div>
  50. </div>
  51. <!-- right content -->
  52. <div class="right-content">
  53. <img src="<?php echo (get_template_directory_uri()) ?>/img/campus_07.jpg" alt="">
  54. </div>
  55. </div>
  56. </div>
  57. </section>
  58. <section class="container">
  59. <section id="course-plan-container">
  60. <!-- side component -->
  61. <div class="side-comp">
  62. <!-- link -->
  63. <div class="item">
  64. <!-- title -->
  65. <div class="item-title">
  66. UNDERGRADE PROGRAM
  67. </div>
  68. <!-- item container -->
  69. <div class="link-container">
  70. <ul>
  71. <li>
  72. <a href="#">Course Plan</a>
  73. </li>
  74. <li>
  75. <a href="#">Course Description</a>
  76. </li>
  77. <li>
  78. <a href="#">Course Plan (Old)</a>
  79. </li>
  80. <li>
  81. <a href="#">Course Description (New)</a>
  82. </li>
  83. <li>
  84. <a href="#">Mentor List</a>
  85. </li>
  86. </ul>
  87. </div>
  88. </div>
  89. <!-- notice -->
  90. <div class="item">
  91. <!-- title -->
  92. <div class="item-title">
  93. NOTICES
  94. </div>
  95. <!-- item container -->
  96. <div class="item-container">
  97. <a class="single-item" href="#">
  98. <div class="date">
  99. January 28, 2024
  100. </div>
  101. <div class="details">
  102. Orientation Program for the Newly Admitted Students of Summer 2023 Trimester
  103. </div>
  104. </a>
  105. <a class="single-item" href="#">
  106. <div class="date">
  107. January 28, 2024
  108. </div>
  109. <div class="details">
  110. Orientation Program for the Newly Admitted Students of Summer 2023 Trimester
  111. </div>
  112. </a>
  113. <a class="single-item" href="#">
  114. <div class="date">
  115. January 28, 2024
  116. </div>
  117. <div class="details">
  118. Orientation Program for the Newly Admitted Students of Summer 2023 Trimester
  119. </div>
  120. </a>
  121. <a class="single-item" href="#">
  122. <div class="date">
  123. January 28, 2024
  124. </div>
  125. <div class="details">
  126. Orientation Program for the Newly Admitted Students of Summer 2023 Trimester
  127. </div>
  128. </a>
  129. <a class="single-item" href="#">
  130. <div class="date">
  131. January 28, 2024
  132. </div>
  133. <div class="details">
  134. Orientation Program for the Newly Admitted Students of Summer 2023 Trimester
  135. </div>
  136. </a>
  137. </div>
  138. <!-- view more button -->
  139. <a class="view-more" href="#">
  140. <div class="icon">
  141. <img src="./img/square-plus-solid.svg" alt="">
  142. </div>
  143. <span>
  144. View more
  145. </span>
  146. </a>
  147. </div>
  148. </div>
  149. <!-- main component -->
  150. <div class="main-comp">
  151. <article>
  152. <?php the_content();
  153. ?>
  154. </article>
  155. </div>
  156. </section>
  157. </main><!-- #main -->
  158. <?php endwhile; // end of the loop.
  159. ?>
  160. <style>
  161. #course-plan-container table {
  162. width: 100%;
  163. background-color: #fff;
  164. }
  165. #course-plan-container th,
  166. #course-plan-container td {
  167. font-size: 0.75rem;
  168. padding: 0.5rem;
  169. border: 1px solid #000;
  170. }
  171. #course-plan-container th {
  172. font-weight: 700;
  173. }
  174. #course-plan-container td {
  175. font-weight: 500;
  176. }
  177. .text-center {
  178. text-align: center;
  179. }
  180. #archive-hero {
  181. padding: 2rem 0;
  182. background: #f3f0ec;
  183. }
  184. #archive-hero .content {
  185. display: flex;
  186. align-items: start;
  187. }
  188. #archive-hero .content .left-content {
  189. padding: 1rem;
  190. padding-left: 0 !important;
  191. flex: 1;
  192. }
  193. #archive-hero .content .left-content .main-title {
  194. font-size: 2.2rem;
  195. font-weight: 500;
  196. color: #000000;
  197. }
  198. #archive-hero .content .left-content .short-details {
  199. margin-top: 1.5rem;
  200. font-size: 1.1rem;
  201. font-weight: 400;
  202. }
  203. #archive-hero .content .left-content .links {
  204. margin-top: 2rem;
  205. display: flex;
  206. gap: 1.8rem;
  207. }
  208. #archive-hero .content .left-content .links a {
  209. height: 1.3rem;
  210. }
  211. #archive-hero .content .left-content .links a:hover {
  212. transform: scale(1.1);
  213. opacity: 1 !important;
  214. }
  215. #archive-hero .content .left-content .links a img {
  216. height: 100%;
  217. }
  218. #archive-hero .content .right-content {
  219. padding: 0 0 1rem 2rem !important;
  220. flex: 1;
  221. align-self: end;
  222. }
  223. #archive-hero .content .right-content img {
  224. width: 100%;
  225. }
  226. a {
  227. transition: all 0.25s ease-in-out;
  228. }
  229. a:hover {
  230. opacity: 0.65;
  231. text-decoration: none;
  232. }
  233. #course-plan-container {
  234. margin-top: 3rem;
  235. display: flex;
  236. gap: 0.5rem;
  237. }
  238. @media (max-width: 1000px) {
  239. #course-plan-container {
  240. flex-direction: column;
  241. }
  242. #course-plan-container .main-comp {
  243. order: 0;
  244. }
  245. #course-plan-container .side-comp {
  246. order: 1;
  247. }
  248. #course-plan-container .main-comp,
  249. #course-plan-container .side-comp {
  250. width: 100% !important;
  251. }
  252. }
  253. #course-plan-container .main-comp {
  254. padding: 0 0.75rem 1rem 0;
  255. width: calc(100% - (0.5rem + 240px));
  256. }
  257. #course-plan-container .main-comp article {
  258. margin-top: 0;
  259. width: 100%;
  260. padding: 2rem;
  261. }
  262. #course-plan-container .main-comp article h2 {
  263. font-weight: 500;
  264. text-align: start;
  265. color: #000;
  266. margin-bottom: 1rem;
  267. }
  268. #course-plan-container .main-comp .table-holder {
  269. width: 100%;
  270. overflow-x: auto;
  271. }
  272. #course-plan-container .main-comp .table-holder .td-title {
  273. border-right: none;
  274. border-left: none;
  275. padding-top: 20px;
  276. }
  277. #course-plan-container .main-comp .table-holder p {
  278. margin-bottom: unset;
  279. }
  280. #course-plan-container .side-comp {
  281. width: 240px;
  282. padding: 0 0.25rem 1rem 0 !important;
  283. }
  284. #course-plan-container .side-comp .item {
  285. margin-bottom: 2rem;
  286. padding: 1rem;
  287. background-color: blanchedalmond;
  288. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15), 0 3px 3px rgba(0, 0, 0, 0.15);
  289. }
  290. #course-plan-container .side-comp .item .item-title {
  291. padding: 0.25rem 1rem 0.75rem;
  292. text-align: center;
  293. border-bottom: 3px solid #F68B1F;
  294. color: #000;
  295. font-weight: 700;
  296. font-size: 0.7rem;
  297. }
  298. #course-plan-container .side-comp .item .item-container {
  299. padding: 0.5rem;
  300. }
  301. #course-plan-container .side-comp .item .item-container .single-item {
  302. display: block;
  303. margin-bottom: 0.75rem;
  304. padding-bottom: 2rem;
  305. border-bottom: 1px solid #2c5d73;
  306. transition: all 0.25s ease-in-out;
  307. }
  308. #course-plan-container .side-comp .item .item-container .single-item:last-child {
  309. border-bottom: none;
  310. margin-bottom: 0rem;
  311. padding-bottom: 0.25rem;
  312. }
  313. #course-plan-container .side-comp .item .item-container .single-item .date {
  314. font-size: 0.8rem;
  315. font-weight: 500;
  316. color: #c66f17;
  317. }
  318. #course-plan-container .side-comp .item .item-container .single-item .single-item-title {
  319. font-size: 0.8rem;
  320. font-weight: 700;
  321. color: #2c5d73;
  322. }
  323. #course-plan-container .side-comp .item .item-container .single-item .date-container {
  324. display: flex;
  325. align-items: center;
  326. gap: 0.7rem;
  327. }
  328. #course-plan-container .side-comp .item .item-container .single-item .date-container .date {
  329. font-size: 0.75rem;
  330. }
  331. #course-plan-container .side-comp .item .item-container .single-item .date-container .icon {
  332. width: 0.75rem;
  333. color: #ffffff;
  334. }
  335. #course-plan-container .side-comp .item .item-container .single-item .date-container .icon img {
  336. width: 100%;
  337. }
  338. #course-plan-container .side-comp .item .item-container .single-item .details {
  339. font-size: 0.7rem;
  340. margin-top: 0.3rem;
  341. color: #232323;
  342. }
  343. #course-plan-container .side-comp .item .link-container {
  344. padding-top: 0.25rem;
  345. }
  346. #course-plan-container .side-comp .item .link-container ul {
  347. margin-bottom: unset;
  348. }
  349. #course-plan-container .side-comp .item .link-container ul li {
  350. list-style: none;
  351. }
  352. #course-plan-container .side-comp .item .link-container a {
  353. display: block;
  354. color: #333;
  355. font-size: 0.8rem;
  356. font-weight: 500;
  357. padding: 0.5rem 0;
  358. border-bottom: 1px solid #c5c5c5;
  359. }
  360. #course-plan-container .side-comp .item .link-container a:hover {
  361. opacity: 1 !important;
  362. color: #ff860d;
  363. }
  364. #course-plan-container .side-comp .item .news {
  365. font-size: 0.7rem !important;
  366. padding-bottom: 2rem !important;
  367. }
  368. #course-plan-container .side-comp .item .view-more {
  369. display: flex;
  370. align-items: center;
  371. padding: 0 0.5rem 0.5rem;
  372. gap: 0.5rem;
  373. }
  374. #course-plan-container .side-comp .item .view-more .icon {
  375. width: 1rem;
  376. }
  377. #course-plan-container .side-comp .item .view-more .icon img {
  378. width: 100%;
  379. }
  380. #course-plan-container .side-comp .item .view-more span {
  381. font-size: 0.85rem;
  382. color: #2F4858;
  383. font-weight: bolder !important;
  384. transition: all 0.35s ease-in-out;
  385. }
  386. #course-plan-container .side-comp .item .view-more:hover {
  387. opacity: 1;
  388. }
  389. #course-plan-container .side-comp .item .view-more:hover span {
  390. color: #E55807;
  391. }
  392. @media print {
  393. head,
  394. header,
  395. footer {
  396. display: none;
  397. }
  398. main {
  399. padding-top: 0 !important;
  400. margin-top: 0 !important;
  401. }
  402. #archive-hero {
  403. margin: 0;
  404. }
  405. #course-plan-container {
  406. display: flex;
  407. flex-direction: column;
  408. }
  409. #course-plan-container .main-comp {
  410. order: 0;
  411. }
  412. #course-plan-container .side-comp {
  413. display: none;
  414. }
  415. #course-plan-container .main-comp,
  416. #course-plan-container .side-comp {
  417. width: 100% !important;
  418. }
  419. }
  420. /*# sourceMappingURL=course-plan.css.map */
  421. </style>
  422. <?php
  423. get_footer();