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

m (修改表格样式。)
m
 
(11 intermediate revisions by the same user not shown)
Line 44: Line 44:
 
}
 
}
  
#dlutb .mainText li{
+
#dlutb .mainText ul li{
 
     list-style: disc none;
 
     list-style: disc none;
 
}
 
}
Line 84: Line 84:
 
#dlutb #header {
 
#dlutb #header {
 
     width: 100%;
 
     width: 100%;
 +
}
 +
 +
#dlutb #team{
 +
    position: absolute;
 +
    left: 20px;
 +
    font-size: 18px;
 +
    line-height: 60px;
 +
    color:white;
 +
    font-weight: bold;
 
}
 
}
  
 
#dlutb #moduleHeader {
 
#dlutb #moduleHeader {
 +
    height: 530px;
 +
    margin-bottom: 50px;
 +
}
 +
#dlutb #moduleHeader #background{
 +
    background-size: cover;
 
     width: 100%;
 
     width: 100%;
 
     height: 470px;
 
     height: 470px;
 +
    filter: brightness(75%);
 +
    -webkit-filter: brightness(75%);
 +
}
 +
#dlutb .awards{
 +
    background: url("https://static.igem.org/mediawiki/2018/b/b3/T--DLUT_China_B--Background--Awards.jpg") no-repeat center center;
 +
}
 +
#dlutb .collaborations{
 +
    background: url("https://static.igem.org/mediawiki/2018/f/f5/T--DLUT_China_B--Background--Collaborations.jpg") no-repeat left center;
 +
}
 +
#dlutb .demonstrate{
 +
    background: url("https://static.igem.org/mediawiki/2018/3/35/T--DLUT_China_B--Background--Demonstrate.jpg") no-repeat top center;
 +
}
 +
#dlutb .description{
 +
    background: url("https://static.igem.org/mediawiki/2018/5/54/T--DLUT_China_B--Background--Description.jpg") no-repeat bottom center;
 +
}
 +
#dlutb .design{
 +
    background: url("https://static.igem.org/mediawiki/2018/b/b4/T--DLUT_China_B--Background--Design.jpg") no-repeat center center;
 +
}
 +
#dlutb .humanPractices{
 +
    background: url("https://static.igem.org/mediawiki/2018/5/5e/T--DLUT_China_B--Background--HumanPractices.jpg") no-repeat center center;
 +
}
 +
#dlutb .interLab{
 +
    background: url("https://static.igem.org/mediawiki/2018/4/4b/T--DLUT_China_B--Background--InterLab.jpg") no-repeat center center;
 +
}
 +
#dlutb .model{
 +
    background: url("https://static.igem.org/mediawiki/2018/7/76/T--DLUT_China_B--Background--Model.jpg") no-repeat center center;
 +
}
 +
#dlutb .notebook{
 +
    background: url("https://static.igem.org/mediawiki/2018/f/f7/T--DLUT_China_B--Background--Notebook.jpg") no-repeat center center;
 +
}
 +
#dlutb .parts{
 +
    background: url("https://static.igem.org/mediawiki/2018/c/c8/T--DLUT_China_B--Background--Parts.jpg") no-repeat center center;
 +
}
 +
#dlutb .moduleTitle{
 +
    font-size: 46px;
 +
    color:white;
 +
    border-bottom: 2px solid white;
 +
    margin:0 auto;
 +
    padding-bottom: 10px;
 +
    font-family: Lato, sans-serif;
 +
    display: table;
 +
    position: relative;
 +
    top:-269px;
 
}
 
}
  
 
#dlutb h2.title {
 
#dlutb h2.title {
 
     font-size: 20px;
 
     font-size: 20px;
 +
    font-weight: bold;
 
     color:#f68925;
 
     color:#f68925;
 
     border-bottom: 2px #f3af42 solid;
 
     border-bottom: 2px #f3af42 solid;
Line 103: Line 161:
 
#dlutb h3.title {
 
#dlutb h3.title {
 
     font-size: 18px;
 
     font-size: 18px;
 +
    font-weight: bold;
 
     color:#f68925;
 
     color:#f68925;
 
     border-bottom: 2px #f3af42 solid;
 
     border-bottom: 2px #f3af42 solid;
Line 117: Line 176:
 
}
 
}
  
#dlutb .moduleTitle {
 
    font-size: 20px;
 
    color:#f68925;
 
    border-bottom: 2px #f3af42 solid;
 
    display: table;
 
    margin: 170px auto 50px auto;
 
    padding-bottom: 10px;
 
    text-align: center;
 
    font-family: Lato, sans-serif;
 
}
 
 
#dlutb #box{
 
#dlutb #box{
 
     position: relative;
 
     position: relative;
Line 133: Line 182:
 
     width:100%;
 
     width:100%;
 
}
 
}
#dlutb #box #word{
+
#dlutb #box h2{
 
     position: absolute;
 
     position: absolute;
     top:35%;
+
     top:10%;
     left:20%;
+
     left:63%;
}
+
#dlutb #box #word h2{
+
 
     margin:15px auto;
 
     margin:15px auto;
 
     font-size: 36px;
 
     font-size: 36px;
     color:white;
+
     color:#7f5115;
 
}
 
}
#dlutb #box #word p{
+
#dlutb #box p{
     margin:15px auto;
+
     position: absolute;
     font-size: 24px;
+
    top:27%;
     color:white;
+
    left:7%;
 +
    width:45%;
 +
     font-size: 22px;
 +
     color:#7f5115;
 +
    text-indent: 2em;
 +
    overflow: paged-y;
 
}
 
}
  
Line 164: Line 216:
 
     user-select: none;
 
     user-select: none;
 
     line-height: 60px;
 
     line-height: 60px;
}
 
 
#dlutb .subModule {
 
    clear: both;
 
    padding: 15px;
 
    display: table;
 
    margin: 50px auto 0 auto;
 
    height: 50px;
 
    font-size: 30px;
 
    color:#f68925;
 
}
 
 
#dlutb .subModule > span {
 
    text-align: center;
 
    line-height: 50px;
 
 
}
 
}
  
 
#dlutb .mainText {
 
#dlutb .mainText {
 
     text-align: justify;
 
     text-align: justify;
     color:#f68925;
+
     color:#7f5115;
 
}
 
}
  
Line 194: Line 231:
 
     max-width: 100%;
 
     max-width: 100%;
 
     border:none;
 
     border:none;
 +
}
 +
#dlutb .mainText table.img{
 +
    margin-left: auto;
 +
    margin-right: auto;
 
}
 
}
 
#dlutb .mainText .img img{
 
#dlutb .mainText .img img{
Line 204: Line 245:
 
#dlutb .mainText p.footnote  {
 
#dlutb .mainText p.footnote  {
 
     font-size: 12px;
 
     font-size: 12px;
    text-align: center;
 
 
     margin: 0;
 
     margin: 0;
 
     padding: 0;
 
     padding: 0;
 
}
 
}
 +
#dlutb .mainText table p.footnote{
 +
    text-align: center;
 +
}
 +
 
#dlutb #article .mainText table{
 
#dlutb #article .mainText table{
 
     background: none;
 
     background: none;
 
}
 
}
 
#dlutb #article .mainText table *{
 
#dlutb #article .mainText table *{
     color: #f68925;
+
     color: #7f5115;
 
     background: none;
 
     background: none;
 
}
 
}
Line 219: Line 263:
 
     background-color: #ee9349;
 
     background-color: #ee9349;
 
     padding: 30px 60px 30px 60px;
 
     padding: 30px 60px 30px 60px;
 +
    margin-top: 50px;
 
}
 
}
  
Line 271: Line 316:
 
     position: fixed;
 
     position: fixed;
 
     bottom: 100px;
 
     bottom: 100px;
     right: 70px;
+
     right: 50px;
 
     text-align: center;
 
     text-align: center;
 
     font-size: 28px;
 
     font-size: 28px;
Line 305: Line 350:
 
     text-align: center;
 
     text-align: center;
 
     line-height: 234px;
 
     line-height: 234px;
     font-size: 30px;
+
     font-size: 46px;
 
     color:white;
 
     color:white;
 +
    font-weight: bold;
 
}
 
}
 
#dlutb #circle div.td:hover div{
 
#dlutb #circle div.td:hover div{
 
     opacity: 1;
 
     opacity: 1;
 +
}
 +
#dlutb #circle div.td div#humanPracticesCircle p{
 +
    position: absolute;
 +
    line-height: normal;
 +
    top:18%;
 +
    left:10%;
 +
    font-size: 46px;
 +
    color:white;
 +
    font-weight: bold;
 +
    text-align: center;
 
}
 
}
  
Line 324: Line 380:
 
#dlutb #article{
 
#dlutb #article{
 
     display: table-cell;
 
     display: table-cell;
 +
}
 +
#dlutb .js-plotly-plot{
 +
    display: table;
 +
    margin:0 auto;
 +
}
 +
#dlutb span.highlight{
 +
    color:red;
 +
    font-weight: bold;
 +
}
 +
#dlutb video{
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
    display: table;
 
}
 
}

Latest revision as of 10:24, 14 November 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;

} html{

   width:100%;

} body {

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

}

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

}

  1. dlutb{
   background-color: #fbf2e6;

}

  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 .mainText ul li{
   list-style: disc none;

}

  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. dlutb a {
   cursor: pointer;

}

  1. top_title {
   display: none;

}

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

}

  1. dlutb #header {
   width: 100%;

}

  1. dlutb #team{
   position: absolute;
   left: 20px;
   font-size: 18px;
   line-height: 60px;
   color:white;
   font-weight: bold;

}

  1. dlutb #moduleHeader {
   height: 530px;
   margin-bottom: 50px;

}

  1. dlutb #moduleHeader #background{
   background-size: cover;
   width: 100%;
   height: 470px;
   filter: brightness(75%);
   -webkit-filter: brightness(75%);

}

  1. dlutb .awards{
   background: url("T--DLUT_China_B--Background--Awards.jpg") no-repeat center center;

}

  1. dlutb .collaborations{
   background: url("T--DLUT_China_B--Background--Collaborations.jpg") no-repeat left center;

}

  1. dlutb .demonstrate{
   background: url("T--DLUT_China_B--Background--Demonstrate.jpg") no-repeat top center;

}

  1. dlutb .description{
   background: url("T--DLUT_China_B--Background--Description.jpg") no-repeat bottom center;

}

  1. dlutb .design{
   background: url("T--DLUT_China_B--Background--Design.jpg") no-repeat center center;

}

  1. dlutb .humanPractices{
   background: url("T--DLUT_China_B--Background--HumanPractices.jpg") no-repeat center center;

}

  1. dlutb .interLab{
   background: url("T--DLUT_China_B--Background--InterLab.jpg") no-repeat center center;

}

  1. dlutb .model{
   background: url("T--DLUT_China_B--Background--Model.jpg") no-repeat center center;

}

  1. dlutb .notebook{
   background: url("T--DLUT_China_B--Background--Notebook.jpg") no-repeat center center;

}

  1. dlutb .parts{
   background: url("T--DLUT_China_B--Background--Parts.jpg") no-repeat center center;

}

  1. dlutb .moduleTitle{
   font-size: 46px;
   color:white;
   border-bottom: 2px solid white;
   margin:0 auto;
   padding-bottom: 10px;
   font-family: Lato, sans-serif;
   display: table;
   position: relative;
   top:-269px;

}

  1. dlutb h2.title {
   font-size: 20px;
   font-weight: bold;
   color:#f68925;
   border-bottom: 2px #f3af42 solid;
   display: table;
   margin: 60px auto 50px auto;
   padding-bottom: 10px;
   text-align: center;

}

  1. dlutb h3.title {
   font-size: 18px;
   font-weight: bold;
   color:#f68925;
   border-bottom: 2px #f3af42 solid;
   display: table;

}

  1. dlutb #teamName {
   font-size: 20px;
   font-family: Lato, sans-serif;
   color:#f68925;
   border-bottom: 2px #f3af42 solid;
   margin: 200px auto 0 auto;
   display: table;

}

  1. dlutb #box{
   position: relative;

}

  1. dlutb #box img{
   width:100%;

}

  1. dlutb #box h2{
   position: absolute;
   top:10%;
   left:63%;
   margin:15px auto;
   font-size: 36px;
   color:#7f5115;

}

  1. dlutb #box p{
   position: absolute;
   top:27%;
   left:7%;
   width:45%;
   font-size: 22px;
   color:#7f5115;
   text-indent: 2em;
   overflow: paged-y;

}

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

}

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

}

  1. dlutb .mainText {
   text-align: justify;
   color:#7f5115;

}

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

}

  1. dlutb .mainText .img{
   text-align: center;
   max-width: 100%;
   border:none;

}

  1. dlutb .mainText table.img{
   margin-left: auto;
   margin-right: auto;

}

  1. dlutb .mainText .img img{
   max-width: 100%;

}

  1. dlutb .mainText .img td{
   padding:2px;
   border:none;

}

  1. dlutb .mainText p.footnote {
   font-size: 12px;
   margin: 0;
   padding: 0;

}

  1. dlutb .mainText table p.footnote{
   text-align: center;

}

  1. dlutb #article .mainText table{
   background: none;

}

  1. dlutb #article .mainText table *{
   color: #7f5115;
   background: none;

}

  1. dlutb #footer {
   background-color: #ee9349;
   padding: 30px 60px 30px 60px;
   margin-top: 50px;

}

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

}

  1. dlutb #footer p {
   color: #7f5115;
   font-size: 16px;

}

  1. dlutb #footer #address p {
   width: 80%;

}

  1. dlutb #platformName, #dlutb #qrCode {
   display: table-row;

}

  1. dlutb #address, #dlutb #follow, #dlutb #platformName p, #dlutb #qrCode div {
   display: table-cell;
   min-width: 30px;

}

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

}

  1. dlutb .btn:visited {
   color: #f3af42;

}

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

}

  1. dlutb #back {
   height: 30px;
   width: 30px;
   display: none;
   position: fixed;
   bottom: 100px;
   right: 50px;
   text-align: center;
   font-size: 28px;
   cursor:pointer;
   border:none;

}

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

}

  1. dlutb #circle{
   display: table;
   margin:25px auto 25px auto;

}

  1. dlutb #circle div.td{
   position: relative;

}

  1. dlutb #circle div.td div{
   -webkit-transition: ease-in-out 0.3s;
   -moz-transition: ease-in-out 0.3s;
   -ms-transition: ease-in-out 0.3s;
   -o-transition: ease-in-out 0.3s;
   transition: ease-in-out 0.3s;
   opacity: 0;
   background: url("T--DLUT_China_B--Circle.png") no-repeat;
   background-size: contain;
   position: absolute;
   top:0;
   left:0;
   height: 100%;
   width:100%;
   text-align: center;
   line-height: 234px;
   font-size: 46px;
   color:white;
   font-weight: bold;

}

  1. dlutb #circle div.td:hover div{
   opacity: 1;

}

  1. dlutb #circle div.td div#humanPracticesCircle p{
   position: absolute;
   line-height: normal;
   top:18%;
   left:10%;
   font-size: 46px;
   color:white;
   font-weight: bold;
   text-align: center;

}

  1. dlutb .tr{
   display: table-row;

}

  1. dlutb .td{
   display: table-cell;

}

  1. dlutb #contents{
   float:left;

}

  1. dlutb #article{
   display: table-cell;

}

  1. dlutb .js-plotly-plot{
   display: table;
   margin:0 auto;

}

  1. dlutb span.highlight{
   color:red;
   font-weight: bold;

}

  1. dlutb video{
   margin-left: auto;
   margin-right: auto;
   display: table;

}