Line 24: | Line 24: | ||
@font-face { | @font-face { | ||
− | + | font-family: BLACKITALIC; | |
− | + | src: url("https://static.igem.org/mediawiki/2021/6/67/T--CPU_CHINA--BLACKITALIC.woff") | |
+ | format("woff"); | ||
} | } | ||
Line 64: | Line 65: | ||
z-index: -1; | z-index: -1; | ||
} | } | ||
− | |||
#header #load { | #header #load { | ||
Line 158: | Line 158: | ||
} | } | ||
− | #header #menu #class-b li a{ | + | #header #menu #class-b li a { |
− | + | color: #fafafa; | |
} | } | ||
Line 167: | Line 167: | ||
#header #menu #class-b .class-b { | #header #menu #class-b .class-b { | ||
background-color: #00000047; | background-color: #00000047; | ||
+ | } | ||
+ | |||
+ | #bodyContent a[href ^="https://"], .link-https{ | ||
+ | padding: 0; | ||
} | } | ||
Line 179: | Line 183: | ||
footer #sponsor { | footer #sponsor { | ||
position: relative; | position: relative; | ||
+ | display: flex; | ||
+ | justify-content: center; | ||
margin: 0; | margin: 0; | ||
− | padding:0.5vmin; | + | padding: 0.5vmin; |
padding-bottom: 3vmin; | padding-bottom: 3vmin; | ||
top: -3vmin; | top: -3vmin; | ||
width: 100%; | width: 100%; | ||
border-radius: 20px; | border-radius: 20px; | ||
− | background-color: # | + | background-color: #ffffff; |
-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); | -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); | ||
-moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); | -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); | ||
Line 192: | Line 198: | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
− | footer #sponsor img{ | + | footer #sponsor img { |
width: 96%; | width: 96%; | ||
} | } | ||
Line 206: | Line 212: | ||
} | } | ||
− | footer #connect #contact{ | + | footer #connect #contact { |
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
Line 213: | Line 219: | ||
} | } | ||
− | footer #connect h4{ | + | footer #connect h4 { |
margin: 1% 0 5vmin; | margin: 1% 0 5vmin; | ||
text-align: center; | text-align: center; | ||
− | color: # | + | color: #ffffff; |
font-size: 1.5em; | font-size: 1.5em; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
− | footer #connect #contact li{ | + | footer #connect #contact li { |
− | width: | + | width: 40%; |
− | border:#424242 solid 10px; | + | border: #424242 solid 10px; |
justify-content: center; | justify-content: center; | ||
flex-direction: column; | flex-direction: column; | ||
Line 230: | Line 236: | ||
} | } | ||
− | footer #connect #contact li:hover{ | + | footer #connect #contact li:hover { |
border: none; | border: none; | ||
} | } | ||
− | footer #connect li img{ | + | footer #connect li img { |
margin-bottom: 2vw; | margin-bottom: 2vw; | ||
width: 20%; | width: 20%; | ||
} | } | ||
− | footer #connect li p{ | + | footer #connect li p { |
− | color: # | + | color: #ffffff; |
font-size: 1.1em; | font-size: 1.1em; | ||
text-align: center; | text-align: center; | ||
} | } |
Revision as of 06:46, 17 October 2021
@font-face {
font-family: MONTSERRAT-BLACK1; src: url("https://static.igem.org/mediawiki/2021/0/04/T--CPU_CHINA--MONTSERRAT-BLACK1.woff") format("woff");
}
@font-face {
font-family: MONTSERRAT-BLACKITALIC2; src: url("https://static.igem.org/mediawiki/2021/d/d4/T--CPU_CHINA--MONTSERRAT-BLACKITALIC2.woff") format("woff");
}
@font-face {
font-family: CABIN-REGULAR; src: url("https://static.igem.org/mediawiki/2021/b/b3/T--CPU_CHINA--CABIN-REGULAR.woff") format("woff");
}
@font-face {
font-family: CABIN-ITALIC; src: url("https://static.igem.org/mediawiki/2021/7/75/T--CPU_CHINA--CABIN-ITALIC.woff") format("woff");
}
@font-face {
font-family: BLACKITALIC; src: url("https://static.igem.org/mediawiki/2021/6/67/T--CPU_CHINA--BLACKITALIC.woff") format("woff");
}
body {
background-color: #fafafa;
}
- {
box-sizing: border-box;
}
- contain {
margin-top: -12px; padding: 0 3% 10%; width: 100%; background-color: #fafafa; z-index: 1; text-align: left; box-sizing: border-box;
}
.background {
position: fixed; width: 100%; top: 0; z-index: -1; box-sizing: border-box;
}
- header #title {
position: fixed; top: 9vw; font-family: "MONTSERRAT-BLACKITALIC2"; line-height: normal; font-weight: bolder; font-size: 8vw; color: #fafafa; z-index: -1;
}
- header #load {
position: fixed; display: flex; width: 100%; height: 100%; background-color: white; align-items: center; justify-content: center; z-index: 20;
}
- header #load img {
width: 50vmin;
}
- header #menu {
z-index: 10;
}
- header #menu #menuBack {
position: fixed; width: 100%; height: 100%; box-sizing: border-box; z-index: 10;
}
- header #menu .menu {
background: #000000ad;
}
- header #menu #logo {
position: fixed; top: 3vmin; left: 1vmin; width: 25vmin; z-index: 11;
}
- header #menu #menuImg {
position: fixed; top: 2vmin; right: 1vmin; width: 15vmin; z-index: 11;
}
- header #menu .class {
position: fixed; top: 14vmin; z-index: 11;
}
- header #menu .class li {
padding: 6% 0; margin: 2vmin; border-radius: 30px; text-align: center; font-family: "MONTSERRAT-BLACKITALIC2"; font-size: 1.5em; font-weight: bolder;
}
- header #menu #class-a {
right: 1vmin;
}
- header #menu #class-a li {
width: 30vmin; background-color: #fafafa; border: #fafafa solid 3px;
}
- header #menu #class-a li:hover {
border: #0072fe solid 3px;
}
- header #menu #class-a .class-a {
background-color: #0072fe; border: #0072fe solid 3px; color: #fafafa;
}
- header #menu #class-b {
right: 33vmin;
}
- header #menu #class-b li {
border: #0072fe solid 2px; width: 39vmin;
}
- header #menu #class-b li a {
color: #fafafa;
}
- header #menu #class-b li:active {
background-color: #0000008f;
}
- header #menu #class-b .class-b {
background-color: #00000047;
}
- bodyContent a[href ^="https://"], .link-https{
padding: 0;
}
footer {
position: -webkit-sticky; left: 0; padding-bottom: 0.5vmin; width: 100%; background-color: #424242;
}
footer #sponsor {
position: relative; display: flex; justify-content: center; margin: 0; padding: 0.5vmin; padding-bottom: 3vmin; top: -3vmin; width: 100%; border-radius: 20px; background-color: #ffffff; -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); -o-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.3); z-index: 1;
} footer #sponsor img {
width: 96%;
} footer #connect {
position: relative; margin: 0; padding-top: 1vmin; top: -8vmin; width: 100%; background-color: #424242; border-radius: 20px; z-index: 2;
}
footer #connect #contact {
display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
}
footer #connect h4 {
margin: 1% 0 5vmin; text-align: center; color: #ffffff; font-size: 1.5em; font-weight: bold;
}
footer #connect #contact li {
width: 40%; border: #424242 solid 10px; justify-content: center; flex-direction: column; align-items: center; text-align: center;
}
footer #connect #contact li:hover {
border: none;
}
footer #connect li img {
margin-bottom: 2vw; width: 20%;
} footer #connect li p {
color: #ffffff; font-size: 1.1em; text-align: center;
}