Line 49: | Line 49: | ||
/*the img in the article style*/ | /*the img in the article style*/ | ||
.page-content > .card-body .psgImg img{ | .page-content > .card-body .psgImg img{ | ||
− | height: | + | max-height: 380px; |
+ | margin-top: 0.75em; | ||
+ | } | ||
+ | /*the reference title style*/ | ||
+ | .page-content > .card-body h2.ref { | ||
+ | line-height: 3em; | ||
+ | text-align: center; | ||
+ | margin: 0 !important; | ||
+ | font-family: alegreya, serif !important; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | /*the reference list style*/ | ||
+ | .page-content > .card-body .ref-list ul{ | ||
+ | font-style: italic; | ||
+ | color: #403f3c; | ||
} | } |
Revision as of 01:28, 15 October 2019
@font-face {
font-family: ubuntu; src: url("https://static.igem.org/mediawiki/2019/c/c8/T--USTC-Software--ubuntu.woff");
} @font-face {
font-family: alegreya; src: url("https://static.igem.org/mediawiki/2019/6/6e/T--USTC-Software--alegreya.woff");
} @font-face {
font-family: amaranth; src: url("https://static.igem.org/mediawiki/2019/6/6e/T--USTC-Software--amaranth.woff");
} /*the article style*/ .page-content > .card-body {
font-size: 18px; padding: 3em; font-family: ubuntu, serif !important;
} /* the article title style */ .page-content > .card-body h1{
line-height: 3em; text-align: center; margin: 0 !important; font-family: alegreya, serif !important; font-weight: bold;
} /*the article title style*/ .page-content > .card-body h3{
line-height: 3em; margin: 0 !important; font-family: alegreya, serif !important; font-weight: bold;
} /*the article 2nd title style*/ .page-content > .card-body h4{
line-height: 2em; margin: 0 !important; font-family: alegreya, serif !important; font-weight: bold;
} /*the article passage style*/ .page-content > .card-body .passage{
line-height: 1.5em; color: #575246; font-family: ubuntu, serif !important; word-break: break-all; text-align: justify;
} /*the img in the article style*/ .page-content > .card-body .psgImg img{
max-height: 380px; margin-top: 0.75em;
} /*the reference title style*/ .page-content > .card-body h2.ref {
line-height: 3em; text-align: center; margin: 0 !important; font-family: alegreya, serif !important; font-weight: bold;
} /*the reference list style*/ .page-content > .card-body .ref-list ul{
font-style: italic; color: #403f3c;
}