Difference between revisions of "Team:USTC/css/style.css"

 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.position_center{
+
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear{display: none;}
margin: 0 auto;
+
#globalWrapper, #content { /*-- changes default wiki settings --*/
 +
  width: 100%;
 +
  height: 100%;
 +
  border: 0px;
 +
  background-color: transparent;
 +
  margin: 0px;
 +
  padding: 0px;
 
}
 
}
 
+
html, .wrapper { /*-- changes default wiki settings --*/
.wrap{
+
  width: 100%;  
width:600px;
+
  height: 100%;  
height:300px;
+
  background-color:transparent;
background:#ffffff;
+
margin:auto;
+
position:relative;
+
top:-200px;
+
border:2px solid #eeeeee;
+
margin-bottom: 10px;
+
 
}
 
}
 
+
#top_menu_14 {
 
+
  border-bottom-width: 0px;
.ilike-blue-container {
+
}
    @extend .blue, .lighten-4;
+
#bodyContent>p {
   }
+
  margin-top: 0px;
 
+
   margin-bottom: 0px;
.firstHeading {
+
  display: none;
   display:none;
+
}
 +
.nav-wrapper ul{
 +
   line-height:4.5em;
 
}
 
}
#globalWrapper {
+
ul {
    background-color: white !important;
+
  list-style-image:none !important;
 +
  line-height: inherit !important;
 +
  list-style-type: none !important;
 +
  padding: 0 !important;  
 
}
 
}
 +
ul li {
 +
  list-style-type: none !important; }
 
#content {
 
#content {
    width: 100%;
+
  font: none !important;
    background-image:url(https://static.igem.org/mediawiki/2015/6/6a/WP3.png);
+
  font-family: "Roboto", sans-serif !important;
    padding-top: 0px;
+
 
}
 
}
#bodyContent p:first-child {
+
@font-face {
     margin: 0px;
+
        font-family: 'Material Icons';
 +
        font-style: normal;
 +
        font-weight: 400;
 +
        src: local('Material Icons'), local('MaterialIcons-Regular'), url(font/MaterialIcons-Regular.woff) format('woff');
 +
        src: url(https://static.igem.org/mediawiki/2015/a/a0/USTC-MaterialIcons-Regular.eot);
 +
        /* For IE6-8 */
 +
        src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://static.igem.org/mediawiki/2015/c/c9/USTC-MaterialIcons-Regular.woff) format('woff'), url(https://static.igem.org/mediawiki/2015/a/a1/USTC-MaterialIcons-Regular.ttf) format('truetype')
 +
 +
.material-icons {
 +
     font-family: 'Material Icons';
 +
    font-weight: normal;
 +
    font-style: normal;
 +
    font-size: 24px;
 +
    line-height: 1;
 +
    letter-spacing: normal;
 +
    text-transform: none;
 +
    display: inline-block;
 +
    word-wrap: normal;
 +
    -webkit-font-feature-settings: 'liga';
 +
    -webkit-font-smoothing: antialiased;
 
}
 
}
.tabs{
+
.team_logo {
        background-color: transparent;
+
  background-image: url(https://static.igem.org/mediawiki/2015/2/27/Ustc_Team_logo.png);
      }
+
  background-repeat: no-repeat; 
 
+
  z-index: 0;
.tabs .tab a {
+
  width: 600px;
     color: white;
+
  height: 600px;
 +
  position: absolute;
 +
  right: -75px;
 +
  top: -40px;
 +
  opacity: 0.7;
 +
  margin-bottom: -600px;
 +
  overflow: hidden;
 +
}
 +
.background {
 +
    margin-bottom: -530px;
 +
    overflow: hidden;
 +
}
 +
.background::before {
 +
     content: " ";
 
     display: block;
 
     display: block;
     width: 100%;
+
    position: static;
     height: 100%;
+
     width: 2560px;
  }
+
     height: 355px;
 +
    background: #2196f3;
 +
}
 +
.background::after {
 +
    content: " ";
 +
    display: block;
 +
    position: static;
 +
    width: 0;
 +
    height: 0;
 +
    border-right: 2560px solid #2196f3;
 +
    border-bottom: 175px solid transparent;
 +
}
 +
p {
 +
    font-family: 'Roboto', sans-serif;
 +
}
 +
img {
 +
    max-width: 100%;
 +
}
  
.tabs .tab a:hover {
+
.Nav1th .btn{
     color: #82d1f4;
+
     width:100%;
 +
    height:50px;
 +
    background-color:transparent;
 +
    box-shadow: 0 0 0 0;
 +
 
 +
 
 
}
 
}
  
.tabs .indicator {
+
.indicate{
    position: absolute;
+
  margin-top:6px;
    bottom: 0;
+
}
    height: 2px;
+
    background-color: white;
+
    will-change: left, right;
+
  }
+
  
 +
.tabs .indicator{
 +
    height: 3px;
 +
}
  
 +
.dropdown-content li>a{
 +
    color:#2196f3;
 +
}
  
 +
.Nav2nd{
 +
z-index: 10;
 +
width:100%;
 +
height:50px;
 +
}
  
.team_logo
+
.isStuck{
{
+
margin-top:16px;
  background-image : url(https://static.igem.org/mediawiki/2015/2/27/Ustc_Team_logo.png);
+
  background-repeat : no-repeat;
+
  width : 563px;
+
  height : 357px;
+
 
+
  position:fixed;
+
  right:0;
+
 
}
 
}
  
nav{
+
body{
  background-color: rgba(70, 136, 241, 0.67);
+
min-width: 640px;
 +
width: 100%;
 +
height: 100%;
 +
background-color:#f5f5f5;
 
}
 
}
  
.nav-wrapper a{
+
.tabs .tab {
        text-decoration:none;
+
text-transform:none;
 
}
 
}
  
p,h1,h2,h3,h4,h5,h6 {
+
div.card-content > ul > li{list-style:disc!important}
font-size:120%;
+
 
 +
#bodyContent .toc-wrapper.pinned ul li {
 +
list-style:none!important;
 +
}
 +
#bodyContent .toc-wrapper.pinned ul{
 +
margin-left:0px;
 
}
 
}
  
#bodyContent {
+
@media only screen and (min-width: 601px){
     font-family: 'Roboto', sans-serif;
+
  .toc-wrapper.pinned{
 +
        width:18%;
 +
  }
 +
}
 +
@media only screen and (min-width : 993px) {
 +
     .toc-wrapper.pinned{
 +
        width:15%;
 +
    }
 +
}
 +
.dropdown-content li>a{
 +
padding:0.6rem 0.8rem;
 
}
 
}

Latest revision as of 12:20, 10 September 2015

  1. contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading, .visualClear{display: none;}
  2. globalWrapper, #content { /*-- changes default wiki settings --*/
 width: 100%; 
 height: 100%;
 border: 0px;
 background-color: transparent;
 margin: 0px;
 padding: 0px;

} html, .wrapper { /*-- changes default wiki settings --*/

 width: 100%; 
 height: 100%; 
 background-color:transparent; 	

}

  1. top_menu_14 {
 border-bottom-width: 0px;

}

  1. bodyContent>p {
 margin-top: 0px;
 margin-bottom: 0px;
 display: none;

} .nav-wrapper ul{

 line-height:4.5em;

} ul {

 list-style-image:none !important;
 line-height: inherit !important;
 list-style-type: none !important;
 padding: 0 !important; 

} ul li {

 list-style-type: none !important; }
  1. content {
 font: none !important;
 font-family: "Roboto", sans-serif !important;

} @font-face {

       font-family: 'Material Icons';
       font-style: normal;
       font-weight: 400;
       src: local('Material Icons'), local('MaterialIcons-Regular'), url(font/MaterialIcons-Regular.woff) format('woff');
       src: url(https://static.igem.org/mediawiki/2015/a/a0/USTC-MaterialIcons-Regular.eot);
       /* For IE6-8 */
       src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://static.igem.org/mediawiki/2015/c/c9/USTC-MaterialIcons-Regular.woff) format('woff'), url(https://static.igem.org/mediawiki/2015/a/a1/USTC-MaterialIcons-Regular.ttf) format('truetype')

} .material-icons {

   font-family: 'Material Icons';
   font-weight: normal;
   font-style: normal;
   font-size: 24px;
   line-height: 1;
   letter-spacing: normal;
   text-transform: none;
   display: inline-block;
   word-wrap: normal;
   -webkit-font-feature-settings: 'liga';
   -webkit-font-smoothing: antialiased;

} .team_logo {

  background-image: url(Ustc_Team_logo.png);
  background-repeat: no-repeat;  
  z-index: 0;
  width: 600px;
  height: 600px;
  position: absolute;
  right: -75px;
  top: -40px;
  opacity: 0.7;
  margin-bottom: -600px;
  overflow: hidden;

} .background {

   margin-bottom: -530px;
   overflow: hidden;

} .background::before {

   content: " ";
   display: block;
   position: static;
   width: 2560px;
   height: 355px;
   background: #2196f3;

} .background::after {

   content: " ";
   display: block;
   position: static;
   width: 0;
   height: 0;
   border-right: 2560px solid #2196f3;
   border-bottom: 175px solid transparent;

} p {

   font-family: 'Roboto', sans-serif;

} img {

   max-width: 100%;

}

.Nav1th .btn{

   width:100%;
   height:50px;
   background-color:transparent;
   box-shadow: 0 0 0 0;


}

.indicate{

  margin-top:6px;

}

.tabs .indicator{

   height: 3px;

}

.dropdown-content li>a{

   color:#2196f3;

}

.Nav2nd{ z-index: 10; width:100%; height:50px; }

.isStuck{ margin-top:16px; }

body{ min-width: 640px; width: 100%; height: 100%; background-color:#f5f5f5; }

.tabs .tab { text-transform:none; }

div.card-content > ul > li{list-style:disc!important}

  1. bodyContent .toc-wrapper.pinned ul li {

list-style:none!important; }

  1. bodyContent .toc-wrapper.pinned ul{

margin-left:0px; }

@media only screen and (min-width: 601px){

  .toc-wrapper.pinned{
       width:18%;
  }

} @media only screen and (min-width : 993px) {

   .toc-wrapper.pinned{
        width:15%;
   }

} .dropdown-content li>a{ padding:0.6rem 0.8rem; }