Difference between revisions of "Template:XJTU-China/style"

Line 27: Line 27:
 
     font-family: "eras";
 
     font-family: "eras";
 
     src: url('https://static.igem.org/mediawiki/2021/7/70/T--XJTU-China--eras_md.ttf') format('truetype');
 
     src: url('https://static.igem.org/mediawiki/2021/7/70/T--XJTU-China--eras_md.ttf') format('truetype');
 +
    font-weight: normal;
 +
font-style: normal;
 +
}
 +
@font-face {
 +
    font-family: "britanic";
 +
    src: url('https://static.igem.org/mediawiki/2021/8/81/T--XJTU-China--britanic.ttf') format('truetype');
 
     font-weight: normal;
 
     font-weight: normal;
 
font-style: normal;
 
font-style: normal;
Line 71: Line 77:
  
 
h1,h2,h3,h4,h5,h6{
 
h1,h2,h3,h4,h5,h6{
     font-family: 'eras',sans-serif;
+
     font-family: 'britanic',sans-serif;
 
     color: #222;
 
     color: #222;
 
}
 
}
Line 150: Line 156:
  
 
.header_area .navbar .nav .nav-item .nav-link {
 
.header_area .navbar .nav .nav-item .nav-link {
 +
    font-family: 'britanic'!important;
 
     font-weight: 600;
 
     font-weight: 600;
 
     font-size: 21px;
 
     font-size: 21px;
Line 379: Line 386:
 
}
 
}
  
 +
hr.glyph {
 +
    overflow: visible; /* For IE */
 +
    padding: 0;
 +
    border: none;
 +
    border-top: medium double #333;
 +
    color: #333;
 +
    text-align: center;
 +
}
 +
hr.glyph:after {
 +
    content: "§";
 +
    display: inline-block;
 +
    position: relative;
 +
    top: -0.7em;
 +
    font-size: 1.5em;
 +
    padding: 0 0.25em;
 +
    background: white;
 +
}
  
  

Revision as of 08:40, 28 August 2021