Difference between revisions of "Template:DLUT China B/css/style.css"

(去除链接下划线,隐去iGEM图标,拓宽页面,设置字体。)
(增加dlutb选择器和主页大部分内容。)
Line 20: Line 20:
 
     text-decoration: none;
 
     text-decoration: none;
 
}
 
}
 
+
html{
 +
    height: 100%;
 +
}
 
body{
 
body{
     background-color: #f7f7f7;
+
     font-family: Lato, sans-serif;
     color:#424242;
+
    margin: 0;
 +
     height: 100%;
 
}
 
}
  
 
#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;
    font-size: medium;
 
 
}
 
}
  
p{
+
#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;
 +
    margin-top: 0.5ex;
 +
    margin-bottom: 0.5ex;
 
}
 
}
  
sup, sub {
+
#dlutb sup,#dlutb  sub {
 
     font-size: 75%;
 
     font-size: 75%;
 
     height: 0;
 
     height: 0;
Line 44: Line 48:
 
}
 
}
  
sup {
+
#dlutb sup {
 
     bottom: 1ex;
 
     bottom: 1ex;
 
}
 
}
  
sub {
+
#dlutb sub {
 
     top: .5ex;
 
     top: .5ex;
 
}
 
}
  
 +
#dlutb ol{
 +
    margin-left: 3em;
 +
}
 
#top_title{
 
#top_title{
 
     display:none;
 
     display:none;
Line 58: Line 65:
 
     margin: 0;
 
     margin: 0;
 
     width:auto;
 
     width:auto;
 +
    padding:0;
 +
}
 +
#dlutb #header {
 +
    background: url("../img/kidney.png") no-repeat fixed center center;
 +
    background-size: cover;
 +
    width:100%;
 +
    height: 100%;
 +
    min-height: 700px;
 +
}
 +
#dlutb #moduleHeader {
 +
    background: url("../img/logo.png") no-repeat fixed center center;
 +
    background-size: cover;
 +
    width:100%;
 +
    height: 470px;
 +
}
 +
#dlutb #nav{
 +
    float: right;
 +
    margin-top:38px;
 +
}
 +
#dlutb .title{
 +
    font-size: 20px;
 +
    border-bottom: 2px #41cd52 solid;
 +
    width: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-top: 200px;
 +
    margin-bottom: 0;
 +
}
 +
#dlutb .moduleTitle{
 +
    font-size: 20px;
 +
    border-bottom: 2px #41cd52 solid;
 +
    width: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;
 +
    margin:50px auto 0 auto;
 +
    min-height: 60px;
 +
    font-size: 40px;
 +
}
 +
#dlutb #slogan{
 +
    text-align: center;
 +
    user-select: none;
 +
    line-height: normal;
 +
}
 +
#dlutb #start{
 +
    font-size: 20px;
 +
    width:fit-content;
 +
    margin:50px auto 0 auto;
 +
    display:block;
 +
    cursor: pointer;
 +
}
 +
#dlutb .subModule{
 +
    clear:both;
 +
    border:white 2px solid;
 +
    padding:15px;
 +
    width: 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("../img/logo.png") no-repeat fixed center center;
 +
    background-size: cover;
 +
    width:100%;
 +
    height: 150px;
 +
    filter:brightness(40%);
 +
}
 +
#dlutb #fixed2 {
 +
    background: url("../img/kidney.png") 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 #address h3{
 +
    color:white;
 +
    font-weight: bold;
 +
    font-size: 16px;
 +
    text-align: left;
 +
}
 +
#dlutb #address p{
 +
    color:hsl(197, 55%, 70%);
 +
    font-size: 16px;
 +
}
 +
#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;
 +
    position:fixed;
 +
    bottom:100px;
 +
    right:70px;
 +
}
 +
#dlutb #back:after{
 +
    content:"^";
 +
}
 +
#dlutb #chatBubbles{
 +
  margin:0 auto 60px auto;
 
}
 
}

Revision as of 06:08, 7 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;

}

a:visited {

   text-decoration: none;
   color: inherit;

}

a:hover{

   text-decoration: none;

} a:-webkit-any-link{

   text-decoration: none;

} html{

   height: 100%;

} body{

   font-family: Lato, sans-serif;
   margin: 0;
   height: 100%;

}

  1. HQ_page p,h1,h2,h3,h4,h5,h6{
   font-family: Lato, sans-serif;

}

  1. 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;

}

  1. dlutb sup,#dlutb sub {
   font-size: 75%;
   height: 0;
   line-height: 0;
   position: relative;
   vertical-align: baseline;

}

  1. dlutb sup {
   bottom: 1ex;

}

  1. dlutb sub {
   top: .5ex;

}

  1. dlutb ol{
   margin-left: 3em;

}

  1. top_title{
   display:none;

}

  1. content{
   margin: 0;
   width:auto;
   padding:0;

}

  1. dlutb #header {
   background: url("../img/kidney.png") no-repeat fixed center center;
   background-size: cover;
   width:100%;
   height: 100%;
   min-height: 700px;

}

  1. dlutb #moduleHeader {
   background: url("../img/logo.png") no-repeat fixed center center;
   background-size: cover;
   width:100%;
   height: 470px;

}

  1. dlutb #nav{
   float: right;
   margin-top:38px;

}

  1. dlutb .title{
   font-size: 20px;
   border-bottom: 2px #41cd52 solid;
   width:fit-content;
   margin:60px auto 50px auto;
   padding-bottom: 10px;
   text-align: center;

}

  1. dlutb #teamName{
   font-size: 20px;
   font-family: Lato,sans-serif;
   border-bottom: 2px #41cd52 solid;
   margin-top: 200px;
   margin-bottom: 0;

}

  1. dlutb .moduleTitle{
   font-size: 20px;
   border-bottom: 2px #41cd52 solid;
   width:fit-content;
   margin:170px auto 50px auto;
   padding-bottom: 10px;
   text-align: center;
   font-family: Lato,sans-serif;

}

  1. dlutb #typed{
   clear:both;
   border:white 2px solid;
   padding:15px;
   height: fit-content;
   width: fit-content;
   margin:50px auto 0 auto;
   min-height: 60px;
   font-size: 40px;

}

  1. dlutb #slogan{
   text-align: center;
   user-select: none;
   line-height: normal;

}

  1. dlutb #start{
   font-size: 20px;
   width:fit-content;
   margin:50px auto 0 auto;
   display:block;
   cursor: pointer;

}

  1. dlutb .subModule{
   clear:both;
   border:white 2px solid;
   padding:15px;
   width: fit-content;
   margin:50px auto 0 auto;
   height: 50px;
   font-size: 30px;

}

  1. dlutb .subModule>span{
   text-align: center;
   line-height: 50px;

}

  1. dlutb .mainText{
   max-width: 1000px;
   margin-left: auto;
   margin-right: auto;
   text-align: justify;
   margin-bottom: 60px;

}

  1. dlutb .mainText p{
   font-size: 18px;
   text-indent: 2em;

}

  1. dlutb #fixed1, #fixed3 {
   background: url("../img/logo.png") no-repeat fixed center center;
   background-size: cover;
   width:100%;
   height: 150px;
   filter:brightness(40%);

}

  1. dlutb #fixed2 {
   background: url("../img/kidney.png") no-repeat fixed center center;
   background-size: cover;
   width:100%;
   height: 150px;
   filter:brightness(40%);

}

  1. dlutb #footer{
   background-color: hsl(197, 55%, 20%);
   padding: 30px 60px 30px 60px;

}

  1. dlutb #address h3{
   color:white;
   font-weight: bold;
   font-size: 16px;
   text-align: left;

}

  1. dlutb #address p{
   color:hsl(197, 55%, 70%);
   font-size: 16px;

}

  1. dlutb .btn{
   border-radius: 30px;
   border: 2px #41cd52 solid;
   color: #41cd52;
   font-size: 18px;
   line-height: 30px;
   transition:0.5s;
   padding:8px;

}

  1. dlutb .btn:visited{
   color:#41cd52;

}

  1. dlutb .btn:hover{
   color:white;
   background-color: #41cd52;

}

  1. dlutb #back{
   height: 30px;
   width:30px;
   position:fixed;
   bottom:100px;
   right:70px;

}

  1. dlutb #back:after{
   content:"^";

}

  1. dlutb #chatBubbles{
  margin:0 auto 60px auto;

}