|
@@ -16,34 +16,37 @@ get_header();
|
|
|
|
|
|
|
|
|
<div class="sections">
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<section id="all-faculties" class="container">
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<h2>List of Faculty Members of Department of CSE</h2>
|
|
|
|
|
|
<!-- <hr> -->
|
|
|
- <div class="grid">
|
|
|
+ <div class="parent-grid">
|
|
|
|
|
|
<?php if (have_posts()) : ?>
|
|
|
<?php while (have_posts()) : the_post(); ?>
|
|
|
|
|
|
|
|
|
-
|
|
|
- <div class="faculty-stub">
|
|
|
+ <div class="faculty-stub grid-sub-item">
|
|
|
|
|
|
<div class="stub-img-holder">
|
|
|
<img class="stub-img" src="<?php the_field('profile_photo'); ?>" alt="">
|
|
|
</div>
|
|
|
|
|
|
<div class="archive-faculty-details">
|
|
|
- <a class="faculty-name" href="#"><h3><?php echo get_the_title(); ?></h3></a>
|
|
|
+ <a class="faculty-name" href="<?php echo get_the_permalink(); ?>">
|
|
|
+ <h3><?php echo get_the_title(); ?></h3>
|
|
|
+ </a>
|
|
|
|
|
|
<span class="faculty-designation">
|
|
|
- <?php the_field('designation'); ?>
|
|
|
+ Department of Computer Science and Engineering
|
|
|
+ <?php
|
|
|
+ ?>
|
|
|
</span>
|
|
|
|
|
|
</div>
|
|
@@ -51,12 +54,12 @@ get_header();
|
|
|
</div>
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
<?php endwhile; ?>
|
|
|
|
|
|
<?php the_posts_navigation(); ?>
|
|
|
|
|
|
- <?php
|
|
|
+ <?php
|
|
|
else :
|
|
|
|
|
|
get_template_part('template-parts/content', 'none');
|
|
@@ -72,31 +75,35 @@ get_header();
|
|
|
</main><!--
|
|
|
|
|
|
<style>
|
|
|
+ @import url("https://fonts.googleapis.com/css2?family=DM+Serif+Text&display=swap");
|
|
|
+ @import url("https://fonts.googleapis.com/css2?family=Open+Sans&display=swap");
|
|
|
+ @import url(https:
|
|
|
+
|
|
|
header {
|
|
|
height: 100px !important;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
color:
|
|
|
margin-top: 40px;
|
|
|
margin-bottom: 20px;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- margin: 30px auto;
|
|
|
+
|
|
|
+ width: 100%;
|
|
|
+ padding: 5px;
|
|
|
+ box-shadow: 2px 2px 10px 6px rgba(0, 0, 0, 0.137254902);
|
|
|
+ margin: 30px auto !important;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- height: 200px;
|
|
|
+
|
|
|
+ border-radius: 4px !important;
|
|
|
+ height: 160px;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+ border-radius: 0px !important;
|
|
|
height: 100%;
|
|
|
width: 100%;
|
|
|
-o-object-fit: cover;
|
|
@@ -105,24 +112,34 @@ get_header();
|
|
|
object-position: center;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+ height: 100px;
|
|
|
+ padding: 0px 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ display: inline-block;
|
|
|
+ color: rgba(89, 107, 161, 0.5647058824);
|
|
|
+ font-weight: 800;
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
display: block;
|
|
|
- color:
|
|
|
+ color: rgba(0, 0, 0, 0.5647058824);
|
|
|
font-weight: 800;
|
|
|
font-size: 14px;
|
|
|
- margin: 10px 0px !important;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- height: 50px;
|
|
|
+
|
|
|
font-size: 18px;
|
|
|
line-height: 22px;
|
|
|
font-family: "Open Sans", sans-serif;
|
|
|
color:
|
|
|
- margin: 20px auto;
|
|
|
+ margin: 10px auto;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+
|
|
|
</style>
|
|
|
<?php
|
|
|
get_footer();
|