|
Server : Apache/2.4.18 (Ubuntu) System : Linux canvaswebdesign 3.13.0-71-generic #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 User : oppastar ( 1041) PHP Version : 7.0.33-0ubuntu0.16.04.15 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, Directory : /var/www/vajra.id/public_html/application/modules/blog/views/template2/ |
Upload File : |
<div class="main-container">
<style type="text/css">
p {
text-align: justify;
}
.entry-footer a{
color: red;
}
.type-post{
background-color: white;
padding: 20px;
height: 100%;
}
.type-post:hover {
transform: scale(1.0);
}
.page-content{
background-image: url('/uploads/bg-vajraid.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100%;
}
.blog-masonry-box{
display: grid;
grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
grid-gap: 20px;
}
.entry-cover {
display: flex;
justify-content: center;
border-radius: 15px 15px 0 0;
content: "";
opacity: 1;
-webkit-transition: all 1s ease 0s;
-moz-transition: all 1s ease 0s;
-o-transition: all 1s ease 0s;
transition: all 1s ease 0s;
}
.black-hover{
background-color: black;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
opacity: 0;
}
.type-post:hover .black-hover:not(.post-meta) {
background: black;
opacity: 0.2;
}
.entry-cover .post-meta a{
padding: 9px;
}
.entry-cover > a > img {
padding: 8px;
border-radius: 15px 15px 0 0;
object-fit: cover;
height: max(20rem, 40vh);
}
.type-post .entry-content {
display: inline-block;
max-width: 100%;
padding: 0.5em 1.25em;
margin-top: 0px;
background-color: white;
}
.type-post .more {
background-color: white;
border-radius: 0 0 15px 15px;
margin-top: -2px;
}
.type-post .more > a,
.type-post .more > a::before {
-webkit-transition: all 0.5s ease 0s;
-moz-transition: all 0.5s ease 0s;
-o-transition: all 0.5s ease 0s;
transition: all 0.5s ease 0s;
}
.type-post .more > a {
color: black !important;
display: inline-block;
font-size: 14px;
font-weight: bold;
margin: 0.5em 1.5em;
letter-spacing: 0.18px;
line-height: 2;
margin-top: auto;
position: relative;
text-decoration: none;
text-transform: uppercase;
animation-duration: 0.6s;
bottom: 40%;
}
.type-post .more > a::before {
background-color: #151515;
content: "";
left: 0;
position: absolute;
bottom: 0;
height: 2px;
width: 100%;
}
.type-post .more > a:hover {
color: #151515;
}
.type-post:hover .more > a {
animation-name: bounceIn;
}
.type-post .more > a:hover::before {
width: 50%;
}
.type-post .entry-content .entry-header > p{
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden !important;
text-overflow: ellipsis;
}
@media (min-width:576px) and (max-width:768px){
.type-post .entry-header .entry-title{
font-size: 16px;
}
}
@media (min-width:769px){
.type-post .entry-header .entry-title{
font-size: 20px;
}
}
</style>
<main class="site-main">
<!-- Page Content -->
<div class="container-fluid no-left-padding no-right-padding page-content">
<!-- Container -->
<div class="container">
<div class="row">
<!-- Content Area -->
<?= Modules::run('brand_column') ?>
<div class="col-xl-9 col-lg-9 col-md-6 col-12 content-area changeDown">
<article class="type-post">
<?php $blog_category = $this->db->select('category')->from('categories')->where('id_categories',$blog->parent)->get()->row()->category; ?>
<div class="entry-content">
<div class="entry-header">
<span class="post-category"><a href="#" title="<?=$blog_category?>"></a></span>
<h3 class="entry-title"><?=$blog->blog?></h3>
<div class="post-meta">
<span class="post-date"><?=date('d F Y', strtotime($blog->publish_date))?></span>
</div>
</div>
<div class="entry-cover" style="text-align:center;">
<?php if (!empty($blog->image2)): ?>
<br>
<img src="<?=base_url('uploads/blog/'.$blog->image2)?>" alt="Post" />
<?php else: ?>
<?php endif ?>
</div>
<br>
<?=$blog->description?>
<div class="entry-footer">
<?php if (!empty($blog->upload_pdf)): ?>
<p><strong>DOWNLOAD ARTIKEL LENGKAP</strong></p>
<br>
<h3 class="entry-title"><a style="color:#af1e23 !important; border:2px solid #af1e23; border-radius:5px; padding:5px; font-size:20px;" href="<?=base_url('uploads/pdf/'.$blog->upload_pdf)?>" target="_blank"><i class="fa fa-file-pdf"></i> DOWNLOAD PDF</a></h3>
<br>
<?php else: ?>
<?php endif ?>
<br>
<div class="sharethis-inline-share-buttons"></div>
<br>
</div>
</div>
</article>
</div><!-- Content Area /- -->
<!-- Widget Area -->
<!-- Widget Area /- -->
</div>
</div><!-- Container /- -->
</div><!-- Page Content /- -->
</main>
</div>