Skip to content

Commit 6a2731e

Browse files
committed
change style of latest news - seil
1 parent 115d2a0 commit 6a2731e

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

css/style.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
body {
1+
/* body {
22
font-family: Arial, sans-serif;
33
background-color: #f8f9fa;
44
color: #333;
@@ -63,4 +63,4 @@ body {
6363
.img-fluid {
6464
max-width: 100%;
6565
height: auto;
66-
}
66+
} */

css/wowchemy.css

+26
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,32 @@ pre {
574574
flex: 0 0 91.66666667%;
575575
max-width: 91.66666667%; }
576576

577+
578+
.centered-block {
579+
margin: 0 auto;
580+
max-width: 1200px;
581+
padding: 1rem 10rem 1rem 10rem;
582+
}
583+
584+
@media (max-width: 1199px) {
585+
.centered-block {
586+
max-width: 100px;
587+
}
588+
}
589+
590+
@media (max-width: 991px) {
591+
.centered-block {
592+
max-width: 800px;
593+
}
594+
}
595+
596+
@media (max-width: 767px) {
597+
.centered-block {
598+
max-width: 90%;
599+
}
600+
}
601+
602+
577603
.col-12 {
578604
flex: 0 0 100%;
579605
max-width: 100%; }

index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" integrity=""
2424
crossorigin="anonymous" async></script>
2525
<link rel="stylesheet" href="/css/wowchemy.css" />
26+
<link rel="stylesheet" href="styles.css">
2627
<link rel="stylesheet" href="/css/libs/chroma/github-light.min.css" title="hl-light" media="print"
2728
onload="this.media='all'">
2829
<link rel="stylesheet" href="/css/libs/chroma/dracula.min.css" title="hl-dark" media="print"
@@ -444,7 +445,7 @@ <h3>Xingchen Zhao</h3>
444445
<div class="col-12 text-center">
445446
<h1>Research Topics</h1>
446447
</div>
447-
<div class="col-12">
448+
<div class="col-12 centered-block">
448449
<h2 id="medical-imaging">Medical imaging analysis</h2>
449450
<ul>
450451
<li>Alzheimer's Disease Analysis with MRI/PET/DTI</li>

0 commit comments

Comments
 (0)