Difference between revisions of "Team:ZJU-China/pageCSS"

 
(79 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption{
+
@font-face {
    margin: 0;
+
font-family: Sarpanch;
    padding: 0;
+
src: url(https://static.igem.org/mediawiki/2018/e/e0/T--ZJU-China--airborne.ttf) format('truetype');
    border: 0;
+
    outline: 0;
+
    font-size: 100%;
+
    vertical-align: baseline;
+
    background: transparent;
+
 
}
 
}
  
.title {
+
@font-face {
height: auto;
+
font-family: Saira;
width: 90%;
+
src: url(https://static.igem.org/mediawiki/2018/1/10/T--ZJU-China--sackers.otf) format('truetype');
margin-left: auto;
+
margin-right: auto;
+
margin-top: 20%;
+
font-family: 'IM Fell DW Pica SC', serif;
+
font-weight: lighter;
+
/*border: 1px dashed black;*/
+
position: relative;
+
 
}
 
}
  
.tl {
+
@font-face {
font-family: 'IM Fell DW Pica SC';
+
font-family: Play;
font-weight: lighter;
+
src: url(https://static.igem.org/mediawiki/2018/6/61/T--ZJU-China--cotham.otf) format('truetype');
color: #222222;
+
font-size: 6em;
+
text-align: right;
+
text-indent: 2em;
+
 
}
 
}
  
.tl:after {
+
@font-face {
content: '';
+
font-family: Intro;
position: absolute;
+
src: url(https://static.igem.org/mediawiki/2018/b/b0/T--ZJU-China--Jura-Medium.ttf) format('truetype');
margin: 0;
+
padding: 0;
+
border: 3.5px #5b80ae solid;
+
height: 100%;
+
width: 0;
+
top: 0;
+
 
}
 
}
  
.tl h5 {
+
@font-face{
margin: 0;
+
font-family: CntLeft;
font-family: 'IM Fell DW Pica SC', cursive;
+
src: url(https://static.igem.org/mediawiki/2018/b/b0/T--ZJU-China--Jura-Medium.ttf) format('truetype');
font-size: .8em;
+
font-weight: lighter;
+
color: gray;
+
 
}
 
}
  
.intro {
+
@font-face{
margin-top: 2em;
+
font-family: PsgRight;
font-family: 'Saira';
+
src: url(https://static.igem.org/mediawiki/2018/9/9e/T--ZJU-China--HELVETICA.TTF) format('truetype');
font-weight: 600 !important;
+
font-size: 1.6em;
+
 
}
 
}
  
.element1 {
+
.psg_subtitle {
width: 100%;
+
font-family: 'trebuchet ms' !important;
min-height: 100%;
+
/*position: absolute;*/
+
float: left;
+
/*display: inline;*/
+
margin-top: 5%;
+
left: 5%;
+
box-shadow: 0 0 6px 3px darkgray ;
+
 
}
 
}
  
.element1:before {
+
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption{
content: '';
+
    margin: 0;
display: inline;
+
    padding: 0;
position: relative;
+
    border: 0;
left: 0;
+
    outline: 0;
top: 0;
+
    font-size: 100%;
width: 1px;
+
    vertical-align: baseline;
padding: 0;
+
    background: transparent;
margin-top: 0;
+
margin-bottom: 0;
+
height: 1000px;
+
/*height: 10000%;*/
+
background-color: #494E6B;
+
border: 4px solid #494e6b;
+
/*border: darkred;*/
+
 
}
 
}
  
.element1 h5 {
+
table {
font-size: 2em;
+
  margin-left: auto !important;
text-indent: 1em;
+
  margin-right: auto !important;
font-family: 'sackers';
+
  margin-top: 2em !important;
display: inline-block;
+
  border: none !important;
 
}
 
}
  
.element1 p{
+
td {
margin-left: 5%;
+
  border: none !important;
margin-right: 5%;
+
font-family: gigi;
+
display: inline-block;
+
 
}
 
}
  
.element1 img {
+
th {
width: 86%;
+
  border-left: none !important;
margin-left: 7%;
+
  border-right: none !important;
 +
  border-top: none !important;
 +
  border-bottom: 3px solid #ccc;
 +
  background-color: transparent !important;
 
}
 
}
  
.panel-heading > h5 {
+
a {
font-family: concorde;
+
    text-decoration: none !important;
font-size: 1.2em;
+
line-height: 2em;
+
 
}
 
}
  
 
+
html, body, .globalWrapper {
.intro, .cnt_psg {
+
    width: 100%;
width: 82%;
+
/*margin-top: 10em;*/
+
margin-left: 12%;
+
line-height: 1.5em;
+
/*font-family: 'sackers';*/
+
/*font-size: 1em;*/
+
 
}
 
}
 
+
.logo_2018 {
.cnt_psg {
+
display: none;
margin-top: 5em;
+
+
 
}
 
}
  
.cnt {
 
width: 17%;
 
position: fixed;
 
/*border: 1px solid black;*/
 
height: 100px;
 
top: 20%;
 
margin-left: -8%;
 
display: none;
 
/*font-family: manksans;*/
 
 
/*box-shadow: 0 0 10px 2px steelblue ;*/
 
}
 
 
/*.cnt:before {
 
content: '';
 
height: 100%;
 
background-color: black;
 
width: 2px;
 
position: absolute;
 
margin-top: 0;
 
left: 0;
 
}*/
 
  
 
.cnt > p {
 
.cnt > p {
 
display: block;
 
display: block;
vertical-align: middle;
+
vertical-align: middle !important;
font-size: .9em;
+
font-size: .65em !important ;
 
line-height: 2em;
 
line-height: 2em;
font-family: 'Play';
+
font-family: 'CntLeft' !important ;
 
font-weight: normal;
 
font-weight: normal;
 
 
}
 
}
  
Line 161: Line 87:
 
color: #6699a1 !important;
 
color: #6699a1 !important;
 
font-weight: bolder;
 
font-weight: bolder;
}
 
 
.cnt_p:after {
 
content: '';
 
/*height: 0 !important;
 
width: 100%;
 
border: solid 0.5px lightsteelblue;
 
position: absolute;
 
margin-top: 2.2em;
 
font-size: 1em;
 
right: 0;*/
 
height: 2em;
 
display: none;
 
border: 1px solid #33a6b8;
 
/*border-color: inherit;*/
 
position: absolute;
 
margin-top: 0;
 
left: 0;
 
width: 0;
 
 
}
 
}
  
Line 187: Line 94:
 
}
 
}
  
.psg p {
+
.psg > p {
font-size: 1.4em;
+
line-height: 2em;
line-height: 1.5em;
+
font-family: "trebuchet ms", sans-serif !important;
font-family: 'Harmattan', sans-serif;
+
font-size: .8em !important;
font-size: 1.5em;
+
font-weight: normal;
font-weight: 100;
+
        padding-left: 2em !important;
 
}
 
}
  
 
.psg_ttl {
 
.psg_ttl {
 
font-family: 'Saira' !important;
 
font-family: 'Saira' !important;
font-size: 2em !important;
+
font-size: 1.5em !important;
 
color: steelblue;
 
color: steelblue;
 
font-weight: 1200 !important;
 
font-weight: 1200 !important;
margin-top: 2em;
+
margin-bottom: 0em;
margin-bottom: 1em;
+
        line-height: 2.5em;
 +
      margin-top: .3em !important;
 
}
 
}
  
Line 215: Line 123:
 
margin-left: auto;
 
margin-left: auto;
 
margin-right: auto;
 
margin-right: auto;
/*border: #000000 solid 1px;*/
 
 
}
 
}
  
.psg > h5 {
+
.psg > h5,
 +
.psg > h5 > h5 {
 
text-align: center;
 
text-align: center;
font-family: 'Harmattan';
+
font-family: 'trebuchet ms' !important;
font-size: 1.4em;
+
font-size: .7em !important;
 +
        line-height: 1.8em !important;
 
}
 
}
  
Line 230: Line 139:
  
 
td > span {
 
td > span {
font-family: 'Harmattan';
+
font-family: 'Harmattan' !important;
 
}
 
}
  
 
th > span {
 
th > span {
font-family: 'Harmattan';
+
font-family: 'Harmattan' !important;
 
font-weight: bolder;
 
font-weight: bolder;
 
}
 
}
Line 247: Line 156:
 
     margin-top: 40px;
 
     margin-top: 40px;
 
     height: 2px;
 
     height: 2px;
     width: 90%;
+
     width: 92%;
 
     border: none;
 
     border: none;
 
     background-color: white;
 
     background-color: white;
Line 254: Line 163:
  
  
 +
.title {
 +
display: block !important;
 +
height: auto;
 +
width: 90%;
 +
margin-left: auto;
 +
margin-right: auto;
 +
margin-top: 27%;
 +
margin-bottom: 2%;
 +
font-weight: bolder;
 +
position: relative;
 +
}
  
 +
.tl {
 +
font-family: 'Sarpanch', sans-serif !important;
 +
font-weight: bolder;
 +
color: #222222;
 +
font-size: 5em !important;
 +
text-align: right;
 +
text-indent: 2em;
 +
        line-height: 1em;
 +
}
  
/*SPONSERS*/
+
.tl:after {
 +
content: '';
 +
position: absolute;
 +
margin: 0;
 +
padding: 0;
 +
border: 3.5px #5b80ae solid;
 +
height: 100%;
 +
width: 0;
 +
top: 0;
 +
}
  
.sponsors {
+
.tl h5 {
float: right;
+
margin: 0;
bottom: 0;
+
font-family: 'Sarpanch', sans-serif  !important;
width: 105%;
+
font-size: .8em !important;
margin-bottom: 2em;
+
font-weight: bolder;
/*background-color: black;*/
+
color: gray;
text-align: center;
+
 
}
 
}
  
.sponsor_ttl {
+
.intro {
width: 100%;
+
margin-top: 2em;
position: relative;
+
font-family: 'PsgRight' !important;
padding: 0;
+
font-weight: 500 !important;
margin-top: 0;
+
font-size: .8em !important;
margin-left: 0;
+
}
font-size: 2em;
+
 
/*color: white;*/
+
.intro p{
 +
margin-top: 2em;
 +
font-family: 'PsgRight' !important;
 +
font-weight: 600 !important;
 +
font-size: 1.1em !important;
 +
line-height: 2em;
 +
}
 +
 
 +
 
 +
.panel-heading > h5 {
 +
font-family: concorde;
 +
font-size: 1.2em;
 
line-height: 2em;
 
line-height: 2em;
text-align: center ;
 
 
}
 
}
  
.sponsor_ttl:before,
 
.sponsor_ttl:after {
 
    content: '';
 
    position: absolute;
 
    left: 5%;
 
    height: 1px;
 
    width: 90% !important;
 
    background-image: repeating-linear-gradient(-45deg, white, gray, 10px, transparent 10px, transparent 8px);
 
}
 
  
.sponsor_ttl:before {
+
.intro, .cnt_psg {
margin-top: 0;
+
width: 88%;
 +
margin-left: 6%;
 +
line-height: 1.5em;
 
}
 
}
  
.sponsor_ttl:after {
+
.cnt_psg {
margin-top: 2em;
+
margin-top: 5em;
 +
 
}
 
}
  
.sponsors img {
+
.cnt {
max-width: 30% !important;
+
width: 17%;
height: auto;
+
position: fixed;
margin-left: 1%;
+
height: 100px;
margin-top: 2%;
+
top: 20%;
 +
margin-left: -8%;
 +
display: none;
 
}
 
}
  
 +
.psg_subtitle {
 +
font-family: 'trebuchet ms' !important;
 +
}
  
.sponsor_ttl {
+
.tab-pane > p, td > span,
font-family: 'Saira';
+
th>span {
color: gray;  
+
font-family: 'trebuchet ms' !important;
font-weight: 10;
+
font-size: .8em !important;
 +
padding-left: 2em !important;
 
}
 
}

Latest revision as of 03:49, 18 October 2018

@font-face { font-family: Sarpanch; src: url(https://static.igem.org/mediawiki/2018/e/e0/T--ZJU-China--airborne.ttf) format('truetype'); }

@font-face { font-family: Saira; src: url(https://static.igem.org/mediawiki/2018/1/10/T--ZJU-China--sackers.otf) format('truetype'); }

@font-face { font-family: Play; src: url(https://static.igem.org/mediawiki/2018/6/61/T--ZJU-China--cotham.otf) format('truetype'); }

@font-face { font-family: Intro; src: url(https://static.igem.org/mediawiki/2018/b/b0/T--ZJU-China--Jura-Medium.ttf) format('truetype'); }

@font-face{ font-family: CntLeft; src: url(https://static.igem.org/mediawiki/2018/b/b0/T--ZJU-China--Jura-Medium.ttf) format('truetype'); }

@font-face{ font-family: PsgRight; src: url(https://static.igem.org/mediawiki/2018/9/9e/T--ZJU-China--HELVETICA.TTF) format('truetype'); }

.psg_subtitle { font-family: 'trebuchet ms' !important; }

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption{

   margin: 0;
   padding: 0;
   border: 0;
   outline: 0;
   font-size: 100%;
   vertical-align: baseline;
   background: transparent;

}

table {

 margin-left: auto !important;
 margin-right: auto !important;
 margin-top: 2em !important;
 border: none !important;

}

td {

 border: none !important;

}

th {

 border-left: none !important;
 border-right: none !important;
 border-top: none !important;
 border-bottom: 3px solid #ccc;
 background-color: transparent !important;

}

a {

   text-decoration: none !important;

}

html, body, .globalWrapper {

   width: 100%;

} .logo_2018 {

display: none;

}


.cnt > p { display: block; vertical-align: middle !important; font-size: .65em !important ; line-height: 2em; font-family: 'CntLeft' !important ; font-weight: normal; }

.cnt_p:hover { color: #6699a1 !important; font-weight: bolder; }

.psg { width: 85%; float: right; }

.psg > p { line-height: 2em; font-family: "trebuchet ms", sans-serif !important; font-size: .8em !important; font-weight: normal;

       padding-left: 2em !important;

}

.psg_ttl { font-family: 'Saira' !important; font-size: 1.5em !important; color: steelblue; font-weight: 1200 !important; margin-bottom: 0em;

       line-height: 2.5em;
      margin-top: .3em !important;

}

table { margin-top: 4em; width: 80% !important; margin-left: auto; margin-right: auto; }

.psg > img { display: block; margin-left: auto; margin-right: auto; }

.psg > h5, .psg > h5 > h5 { text-align: center; font-family: 'trebuchet ms' !important; font-size: .7em !important;

       line-height: 1.8em !important;

}

.psg > div { margin-top: 2em; margin-bottom: 2em; }

td > span { font-family: 'Harmattan' !important; }

th > span { font-family: 'Harmattan' !important; font-weight: bolder; }

td, th { text-align: center; }

hr {

   margin-left: auto;
   margin-right: auto;
   margin-top: 40px;
   height: 2px;
   width: 92%;
   border: none;
   background-color: white;
   background-image: repeating-linear-gradient(-45deg, white, gray, 10px, transparent 10px, transparent 8px);

}


.title { display: block !important; height: auto; width: 90%; margin-left: auto; margin-right: auto; margin-top: 27%; margin-bottom: 2%; font-weight: bolder; position: relative; }

.tl { font-family: 'Sarpanch', sans-serif !important; font-weight: bolder; color: #222222; font-size: 5em !important; text-align: right; text-indent: 2em;

       line-height: 1em;

}

.tl:after { content: ; position: absolute; margin: 0; padding: 0; border: 3.5px #5b80ae solid; height: 100%; width: 0; top: 0; }

.tl h5 { margin: 0; font-family: 'Sarpanch', sans-serif !important; font-size: .8em !important; font-weight: bolder; color: gray; }

.intro { margin-top: 2em; font-family: 'PsgRight' !important; font-weight: 500 !important; font-size: .8em !important; }

.intro p{ margin-top: 2em; font-family: 'PsgRight' !important; font-weight: 600 !important; font-size: 1.1em !important; line-height: 2em; }


.panel-heading > h5 { font-family: concorde; font-size: 1.2em; line-height: 2em; }


.intro, .cnt_psg { width: 88%; margin-left: 6%; line-height: 1.5em; }

.cnt_psg { margin-top: 5em;

}

.cnt { width: 17%; position: fixed; height: 100px; top: 20%; margin-left: -8%; display: none; }

.psg_subtitle { font-family: 'trebuchet ms' !important; }

.tab-pane > p, td > span, th>span { font-family: 'trebuchet ms' !important; font-size: .8em !important; padding-left: 2em !important; }