Skip to content

Commit 2e06214

Browse files
committed
update website css
1 parent e10c66e commit 2e06214

File tree

114 files changed

+3183
-20243
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+3183
-20243
lines changed

_data/carousel.yml

-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
images:
22
- image: /assets/news/bmes_group1.jpg
33
- image: /assets/news/lab_retreat_09292024.jpg
4-
- image: /assets/news/farewell_gohta_06282024.jpg
54
- image: /assets/news/lab_bbq_05032024.jpg
65
- image: /assets/news/csh_single_cell_analysis_2023-2.jpg
76
- image: /assets/news/lab_retreat_fall2023.gif
87
- image: /assets/news/farewell_brendan_041423.gif
98
- image: /assets/news/PTD_2022.jpg
10-
- image: /assets/news/lab_retreat_summer2022.jpg
119
- image: /assets/news/bioeng22_team.jpeg
12-
- image: /assets/news/lab_event_062022.jpg
1310
- image: /assets/news/lab_hike_D3S6934.jpg
1411

_includes/footer.html

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
<footer class="footer">
1+
<footer class="footer" align="center">
22
<div class="container">
3-
<div class="row" align="center">
4-
<!-- © {{ site.title }} 2015-{{ site.time | date: '%Y' }} --->
3+
<div class="row">
4+
© {{ site.title }} {{ site.time | date: '%Y' }}
55
<br/>
6-
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a><br /><br />This work by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Jean Fan and team</span> is licensed under a <br/><a rel="license" href="http://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International License</a><br />
6+
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><br><img alt="Creative Commons License" style="padding:8px" src="https://i.creativecommons.org/l/by/4.0/88x31.png"/></a>
7+
<br/>
8+
This work by <span xmlns:cc="http://creativecommons.org/ns#" property="cc:attributionName">Jean Fan and team</span> is licensed under a <br/><a rel="license" href="http://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International License</a>
79
</div>
8-
<hr style="height:1px;border-width:0;background-color:#fff;">
10+
11+
<!---
912
<div class="row"><div align="center">
1013
<p>We are a part of</p>
1114
<div class="col-xs-4 col-sm-4">
@@ -25,7 +28,6 @@
2528
</div>
2629
</div></div>
2730
28-
<!---
2931
<div class="row"><div align="center">
3032
<div class="col-xs-4 col-sm-4" align="center">
3133
<a href="https://www.cis.jhu.edu/" target="_blank">
@@ -45,18 +47,17 @@
4547
</div></div>
4648
--->
4749

48-
<hr style="height:1px;border-width:0;background-color:#fff;">
49-
<div class="row"><div align="center">
50+
<br>
51+
52+
<div class="row">
5053
<p>Our work is made possible thanks to the following publicly funded programs</p>
51-
<div class="col-xs-4 col-sm-4">
52-
<img src="/assets/logo/nsf-career.png" width=30%/>
53-
</div>
54-
<div class="col-xs-4 col-sm-4">
55-
<img src="/assets/logo/nih-nigms.png" width=30%/>
56-
</div>
57-
<div class="col-xs-4 col-sm-4">
58-
<img src="/assets/logo/HuBMAP_logo.png" width=60%/>
59-
</div>
60-
</div></div>
54+
<img src="/assets/logo/nsf-career.png" height="100px"/>
55+
56+
<img src="/assets/logo/nih-nigms.png" height="100px"/>
57+
58+
<img src="/assets/logo/HuBMAP_logo.png" height="100px"/>
59+
60+
</div>
61+
6162
</div>
6263
</footer>

_includes/head.html

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55

6-
<!-- <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
6+
<title>JEFworks Lab - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
77
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8-
-->
9-
10-
<title>JEFworks Lab</title>
8+
119
<meta name="description" content="Welcome to the JEFworks Lab where Prof. Jean Fan and team work on computational software and statistical approaches to address questions in developmental and cancer biology. We are a bioinformatics research lab in the Department of Biomedical Engineering at Johns Hopkins University. We develop methods for analyzing single-cell spatially resolved transcriptomic sequencing and imaging data. We apply these methods to better understand the impact of cellular heterogeneity on cancer pathogenesis and prognosis.">
1210
<meta name="keywords" content="bioinformatics, single cell, spatial transcriptomics, spatially resolved transcriptomics, merfish, computational biology, research lab, JHU research opportunities">
1311

_includes/image-gallery.html

+11-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
.image-gallery {overflow: auto; margin-left: -5%!important;}
44
.image-gallery li {float: left; display: block; margin: 0 0 1% 1%; width: 32%;}
55
.image-gallery img {
6-
width: 300px;
7-
height: 300px;
8-
align: center;
9-
object-fit: cover;
10-
border-radius: 9px;
6+
width: 300px;
7+
height: 300px;
8+
align: center;
9+
object-fit: cover;
10+
border-radius: 9px;
1111
}
1212
.image-gallery li a {text-align: center; text-decoration: none!important; color: #777;}
1313
.image-gallery li a img {width: 100%; display: block;}
@@ -17,8 +17,13 @@
1717
{% for item in site.data.carousel.images %}
1818
<li>
1919
<a href="{{ item.image }}">
20-
<img src="{{ item.image }}"/>
20+
<img src="{{ item.image }}">
2121
</a>
2222
</li>
2323
{% endfor %}
2424
</ul>
25+
26+
27+
<!-- lightbox -->
28+
<script type="text/javascript" src="/js/lightbox.js"></script>
29+
<link rel="stylesheet" href="/css/lightbox.css">

_includes/topnav.html

+65-82
Original file line numberDiff line numberDiff line change
@@ -1,103 +1,86 @@
1-
<nav class="navbar navbar-default navbar-fixed-top">
1+
<header class="navbar navbar-fixed-top" role="navigation">
22
<div class="container navbar-container">
3+
34
<div class="navbar-header">
4-
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
5-
<span class="sr-only">Toggle navigation</span>
6-
<span class="icon-bar"></span>
7-
<span class="icon-bar"></span>
8-
<span class="icon-bar"></span>
5+
6+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar" style="color:#fff">
7+
<i class="fa fa-bars"></i>
98
</button>
9+
1010
<a class="navbar-brand" href="{{ site.baseurl }}/">
11-
<span><img src="{{site.baseurl}}/img/logonav.png"></span> {{ site.title }}
11+
<span><img src="{{site.baseurl}}/assets/logo/jefworks_logo_white.svg"></span> {{ site.title }}
1212
</a>
13+
1314
</div>
14-
<div id="navbar" class="collapse navbar-collapse">
15-
<ul class="nav navbar-nav navbar-right">
16-
<li class="nav-item dropdown">
17-
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
18-
About Us
19-
</a>
20-
<ul class="dropdown-menu" role="menu" aria-labelledby="navbarDropdown">
21-
<li {% if page.sectionid=='mission' %} class="active" {% endif %}>
22-
<a class="dropdown-item" href="{{ site.baseurl }}/mission">
23-
Our Mission
15+
16+
<!-- Collect the nav links, forms, and other content for toggling -->
17+
<div id="navbar" class="collapse navbar-collapse navbar-right navbar-main-collapse">
18+
<ul class="nav navbar-nav">
19+
20+
<li class="dropdown">
21+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
22+
About Us <b class="caret"></b>
2423
</a>
24+
<ul class="dropdown-menu">
25+
<li align="right">
26+
<a href="{{ site.baseurl }}/mission">
27+
Our Mission
28+
</a>
29+
<a href="{{ site.baseurl }}/team">
30+
Meet the Team
31+
</a>
32+
<a href="{{ site.baseurl }}/lab">
33+
Lab Resources
34+
</a>
35+
</li>
36+
</ul>
2537
</li>
26-
<li {% if page.sectionid=='team' %} class="active" {% endif %}>
27-
<a class="dropdown-item" href="{{ site.baseurl }}/team">
28-
Our Team
38+
39+
<li>
40+
<a href="{{ site.baseurl }}/publications">
41+
Publications
2942
</a>
3043
</li>
31-
<li {% if page.sectionid=='lab' %} class="active" {% endif %}>
32-
<a class="dropdown-item" href="{{ site.baseurl }}/lab">
33-
Our Lab
34-
</a>
35-
</li>
44+
45+
<li class="dropdown">
46+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
47+
Contributions <b class="caret"></b>
48+
</a>
49+
<ul class="dropdown-menu" role="menu" aria-labelledby="navbarDropdown">
50+
<li align="right">
51+
<a class="dropdown-item" href="{{ site.baseurl }}/software">
52+
Software
53+
</a>
54+
<a class="dropdown-item" href="{{ site.baseurl }}/teaching">
55+
Courses
56+
</a>
57+
<a class="dropdown-item" href="{{ site.baseurl }}/talks">
58+
Talks
59+
</a>
60+
</li>
3661
</ul>
3762
</li>
38-
39-
<li {% if page.sectionid=='publications' %} class="active" {% endif %}>
40-
<a href="{{ site.baseurl }}/publications">
41-
Our Publications
42-
</a>
43-
</li>
4463

45-
<li class="nav-item dropdown">
46-
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
47-
Our Contributions
64+
<li>
65+
<a href="{{ site.baseurl }}/join">
66+
Join
4867
</a>
49-
<ul class="dropdown-menu" role="menu" aria-labelledby="navbarDropdown">
50-
<li {% if page.sectionid=='software' %} class="active" {% endif %}>
51-
<a class="dropdown-item" href="{{ site.baseurl }}/software">
52-
Our Software
53-
</a>
54-
</li>
55-
<li {% if page.sectionid=='teaching' %} class="active" {% endif %}>
56-
<a class="dropdown-item" href="{{ site.baseurl }}/teaching">
57-
Our Courses
58-
</a>
59-
</li>
60-
<li {% if page.sectionid=='talks' %} class="active" {% endif %}>
61-
<a class="dropdown-item" href="{{ site.baseurl }}/talks">
62-
Our Talks
63-
</a>
64-
</li>
65-
</ul>
66-
</li>
67-
68-
<li {% if page.sectionid=='blog' %} class="active" {% endif %}>
69-
<a href="{{ site.posts.first.url | prepend: site.baseurl }}">Blog</a>
7068
</li>
7169

72-
<li {% if page.sectionid=='contact' %} class="active" {% endif %}>
70+
<li>
7371
<a href="{{ site.baseurl }}/contact">
7472
Contact
7573
</a>
7674
</li>
77-
78-
<li style="margin:-13px 0px">
79-
<a href="{{ site.baseurl }}/join">
80-
<button type="button"
81-
{% if page.sectionid=='join' %}
82-
class="btn btn-primary"
83-
{% elsif page.section != 'join' %}
84-
class="btn btn-warning"
85-
{% endif %}
86-
>Join Us</button>
87-
</a>
88-
</li>
89-
90-
</ul>
91-
<!---
92-
<div class="navbar-right">
93-
<form class="navbar-form navbar-left">
94-
<div class="form-group has-feedback">
95-
<input id="search-box" type="text" class="form-control" placeholder="Search...">
96-
<i class="fa fa-search form-control-feedback"></i>
97-
</div>
98-
</form>
99-
</div>
100-
--->
75+
76+
<li>
77+
<a href="{{ site.posts.first.url | prepend: site.baseurl }}">
78+
Blog
79+
</a>
80+
</li>
81+
82+
</ul>
10183
</div>
102-
</div>
103-
</nav>
84+
</div>
85+
</header>
86+

_layouts/default.html

+7-11
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% if page.image != null %}
1111
<div class='banner' style="
1212
background: url('/img/pattern.png') top left repeat,
13-
url( {{ page.image }}) top center / cover no-repeat;
13+
url( {{ page.image }}) center center / cover no-repeat;
1414
position: relative;
1515
">
1616
{% if page.desc != null %}
@@ -20,22 +20,18 @@
2020
top: 50%;
2121
transform: translateY(-50%);
2222
">
23-
<div class="container"><div class="row"><div class="col-sm-12">
24-
<h1 class="display-1">{{ page.desc }}</h1>
25-
</div></div></div>
23+
<div class="container center-container">
24+
<div class="col-xs-12 col-md-9">
25+
<h1>{{ page.desc }}</h1>
26+
</div>
27+
</div>
2628
</div>
2729
{% endif %}
2830
</div>
2931
{% endif %}
3032

3133
<div class="page-content">
32-
<div class="wrapper">
33-
<div class="container">
34-
<div class="row"><div class="col-sm-12">
35-
{{ content }}
36-
</div></div>
37-
</div>
38-
</div>
34+
{{ content }}
3935
</div>
4036

4137
{% include footer.html %}

_layouts/default2.html

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
{% include head.html %}
5+
6+
<body>
7+
8+
{% include topnav.html %}
9+
10+
{% if page.image != null %}
11+
<div class='banner' style="
12+
background: url('/img/pattern.png') top left repeat,
13+
url( {{ page.image }}) center center / cover no-repeat;
14+
position: relative;
15+
">
16+
{% if page.desc != null %}
17+
<div align="center" style="color: #ffffff; text-shadow: 0px 0px 8px #000000;
18+
position: absolute;
19+
width: 100%;
20+
top: 50%;
21+
transform: translateY(-50%);
22+
">
23+
<div class="container center-container">
24+
<div class="col-xs-12 col-md-9">
25+
<h1>{{ page.desc }}</h1>
26+
</div>
27+
</div>
28+
</div>
29+
{% endif %}
30+
</div>
31+
{% endif %}
32+
33+
<div class="page-content">
34+
<div class="container page-pad">
35+
<div class="row">
36+
{{ content }}
37+
</div>
38+
</div>
39+
</div>
40+
41+
{% include footer.html %}
42+
{% include js_files.html %}
43+
44+
</body>
45+
46+
</html>

_layouts/news.html

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
layout: default
33
---
44

5+
<div class="container">
6+
<div class="row">
7+
58
<h1>{{ page.date | date: "%b %-d, %Y" }}</h1>
69
<p>{{ page.title }}</p>
710
<div id="markdown-content-container">{{ content }}</div>
11+
12+
</div>
13+
</div>

0 commit comments

Comments
 (0)