Difference between revisions of "Template:USTC-Software/css/pageContent"

(Created page with "/*the passage style*/ .page-content > .card-body { font-size: 16px; padding: 2em; } the passage title style: .page-content > .card-body h1{ line-height: 3em;...")
 
Line 1: Line 1:
/*the passage style*/
+
@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 {
 
.page-content > .card-body {
     font-size: 16px;
+
     font-size: 18px;
     padding: 2em;
+
     padding: 3em;
 +
    font-family: ubuntu, serif;
 
}
 
}
/* the passage title style */
+
/* the article title style */
 
.page-content > .card-body h1{
 
.page-content > .card-body h1{
 
     line-height: 3em;
 
     line-height: 3em;
 
     text-align: center;
 
     text-align: center;
 +
    font-family: alegreya, serif;
 +
    font-weight: bold;
 
}
 
}
 
/*the article title style*/
 
/*the article title style*/
 
.page-content > .card-body h3{
 
.page-content > .card-body h3{
 
     line-height: 3em;
 
     line-height: 3em;
 +
    font-family: alegreya, serif;
 +
    font-weight: bold;
 
}
 
}
 
/*the article 2nd title style*/
 
/*the article 2nd title style*/
 
.page-content > .card-body h4{
 
.page-content > .card-body h4{
 
     line-height: 2em;
 
     line-height: 2em;
 +
    font-family: alegreya, serif;
 +
    font-weight: bold;
 +
}
 +
/*the article passage style*/
 +
.page-content > .card-body .passage{
 +
    line-height: 1.5em;
 +
    color: #575246;
 +
    font-family: ubuntu, serif;
 +
    /*word-break: break-all;*/
 +
    text-align: justify;
 
}
 
}

Revision as of 10:36, 14 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;

} /* the article title style */ .page-content > .card-body h1{

   line-height: 3em;
   text-align: center;
   font-family: alegreya, serif;
   font-weight: bold;

} /*the article title style*/ .page-content > .card-body h3{

   line-height: 3em;
   font-family: alegreya, serif;
   font-weight: bold;

} /*the article 2nd title style*/ .page-content > .card-body h4{

   line-height: 2em;
   font-family: alegreya, serif;
   font-weight: bold;

} /*the article passage style*/ .page-content > .card-body .passage{

   line-height: 1.5em;
   color: #575246;
   font-family: ubuntu, serif;
   /*word-break: break-all;*/
   text-align: justify;

}