-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Theme and responsiveness fixes (#509)
* Dark themed cards * Responsiveness fixes * added dark stylesheet option * highlight theme toggle * added highlight function * added highlight themes to assets/css * offline highlight implementation * Fixes for masonry * Revert "added highlight themes to assets/css" This reverts commit ee7cb7675671430697f3a38bd5a56405179e6dd9. * Update `code syntax highlighting` to use jsdelivr CDN * Project card responsiveness fixes * added personal website to readme veedata.github.io * Reverted responsiveness chnages * Minor adjustments Co-authored-by: rohandebsarkar <rohandebsarkar@gmail.com> Co-authored-by: Maruan Al-Shedivat <maruan@genesistherapeutics.ai>
- Loading branch information
1 parent
a50364c
commit 77b60dc
Showing
10 changed files
with
81 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
|
||
<!-- _includes/projects.html --> | ||
<div class="grid-item"> | ||
{% if project.redirect -%} | ||
<a href="{{ project.redirect }}"> | ||
{%- else -%} | ||
<a href="{{ project.url | relative_url }}"> | ||
<!-- _includes/projects.html --> | ||
<div class="grid-sizer"></div> | ||
<div class="grid-item"> | ||
{% if project.redirect -%} | ||
<a href="{{ project.redirect }}"> | ||
{%- else -%} | ||
<a href="{{ project.url | relative_url }}"> | ||
{%- endif %} | ||
<div class="card hoverable"> | ||
{%- if project.img %} | ||
{%- include figure.html | ||
path=project.img | ||
alt="project thumbnail" -%} | ||
{%- endif %} | ||
<div class="card-body"> | ||
<h2 class="card-title text-lowercase">{{ project.title }}</h2> | ||
<p class="card-text">{{ project.description }}</p> | ||
<div class="row ml-1 mr-1 p-0"> | ||
{%- if project.github -%} | ||
<div class="github-icon"> | ||
<div class="icon" data-toggle="tooltip" title="Code Repository"> | ||
<a href="{{ project.github }}"><i class="fab fa-github gh-icon"></i></a> | ||
</div> | ||
{%- if project.github_stars -%} | ||
<span class="stars" data-toggle="tooltip" title="GitHub Stars"> | ||
<i class="fas fa-star"></i> | ||
<span id="{{ project.github_stars }}-stars"></span> | ||
</span> | ||
{%- endif %} | ||
<div class="card hoverable"> | ||
{%- if project.img %} | ||
{%- include figure.html | ||
path=project.img | ||
alt="project thumbnail" -%} | ||
{%- endif %} | ||
<div class="card-body"> | ||
<h2 class="card-title text-lowercase">{{ project.title }}</h2> | ||
<p class="card-text">{{ project.description }}</p> | ||
<div class="row ml-1 mr-1 p-0"> | ||
{%- if project.github -%} | ||
<div class="github-icon"> | ||
<div class="icon" data-toggle="tooltip" title="Code Repository"> | ||
<a href="{{ project.github }}"><i class="fab fa-github gh-icon"></i></a> | ||
</div> | ||
{%- if project.github_stars -%} | ||
<span class="stars" data-toggle="tooltip" title="GitHub Stars"> | ||
<i class="fas fa-star"></i> | ||
<span id="{{ project.github_stars }}-stars"></span> | ||
</span> | ||
{%- endif %} | ||
</div> | ||
{%- endif %} | ||
</div> | ||
</div> | ||
</a> | ||
</div> | ||
</div> | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{%- if site.enable_masonry -%} | ||
<!-- Mansory & imagesLoaded --> | ||
<!-- Masonry & imagesLoaded --> | ||
<script defer src="https://cdn.jsdelivr.net/npm/masonry-layout@{{ site.masonry.version }}/dist/masonry.pkgd.min.js" integrity="{{ site.masonry.integrity }}" crossorigin="anonymous"></script> | ||
<script defer src="https://cdn.jsdelivr.net/npm/imagesloaded@4/imagesloaded.pkgd.min.js"></script> | ||
<script defer src="{{ '/assets/js/mansory.js' | relative_url }}" type="text/javascript"></script> | ||
<script defer src="{{ '/assets/js/masonry.js' | relative_url }}" type="text/javascript"></script> | ||
{%- endif -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters