Difference between revisions of "Template:Uppsala/main template"

Line 32: Line 32:
 
     --background: #F9F9f9;
 
     --background: #F9F9f9;
 
   
 
   
     @import url('https://fonts.googleapis.com/css?family=Raleway|Roboto:100,300,300i');
+
     /* @import url('https://fonts.googleapis.com/css?family=Raleway|Roboto:100,300,300i');
 
     @import url('https://fonts.googleapis.com/css?family=PT+Serif:700, 400');
 
     @import url('https://fonts.googleapis.com/css?family=PT+Serif:700, 400');
     @import url('https://fonts.googleapis.com/css?family=Raleway:100,100i,300,400,500,700,900');
+
     @import url('https://fonts.googleapis.com/css?family=Raleway:100,100i,300,400,500,700,900'); */
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
/* thin      = fontnamne-100
 +
    regular  = fontname-400
 +
    medium  = -600
 +
    bold      = -700 */
 +
 
 +
@font-face{
 +
font-family: 'Raleway-700';
 +
src: url('https://static.igem.org/mediawiki/2018/3/3d/T--Uppsala--Font-Raleway-Bold.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/8/88/T--Uppsala--Font-Raleway-Bold.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'Raleway-600';
 +
src: url('https://static.igem.org/mediawiki/2018/f/fd/T--Uppsala--Font-Raleway-Medium.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/6/65/T--Uppsala--Font-Raleway-Medium.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'Raleway-400';
 +
src: url('https://static.igem.org/mediawiki/2018/9/92/T--Uppsala--Font-Raleway-Regular.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/1/16/T--Uppsala--Font-Raleway-Regular.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'Raleway-100';
 +
src: url('https://static.igem.org/mediawiki/2018/8/8a/T--Uppsala--Font-Raleway-Thin.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/a/a0/T--Uppsala--Font-Raleway-Thin.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'PT-serif-400i';
 +
src: url('https://static.igem.org/mediawiki/2018/9/9b/T--Uppsala--Font-PT-Serif-web-Italic.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/2/20/T--Uppsala--Font-PT-Serif-Web-Italic.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'PT-serif-400';
 +
src: url('https://static.igem.org/mediawiki/2018/9/97/T--Uppsala--Font-PT-Serif-Web-regular.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/c/c5/T--Uppsala--Font-PT-Serif-web-regular.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'PT-serif-700';
 +
src: url('https://static.igem.org/mediawiki/2018/a/af/T--Uppsala--Font-PT-Serif-Bold.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/f/f0/T--Uppsala--Font-PT-Serif-Bold.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'Roboto-100';
 +
src: url('https://static.igem.org/mediawiki/2018/b/bb/T--Uppsala--Roboto--Thin.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/f/fe/T--Uppsala--Roboto--Thin.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'Roboto-400';
 +
src: url('https://static.igem.org/mediawiki/2018/4/4e/T--Uppsala--Roboto--Regular.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/1/18/T--Uppsala--Fonts--Roboto-Regular.ttf') format('truetype')   
 +
}
 +
 
 +
@font-face{
 +
font-family: 'Roboto-600';
 +
src: url('https://static.igem.org/mediawiki/2018/e/e4/T--Uppsala--Roboto--Medium.woff') format('woff'),
 +
        url('https://static.igem.org/mediawiki/2018/e/e4/T--Uppsala--Roboto--Medium.ttf') format('truetype')   
 +
}
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
  
  
Line 53: Line 135:
 
     width: 100%;
 
     width: 100%;
 
     height: 100%;
 
     height: 100%;
     font-family: 'Raleway', sans-serif;
+
     /*font-family: 'Raleway', sans-serif;*/
 
     font-size: 15px;
 
     font-size: 15px;
     font-weight: 400;
+
     /*font-weight: 400;*/
 +
    font-family: 'Raleway-400', sans-serif;
 
     line-height: 1.6;
 
     line-height: 1.6;
 
     -webkit-text-size-adjust: 100%;
 
     -webkit-text-size-adjust: 100%;
Line 65: Line 148:
 
p {
 
p {
 
    
 
    
     font-family: "Roboto", serif;
+
     font-family: 'Roboto-400', serif;
  
 
}
 
}
Line 72: Line 155:
  
  
     font-family:  'PT Serif', serif;
+
     font-family:  'PT-serif-400', serif;
   /* font-family: "Raleway", serif; */
+
   /* font-family: "Raleway-400", serif; */
  
 
}
 
}
Line 633: Line 716:
 
                 margin: 1px;
 
                 margin: 1px;
 
                 /*padding: 15px 25px;*/
 
                 /*padding: 15px 25px;*/
                 font-weight: 600;
+
                 /*font-weight: 600;*/
 +
                font-family: 'Roboto-600', serif;
 
                 color: black;
 
                 color: black;
 
                 /*border: 1px solid transparent;*/
 
                 /*border: 1px solid transparent;*/
Line 750: Line 834:
 
     border-radius: 5px 4px 0 0;
 
     border-radius: 5px 4px 0 0;
 
     font-size: calc(0.8vw + 8px);
 
     font-size: calc(0.8vw + 8px);
     font-weight: 700;
+
     /*font-weight: 700;
     font-family: 'PT Serif', serif;
+
     font-family: 'PT Serif', serif;*/
 +
    font-family: 'PT-serif-700', serif;
 
     text-transform: uppercase;
 
     text-transform: uppercase;
 
     background: var(--igem-red);
 
     background: var(--igem-red);
Line 841: Line 926:
  
 
#HQ_page h1, h2, h3, h4, h5 {
 
#HQ_page h1, h2, h3, h4, h5 {
         font-family: 'PT Serif', serif;
+
         /*font-family: 'PT Serif', serif;*/
 
     border-bottom: none;
 
     border-bottom: none;
     font-weight: normal;  
+
     /*font-weight: normal; */
 +
    font-family: 'PT-serif-400', serif;
 
   
 
   
  
Line 872: Line 958:
 
     /* height: 35px; */
 
     /* height: 35px; */
 
     font-size: 14px !important;
 
     font-size: 14px !important;
     font-family: 'Roboto', sans-serif !important;
+
     /*font-family: 'Roboto', sans-serif !important;*/
 +
    font-family: 'Roboto-400', sans-serif !important;
 
     padding: 10px 10px !important;
 
     padding: 10px 10px !important;
 
     background: navajowhite !important;
 
     background: navajowhite !important;
Line 892: Line 979:
 
/* FOR THE ANCHAR TAGS AND LINKS */
 
/* FOR THE ANCHAR TAGS AND LINKS */
  
@import url('https://fonts.googleapis.com/css?family=Roboto:100,400,500,700');
+
/*@import url('https://fonts.googleapis.com/css?family=Roboto:100,400,500,700');*/
  
  
Line 900: Line 987:
 
     color:  #ce9090;
 
     color:  #ce9090;
 
     /* color: #8b1a32; */
 
     /* color: #8b1a32; */
     font-weight: 400;
+
     /*font-weight: 400;*/
 +
    font-family: 'Roboto-400', serif;
 
     transition: 0.3s ease;
 
     transition: 0.3s ease;
 
}
 
}
Line 908: Line 996:
 
.content a:hover {
 
.content a:hover {
 
     color: #8b1a32;
 
     color: #8b1a32;
     font-weight: 400;
+
     /*font-weight: 400;*/
 +
    font-family: 'Roboto-400', serif;
 
     transition: 0.2s ease;
 
     transition: 0.2s ease;
 
}
 
}

Revision as of 23:45, 17 October 2018