(使用100vh.) |
|||
Line 74: | Line 74: | ||
#dlutb #header { | #dlutb #header { | ||
− | |||
− | |||
width: 100%; | width: 100%; | ||
height: 100vh; | height: 100vh; | ||
Line 89: | Line 87: | ||
#dlutb #nav { | #dlutb #nav { | ||
− | + | position: absolute; | |
− | + | right:0; | |
+ | top:38px; | ||
} | } | ||
Line 96: | Line 95: | ||
font-size: 20px; | font-size: 20px; | ||
border-bottom: 2px #41cd52 solid; | border-bottom: 2px #41cd52 solid; | ||
− | + | display: table; | |
− | + | ||
margin: 60px auto 50px auto; | margin: 60px auto 50px auto; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
Line 108: | Line 106: | ||
border-bottom: 2px #41cd52 solid; | border-bottom: 2px #41cd52 solid; | ||
margin: 200px auto 0 auto; | margin: 200px auto 0 auto; | ||
− | + | display: table; | |
− | + | ||
} | } | ||
Line 115: | Line 112: | ||
font-size: 20px; | font-size: 20px; | ||
border-bottom: 2px #41cd52 solid; | border-bottom: 2px #41cd52 solid; | ||
− | + | display: table; | |
− | + | ||
margin: 170px auto 50px auto; | margin: 170px auto 50px auto; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
Line 128: | Line 124: | ||
padding: 15px; | padding: 15px; | ||
height: fit-content; | height: fit-content; | ||
− | + | display: table; | |
− | + | ||
margin: 50px auto 0 auto; | margin: 50px auto 0 auto; | ||
min-height: 60px; | min-height: 60px; | ||
Line 143: | Line 138: | ||
#dlutb #start { | #dlutb #start { | ||
font-size: 20px; | font-size: 20px; | ||
− | + | display: table; | |
− | + | ||
margin: 50px auto 0 auto; | margin: 50px auto 0 auto; | ||
− | |||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
Line 154: | Line 147: | ||
border: white 2px solid; | border: white 2px solid; | ||
padding: 15px; | padding: 15px; | ||
− | + | display: table; | |
− | + | ||
margin: 50px auto 0 auto; | margin: 50px auto 0 auto; | ||
height: 50px; | height: 50px; | ||
Line 167: | Line 159: | ||
#dlutb .mainText { | #dlutb .mainText { | ||
− | |||
− | |||
− | |||
text-align: justify; | text-align: justify; | ||
− | |||
} | } | ||
Line 177: | Line 165: | ||
font-size: 18px; | font-size: 18px; | ||
text-indent: 2em; | text-indent: 2em; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 253: | Line 225: | ||
text-align: center; | text-align: center; | ||
font-size: 28px; | font-size: 28px; | ||
+ | cursor:pointer; | ||
} | } | ||
#dlutb #chatBubbles { | #dlutb #chatBubbles { | ||
margin: 0 auto 60px auto; | margin: 0 auto 60px auto; | ||
+ | } | ||
+ | |||
+ | #dlutb #circle{ | ||
+ | display: table; | ||
+ | margin:25px auto 25px auto; | ||
+ | } | ||
+ | |||
+ | #dlutb .tr{ | ||
+ | display: table-row; | ||
+ | } | ||
+ | #dlutb .td{ | ||
+ | display: table-cell; | ||
+ | } | ||
+ | |||
+ | #dlutb #contents{ | ||
+ | float:left; | ||
+ | } | ||
+ | #dlutb #article{ | ||
+ | display: table-cell; | ||
} | } |
Revision as of 05:56, 2 October 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 {
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 {
position: absolute; right:0; top:38px;
}
- dlutb h2.title {
font-size: 20px; border-bottom: 2px #41cd52 solid; display: table; 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; display: table;
}
- dlutb .moduleTitle {
font-size: 20px; border-bottom: 2px #41cd52 solid; display: table; 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; display: table; 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; display: table; margin: 50px auto 0 auto; cursor: pointer;
}
- dlutb .subModule {
clear: both; border: white 2px solid; padding: 15px; display: table; margin: 50px auto 0 auto; height: 50px; font-size: 30px;
}
- dlutb .subModule > span {
text-align: center; line-height: 50px;
}
- dlutb .mainText {
text-align: justify;
}
- dlutb .mainText p {
font-size: 18px; text-indent: 2em;
}
- 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; cursor:pointer;
}
- dlutb #chatBubbles {
margin: 0 auto 60px auto;
}
- dlutb #circle{
display: table; margin:25px auto 25px auto;
}
- dlutb .tr{
display: table-row;
}
- dlutb .td{
display: table-cell;
}
- dlutb #contents{
float:left;
}
- dlutb #article{
display: table-cell;
}