Skip to content

Commit

Permalink
Changes on News
Browse files Browse the repository at this point in the history
  • Loading branch information
Uchiha-16 committed Dec 14, 2023
1 parent 2ae94bf commit 8a04773
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions _posts/2019-02-04-welcome-to-jekyll.markdown
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
layout: news
title: "Welcome to Jekyll!"
title: "COTS Lab Won the Best Research and Development Award for the year 2020"
categories: [ Jekyll ]
image: assets/images/demo1.jpg
image: assets/images/demo1.jpeg
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.

Expand Down
Binary file added assets/images/demo1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/demo1.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion assets/scss/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
}

.card1{
height: 80% !important;
height: 94% !important;
}

.tofront{
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>{{ site.data.homepage.banner.title }}</h1>
<div class="col-md-6">
<div class="card border-0 mb-4 box-shadow card1">
<a href="{{site.baseurl}}{{latest_post.url}}">
<div class="topfirstimage" style="background-image: url({% if latest_post.image contains "://" %}{{ latest_post.image }}{% else %} {{site.baseurl}}/{{ latest_post.image}}{% endif %}); height: 200px; background-size: cover; background-repeat: no-repeat;"></div>
<div class="topfirstimage" style="background-image: url({% if latest_post.image contains "://" %}{{ latest_post.image }}{% else %} {{site.baseurl}}/{{ latest_post.image}}{% endif %}); height: 300px; background-size: cover; background-repeat: no-repeat;"></div>
</a>
<div class="card-body pl-10 pt-10 d-flex flex-column align-items-start">
<h2 class="h4 font-weight-bold">
Expand All @@ -53,11 +53,11 @@ <h2 class="h4 font-weight-bold">
</div>
</div>

<div class="col-md-6">
<div class="col-md-6" style="margin-top: 12px;">

<!-- second latest post -->
{%- assign second_post = site.posts[1] -%}
<div class="mb-3 d-flex align-items-center ">
<div class="mb-5 d-flex align-items-center ">
{% if second_post.image %}
<div class="col-md-4">
<a href="{{site.baseurl}}{{second_post.url}}">
Expand All @@ -84,7 +84,7 @@ <h2 class="mb-2 h6 font-weight-bold">

<!-- third latest post -->
{%- assign third_post = site.posts[2] -%}
<div class="mb-3 d-flex align-items-center">
<div class="mb-5 d-flex align-items-center">
{% if third_post.image %}
<div class="col-md-4">
<a href="{{site.baseurl}}{{third_post.url}}">
Expand Down

0 comments on commit 8a04773

Please sign in to comment.