(增加#dlutb、页脚、滚动视差、模块。) |
(使用100vh.) |
||
Line 1: | Line 1: | ||
@font-face { | @font-face { | ||
font-family: Lato; | font-family: Lato; | ||
− | src:url("https://static.igem.org/mediawiki/2018/0/0b/T--DLUT_China_B--LatoLatin-Regular.woff"); | + | src: url("https://static.igem.org/mediawiki/2018/0/0b/T--DLUT_China_B--LatoLatin-Regular.woff"); |
} | } | ||
Line 7: | Line 7: | ||
text-decoration: none; | text-decoration: none; | ||
color: inherit; | color: inherit; | ||
+ | outline: none; | ||
} | } | ||
Line 14: | Line 15: | ||
} | } | ||
− | a:hover{ | + | a:hover { |
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | a:-webkit-any-link{ | + | |
+ | a:-webkit-any-link { | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
− | + | ||
− | + | body { | |
− | + | ||
− | body{ | + | |
font-family: Lato, sans-serif; | font-family: Lato, sans-serif; | ||
margin: 0; | margin: 0; | ||
− | |||
} | } | ||
− | #HQ_page p,h1,h2,h3,h4,h5,h6{ | + | #HQ_page p, h1, h2, h3, h4, h5, h6 { |
font-family: Lato, sans-serif; | font-family: Lato, sans-serif; | ||
} | } | ||
− | #dlutb p,#dlutb .mainText ol,#dlutb .mainText ul,#dlutb .mainText li{ | + | #dlutb p, #dlutb .mainText ol, #dlutb .mainText ul, #dlutb .mainText li { |
font-size: 18px; | font-size: 18px; | ||
line-height: 1.7em; | line-height: 1.7em; | ||
Line 40: | Line 39: | ||
} | } | ||
− | #dlutb sup,#dlutb | + | #dlutb sup, #dlutb sub { |
font-size: 75%; | font-size: 75%; | ||
height: 0; | height: 0; | ||
Line 56: | Line 55: | ||
} | } | ||
− | #dlutb ol{ | + | #dlutb ol { |
margin-left: 3em; | margin-left: 3em; | ||
} | } | ||
− | #dlutb a{ | + | |
− | cursor:pointer; | + | #dlutb a { |
+ | cursor: pointer; | ||
} | } | ||
− | #top_title{ | + | |
− | display:none; | + | #top_title { |
+ | display: none; | ||
} | } | ||
− | #content{ | + | |
+ | #content { | ||
margin: 0; | margin: 0; | ||
− | width:auto; | + | width: auto; |
− | padding:0; | + | padding: 0; |
} | } | ||
+ | |||
#dlutb #header { | #dlutb #header { | ||
background: url("https://static.igem.org/mediawiki/2018/3/35/T--DLUT_China_B--kidney.png") no-repeat fixed center center; | background: url("https://static.igem.org/mediawiki/2018/3/35/T--DLUT_China_B--kidney.png") no-repeat fixed center center; | ||
background-size: cover; | background-size: cover; | ||
− | width:100%; | + | width: 100%; |
− | height: | + | height: 100vh; |
− | min-height: | + | min-height: 600px; |
} | } | ||
+ | |||
#dlutb #moduleHeader { | #dlutb #moduleHeader { | ||
background: url("https://static.igem.org/mediawiki/2018/2/29/T--DLUT_China_B--logo.png") no-repeat fixed center center; | background: url("https://static.igem.org/mediawiki/2018/2/29/T--DLUT_China_B--logo.png") no-repeat fixed center center; | ||
background-size: cover; | background-size: cover; | ||
− | width:100%; | + | width: 100%; |
height: 470px; | height: 470px; | ||
} | } | ||
− | #dlutb #nav{ | + | |
+ | #dlutb #nav { | ||
float: right; | float: right; | ||
− | margin-top:38px; | + | margin-top: 38px; |
} | } | ||
− | #dlutb .title{ | + | |
+ | #dlutb h2.title { | ||
font-size: 20px; | font-size: 20px; | ||
border-bottom: 2px #41cd52 solid; | border-bottom: 2px #41cd52 solid; | ||
− | width:fit-content; | + | width: fit-content; |
− | margin:60px auto 50px auto; | + | width: -moz-fit-content; |
+ | margin: 60px auto 50px auto; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
text-align: center; | text-align: center; | ||
} | } | ||
− | #dlutb #teamName{ | + | |
+ | #dlutb #teamName { | ||
font-size: 20px; | font-size: 20px; | ||
− | font-family: Lato,sans-serif; | + | font-family: Lato, sans-serif; |
border-bottom: 2px #41cd52 solid; | border-bottom: 2px #41cd52 solid; | ||
− | margin | + | margin: 200px auto 0 auto; |
− | + | width: fit-content; | |
+ | width: -moz-fit-content; | ||
} | } | ||
− | #dlutb .moduleTitle{ | + | |
+ | #dlutb .moduleTitle { | ||
font-size: 20px; | font-size: 20px; | ||
border-bottom: 2px #41cd52 solid; | border-bottom: 2px #41cd52 solid; | ||
− | width:fit-content; | + | width: fit-content; |
− | margin:170px auto 50px auto; | + | width: -moz-fit-content; |
+ | margin: 170px auto 50px auto; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
text-align: center; | text-align: center; | ||
− | font-family: Lato,sans-serif; | + | font-family: Lato, sans-serif; |
} | } | ||
− | #dlutb #typed{ | + | |
− | clear:both; | + | #dlutb #typed { |
− | border:white 2px solid; | + | clear: both; |
− | padding:15px; | + | border: white 2px solid; |
+ | padding: 15px; | ||
height: fit-content; | height: fit-content; | ||
width: fit-content; | width: fit-content; | ||
− | margin:50px auto 0 auto; | + | width: -moz-fit-content; |
+ | margin: 50px auto 0 auto; | ||
min-height: 60px; | min-height: 60px; | ||
font-size: 40px; | font-size: 40px; | ||
} | } | ||
− | #dlutb #slogan{ | + | |
+ | #dlutb #slogan { | ||
text-align: center; | text-align: center; | ||
user-select: none; | user-select: none; | ||
line-height: 60px; | line-height: 60px; | ||
} | } | ||
− | #dlutb #start{ | + | |
+ | #dlutb #start { | ||
font-size: 20px; | font-size: 20px; | ||
− | width:fit-content; | + | width: fit-content; |
− | margin:50px auto 0 auto; | + | width: -moz-fit-content; |
− | display:block; | + | margin: 50px auto 0 auto; |
+ | display: block; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
− | #dlutb .subModule{ | + | |
− | clear:both; | + | #dlutb .subModule { |
− | border:white 2px solid; | + | clear: both; |
− | padding:15px; | + | border: white 2px solid; |
+ | padding: 15px; | ||
width: fit-content; | width: fit-content; | ||
− | margin:50px auto 0 auto; | + | width: -moz-fit-content; |
+ | margin: 50px auto 0 auto; | ||
height: 50px; | height: 50px; | ||
font-size: 30px; | font-size: 30px; | ||
} | } | ||
− | #dlutb .subModule>span{ | + | |
+ | #dlutb .subModule > span { | ||
text-align: center; | text-align: center; | ||
line-height: 50px; | line-height: 50px; | ||
} | } | ||
− | #dlutb .mainText{ | + | |
+ | #dlutb .mainText { | ||
max-width: 1000px; | max-width: 1000px; | ||
margin-left: auto; | margin-left: auto; | ||
Line 153: | Line 173: | ||
margin-bottom: 60px; | margin-bottom: 60px; | ||
} | } | ||
− | #dlutb .mainText p{ | + | |
+ | #dlutb .mainText p { | ||
font-size: 18px; | font-size: 18px; | ||
text-indent: 2em; | text-indent: 2em; | ||
} | } | ||
+ | |||
#dlutb #fixed1, #fixed3 { | #dlutb #fixed1, #fixed3 { | ||
background: url("https://static.igem.org/mediawiki/2018/2/29/T--DLUT_China_B--logo.png") no-repeat fixed center center; | background: url("https://static.igem.org/mediawiki/2018/2/29/T--DLUT_China_B--logo.png") no-repeat fixed center center; | ||
background-size: cover; | background-size: cover; | ||
− | width:100%; | + | width: 100%; |
height: 150px; | height: 150px; | ||
− | filter:brightness(40%); | + | filter: brightness(40%); |
} | } | ||
+ | |||
#dlutb #fixed2, #fixed4 { | #dlutb #fixed2, #fixed4 { | ||
background: url("https://static.igem.org/mediawiki/2018/3/35/T--DLUT_China_B--kidney.png") no-repeat fixed center center; | background: url("https://static.igem.org/mediawiki/2018/3/35/T--DLUT_China_B--kidney.png") no-repeat fixed center center; | ||
background-size: cover; | background-size: cover; | ||
− | width:100%; | + | width: 100%; |
height: 150px; | height: 150px; | ||
− | filter:brightness(40%); | + | filter: brightness(40%); |
} | } | ||
− | #dlutb #footer{ | + | |
+ | #dlutb #footer { | ||
background-color: hsl(197, 55%, 20%); | background-color: hsl(197, 55%, 20%); | ||
padding: 30px 60px 30px 60px; | padding: 30px 60px 30px 60px; | ||
} | } | ||
− | #dlutb #footer h3{ | + | |
− | color:white; | + | #dlutb #footer h3 { |
+ | color: white; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: 16px; | font-size: 16px; | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | #dlutb #footer p{ | + | |
− | color:hsl(197, 55%, 70%); | + | #dlutb #footer p { |
+ | color: hsl(197, 55%, 70%); | ||
font-size: 16px; | font-size: 16px; | ||
} | } | ||
− | #dlutb #footer #address p{ | + | |
− | width:80%; | + | #dlutb #footer #address p { |
+ | width: 80%; | ||
} | } | ||
− | #dlutb #platformName,#dlutb #qrCode{ | + | |
− | display:table-row; | + | #dlutb #platformName, #dlutb #qrCode { |
+ | display: table-row; | ||
} | } | ||
− | #dlutb #address,#dlutb #follow,#dlutb #platformName p,#dlutb #qrCode div{ | + | |
+ | #dlutb #address, #dlutb #follow, #dlutb #platformName p, #dlutb #qrCode div { | ||
display: table-cell; | display: table-cell; | ||
min-width: 30px; | min-width: 30px; | ||
} | } | ||
− | #dlutb .btn{ | + | #dlutb .btn { |
border-radius: 30px; | border-radius: 30px; | ||
border: 2px #41cd52 solid; | border: 2px #41cd52 solid; | ||
Line 202: | Line 231: | ||
font-size: 18px; | font-size: 18px; | ||
line-height: 30px; | line-height: 30px; | ||
− | transition:0.5s; | + | transition: 0.5s; |
− | padding:8px; | + | padding: 8px; |
} | } | ||
− | #dlutb .btn:visited{ | + | |
− | color:#41cd52; | + | #dlutb .btn:visited { |
+ | color: #41cd52; | ||
} | } | ||
− | #dlutb .btn:hover{ | + | |
− | color:white; | + | #dlutb .btn:hover { |
+ | color: white; | ||
background-color: #41cd52; | background-color: #41cd52; | ||
} | } | ||
− | #dlutb #back{ | + | |
+ | #dlutb #back { | ||
height: 30px; | height: 30px; | ||
− | width:30px; | + | width: 30px; |
display: none; | display: none; | ||
− | position:fixed; | + | position: fixed; |
− | bottom:100px; | + | bottom: 100px; |
− | right:70px; | + | right: 70px; |
text-align: center; | text-align: center; | ||
font-size: 28px; | font-size: 28px; | ||
} | } | ||
− | #dlutb #chatBubbles{ | + | #dlutb #chatBubbles { |
− | + | margin: 0 auto 60px auto; | |
} | } |
Revision as of 11:41, 18 September 2018
@font-face {
font-family: Lato; src: url("https://static.igem.org/mediawiki/2018/0/0b/T--DLUT_China_B--LatoLatin-Regular.woff");
}
a {
text-decoration: none; color: inherit; outline: none;
}
a:visited {
text-decoration: none; color: inherit;
}
a:hover {
text-decoration: none;
}
a:-webkit-any-link {
text-decoration: none;
}
body {
font-family: Lato, sans-serif; margin: 0;
}
- HQ_page p, h1, h2, h3, h4, h5, h6 {
font-family: Lato, sans-serif;
}
- dlutb p, #dlutb .mainText ol, #dlutb .mainText ul, #dlutb .mainText li {
font-size: 18px; line-height: 1.7em; margin-top: 0.5ex; margin-bottom: 0.5ex;
}
- dlutb sup, #dlutb sub {
font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline;
}
- dlutb sup {
bottom: 1ex;
}
- dlutb sub {
top: .5ex;
}
- dlutb ol {
margin-left: 3em;
}
- dlutb a {
cursor: pointer;
}
- top_title {
display: none;
}
- content {
margin: 0; width: auto; padding: 0;
}
- dlutb #header {
background: url("") no-repeat fixed center center; background-size: cover; width: 100%; height: 100vh; min-height: 600px;
}
- dlutb #moduleHeader {
background: url("") no-repeat fixed center center; background-size: cover; width: 100%; height: 470px;
}
- dlutb #nav {
float: right; margin-top: 38px;
}
- dlutb h2.title {
font-size: 20px; border-bottom: 2px #41cd52 solid; width: fit-content; width: -moz-fit-content; margin: 60px auto 50px auto; padding-bottom: 10px; text-align: center;
}
- dlutb #teamName {
font-size: 20px; font-family: Lato, sans-serif; border-bottom: 2px #41cd52 solid; margin: 200px auto 0 auto; width: fit-content; width: -moz-fit-content;
}
- dlutb .moduleTitle {
font-size: 20px; border-bottom: 2px #41cd52 solid; width: fit-content; width: -moz-fit-content; margin: 170px auto 50px auto; padding-bottom: 10px; text-align: center; font-family: Lato, sans-serif;
}
- dlutb #typed {
clear: both; border: white 2px solid; padding: 15px; height: fit-content; width: fit-content; width: -moz-fit-content; margin: 50px auto 0 auto; min-height: 60px; font-size: 40px;
}
- dlutb #slogan {
text-align: center; user-select: none; line-height: 60px;
}
- dlutb #start {
font-size: 20px; width: fit-content; width: -moz-fit-content; margin: 50px auto 0 auto; display: block; cursor: pointer;
}
- dlutb .subModule {
clear: both; border: white 2px solid; padding: 15px; width: fit-content; width: -moz-fit-content; margin: 50px auto 0 auto; height: 50px; font-size: 30px;
}
- dlutb .subModule > span {
text-align: center; line-height: 50px;
}
- dlutb .mainText {
max-width: 1000px; margin-left: auto; margin-right: auto; text-align: justify; margin-bottom: 60px;
}
- dlutb .mainText p {
font-size: 18px; text-indent: 2em;
}
- dlutb #fixed1, #fixed3 {
background: url("") no-repeat fixed center center; background-size: cover; width: 100%; height: 150px; filter: brightness(40%);
}
- dlutb #fixed2, #fixed4 {
background: url("") no-repeat fixed center center; background-size: cover; width: 100%; height: 150px; filter: brightness(40%);
}
- dlutb #footer {
background-color: hsl(197, 55%, 20%); padding: 30px 60px 30px 60px;
}
- dlutb #footer h3 {
color: white; font-weight: bold; font-size: 16px; text-align: left;
}
- dlutb #footer p {
color: hsl(197, 55%, 70%); font-size: 16px;
}
- dlutb #footer #address p {
width: 80%;
}
- dlutb #platformName, #dlutb #qrCode {
display: table-row;
}
- dlutb #address, #dlutb #follow, #dlutb #platformName p, #dlutb #qrCode div {
display: table-cell; min-width: 30px;
}
- dlutb .btn {
border-radius: 30px; border: 2px #41cd52 solid; color: #41cd52; font-size: 18px; line-height: 30px; transition: 0.5s; padding: 8px;
}
- dlutb .btn:visited {
color: #41cd52;
}
- dlutb .btn:hover {
color: white; background-color: #41cd52;
}
- dlutb #back {
height: 30px; width: 30px; display: none; position: fixed; bottom: 100px; right: 70px; text-align: center; font-size: 28px;
}
- dlutb #chatBubbles {
margin: 0 auto 60px auto;
}