(41 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
@font-face { | @font-face { | ||
font-family: 'eras'; | font-family: 'eras'; | ||
− | src: url('./ | + | src: url('https://static.igem.org/mediawiki/2018/a/a9/T--ECUST--eras.ttf') format("truetype"); |
} | } | ||
@font-face { | @font-face { | ||
font-family: 'fzlt'; | font-family: 'fzlt'; | ||
− | src: url('./ | + | src: url('https://static.igem.org/mediawiki/2018/9/9e/T--ECUST--fzlt.ttf') format("truetype"); |
} | } | ||
@font-face { | @font-face { | ||
Line 20: | Line 20: | ||
@font-face { | @font-face { | ||
font-family: 'fzjh'; | font-family: 'fzjh'; | ||
− | src: url('./ | + | src: url('https://static.igem.org/mediawiki/2018/a/ab/T--ECUST--fzjhjt.otf') format("opentype"); |
} | } | ||
:root { | :root { | ||
Line 100: | Line 100: | ||
width:100%; | width:100%; | ||
− | background-size: | + | background-size:contain; |
text-align: center; | text-align: center; | ||
Line 109: | Line 109: | ||
font-family: 'sens'; | font-family: 'sens'; | ||
text-align: right; | text-align: right; | ||
− | font-size: | + | font-size: 56px; |
line-height: 170%; | line-height: 170%; | ||
color: #ff9c00; | color: #ff9c00; | ||
Line 119: | Line 119: | ||
font-family: 'sens'; | font-family: 'sens'; | ||
text-align: right; | text-align: right; | ||
− | font-size: | + | font-size: 20px; |
line-height: 170%; | line-height: 170%; | ||
color: #efcb31; | color: #efcb31; | ||
Line 556: | Line 556: | ||
line-height: 42px; | line-height: 42px; | ||
padding-top: 40px; | padding-top: 40px; | ||
− | padding-left: | + | padding-left: 3px; |
− | padding-right: | + | padding-right: 3px; |
transition: height 0.5s; | transition: height 0.5s; | ||
} | } | ||
Line 568: | Line 568: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
nav ul li:hover .nav-dropdown, .show .nav-dropdown { | nav ul li:hover .nav-dropdown, .show .nav-dropdown { | ||
Line 583: | Line 579: | ||
} | } | ||
− | nav a:visited, nav a:active, nav | + | nav a:visited, nav a:active, nav a:focus{ |
− | color: | + | color:#4f1919; |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
Line 778: | Line 774: | ||
position: fixed; | position: fixed; | ||
height: 253px; | height: 253px; | ||
− | background-image: url(bacteria.png); | + | background-image: url(https://static.igem.org/mediawiki/2018/d/d8/T--ECUST--bacteria.png); |
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
Line 943: | Line 939: | ||
@media only screen and (min-width: 1200px) { | @media only screen and (min-width: 1200px) { | ||
+ | #textblock1 { | ||
+ | position: absolute; | ||
+ | top: 300px; | ||
+ | left: 770px; | ||
+ | width:500px; | ||
+ | } | ||
+ | #textblock2 { | ||
+ | position: absolute; | ||
+ | top: 980px; | ||
+ | left: 80px; | ||
+ | width:500px; | ||
+ | } | ||
+ | #textblock3 { | ||
+ | position: absolute; | ||
+ | top: 1879px; | ||
+ | left: 790px; | ||
+ | width:515px; | ||
+ | } | ||
+ | #textblock4 { | ||
+ | position: absolute; | ||
+ | top: 3250px; | ||
+ | left: 200px; | ||
+ | width:900px; | ||
+ | } | ||
+ | #textblock5 { | ||
+ | position: absolute; | ||
+ | top: 3970px; | ||
+ | left: 770px; | ||
+ | width:500px; | ||
+ | } | ||
main, .wrapper { | main, .wrapper { | ||
margin-right: 5%; | margin-right: 5%; | ||
Line 963: | Line 989: | ||
@media screen and (min-width: 1000px) and (max-width: 1199px){ | @media screen and (min-width: 1000px) and (max-width: 1199px){ | ||
+ | #textblock1 { | ||
+ | position: absolute; | ||
+ | top: 180px; | ||
+ | left: 490px; | ||
+ | width:500px; | ||
+ | } | ||
+ | #textblock2 { | ||
+ | position: absolute; | ||
+ | top: 700px; | ||
+ | left: 20px; | ||
+ | width:500px; | ||
+ | } | ||
+ | #textblock3 { | ||
+ | position: absolute; | ||
+ | top: 1360px; | ||
+ | left: 500px; | ||
+ | width:510px; | ||
+ | } | ||
+ | #textblock4 { | ||
+ | position: absolute; | ||
+ | top: 2250px; | ||
+ | left: 50px; | ||
+ | width:900px; | ||
+ | } | ||
+ | #textblock5 { | ||
+ | position: absolute; | ||
+ | top: 2800px; | ||
+ | left: 490px; | ||
+ | width:500px; | ||
+ | } | ||
main { | main { | ||
margin-right: 30px; | margin-right: 30px; | ||
Line 980: | Line 1,036: | ||
#bannerquote, #projecttitle { | #bannerquote, #projecttitle { | ||
margin-left: 250px; | margin-left: 250px; | ||
− | font-size: | + | font-size: 50px; |
} | } | ||
Line 999: | Line 1,055: | ||
@media only screen and (max-width: 1000px) { | @media only screen and (max-width: 1000px) { | ||
+ | #textblock1 { | ||
+ | position: absolute; | ||
+ | top: 180px; | ||
+ | left: 490px; | ||
+ | width:500px; | ||
+ | } | ||
+ | #textblock2 { | ||
+ | position: absolute; | ||
+ | top: 700px; | ||
+ | left: 10px; | ||
+ | width:500px; | ||
+ | } | ||
+ | #textblock3 { | ||
+ | position: absolute; | ||
+ | top: 1360px; | ||
+ | left: 500px; | ||
+ | width:510px; | ||
+ | } | ||
+ | #textblock4 { | ||
+ | position: absolute; | ||
+ | top: 2250px; | ||
+ | left: 50px; | ||
+ | width:900px; | ||
+ | } | ||
+ | #textblock5 { | ||
+ | position: absolute; | ||
+ | top: 2800px; | ||
+ | left: 490px; | ||
+ | width:500px; | ||
+ | } | ||
.contentbox figure, .contentbox p, .contentbox .pdf-resources, .contentbox ul { | .contentbox figure, .contentbox p, .contentbox .pdf-resources, .contentbox ul { | ||
padding: 10px !important; | padding: 10px !important; | ||
Line 1,242: | Line 1,328: | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
− | background-color: # | + | background-color: #20161c; |
Line 1,258: | Line 1,344: | ||
} | } | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#textblock1 > p, #textblock2 > p, #textblock3 > p,#textblock4 > p, #textblock5 > p,#textblock6 > p,#textblock7 > p,#textblock8 > p,#textblock9 > p { | #textblock1 > p, #textblock2 > p, #textblock3 > p,#textblock4 > p, #textblock5 > p,#textblock6 > p,#textblock7 > p,#textblock8 > p,#textblock9 > p { | ||
color: white !important; | color: white !important; | ||
Line 1,305: | Line 1,386: | ||
@media screen and (max-device-width: 1024px) { | @media screen and (max-device-width: 1024px) { | ||
.t-cover { | .t-cover { | ||
− | + | ||
} | } | ||
} | } | ||
.textblock > p {font-family: 'Josefin Sans' !important; font-size: 20px !important; color: #444 !important;font-weight: 300 !important;} | .textblock > p {font-family: 'Josefin Sans' !important; font-size: 20px !important; color: #444 !important;font-weight: 300 !important;} | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
#textblock1 > p, #textblock3 > p, #textblock5 > p,#textblock2 > p, #textblock4 > p, #textblock6 > p, #textblock7 > p, #textblock8 > p { | #textblock1 > p, #textblock3 > p, #textblock5 > p,#textblock2 > p, #textblock4 > p, #textblock6 > p, #textblock7 > p, #textblock8 > p { | ||
color: white !important; | color: white !important; | ||
Line 1,349: | Line 1,407: | ||
text-decoration: underline; | text-decoration: underline; | ||
} | } | ||
+ | @media screen and (max-width: 1040px){ | ||
+ | #logo img { | ||
+ | width: 0px; | ||
+ | margin: 15px; | ||
+ | } | ||
− | + | } | |
− | + | ||
− | + | ||
Latest revision as of 11:34, 2 November 2018