Template:Team:VirtusParva/MainCss

From 2014.igem.org

(Difference between revisions)
 
(18 intermediate revisions not shown)
Line 10: Line 10:
padding-top: 100px;
padding-top: 100px;
margin-bottom: 20px;
margin-bottom: 20px;
-
font-family: Georgia, Times, "Times New Roman", serif;  
+
font-family: Helvetica, Helvetica Narrow, Verdana, sans-serif;  
}
}
-
h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif;}
+
h1, h3, h4, h5 { font-family: Helvetica, Helvetica Narrow, Verdana, sans-serif; color: #FFFFFF}
 +
 
 +
h2 { font-family: Helvetica, Helvetica Narrow, Verdana, sans-serif; color: #FFFFFF}
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
Line 41: Line 43:
text-decoration: none;  
text-decoration: none;  
background-color: transparent;
background-color: transparent;
 +
}
 +
 +
#my-nav-bar{
 +
        height: 50px;
 +
        display: block;
 +
        z-index: 100;
 +
position: fixed;
 +
        width: 100%;
 +
        top: 0;
}
}
body {  
body {  
-
background-color: #fff;
+
background-color: #transparent;
 +
        background-attachment: fixed;
}
}
Line 59: Line 71:
width: 100%;  
width: 100%;  
height: 100%;  
height: 100%;  
-
background-color: transparent;
+
background-color: #transparent;
}
}
#contentcontainer { /*-- creates container for all content on page --*/
#contentcontainer { /*-- creates container for all content on page --*/
-
font-family: Arial, Helvetica, sans-serif;  
+
font-family: Helvetica, Arial, sans-serif;  
font-weight: normal;  
font-weight: normal;  
font-size: 14px;  
font-size: 14px;  
Line 77: Line 89:
list-style-type: none;  
list-style-type: none;  
list-style-image: none;  
list-style-image: none;  
-
font-family: verdana;  
+
font-family: Helvetica, Arial, sans-serif;  
text-decoration: none;  
text-decoration: none;  
color:#000;  
color:#000;  
Line 107: Line 119:
.sub-sidemenu a {color: #666;}
.sub-sidemenu a {color: #666;}
-
/*ESTO ES DE UN SLIDER*/
 
-
#slider {
 
-
  background: #000;
 
-
  border: 5px solid #eaeaea;
 
-
  box-shadow: 1px 1px 5px rgba(0,0,0,0.7);
 
-
  height: 320px;
 
-
  width: 680px;
 
-
  margin: 40px auto 0;
 
-
  overflow: visible;
 
-
  position: relative;
 
-
 
-
#mask {
 
-
  overflow: hidden;
 
-
  height: 320px;
 
-
}
 
-
 
-
#slider ul {
 
-
  margin: 0;
 
-
  padding: 0;
 
-
  position: relative;
 
-
}
 
-
 
-
#slider li {
 
-
  width: 680px;  /* Width Image */
 
-
  height: 320px; /* Height Image */
 
-
  position: absolute;
 
-
  top: -325px; /* Original Position - Outside of the Slider */
 
-
  list-style: none;
 
-
}
 
-
 
-
#slider li.firstanimation {
 
-
  animation: cycle 25s linear infinite;
 
-
}
 
-
 
-
#slider li.secondanimation {
 
-
  animation: cycletwo 25s linear infinite;
 
-
}
 
-
 
-
#slider li.thirdanimation {
 
-
  animation: cyclethree 25s linear infinite;
 
-
}
 
-
 
-
#slider li.fourthanimation {
 
-
  animation: cyclefour 25s linear infinite;
 
-
}
 
-
 
-
#slider li.fifthanimation {
 
-
  animation: cyclefive 25s linear infinite;
 
-
}
 
-
 
-
 
-
/* ANIMATION */
 
-
 
-
@keyframes cycle {
 
-
  0%  { top: 0px; } /* When you start the slide, the first image is already visible */
 
-
  4%  { top: 0px; } /* Original Position */
 
-
  16% { top: 0px; opacity:1; z-index:0; } /* From 4% to 16 % = for 3 seconds the image is visible */
 
-
  20% { top: 325px; opacity: 0; z-index: 0; } /* From 16% to 20% = for 1 second exit image */
 
-
  21% { top: -325px; opacity: 0; z-index: -1; } /* Return to Original Position */
 
-
  92% { top: -325px; opacity: 0; z-index: 0; }
 
-
  96% { top: -325px; opacity: 0; } /* From 96% to 100% = for 1 second enter image*/
 
-
  100%{ top: 0px; opacity: 1; }
 
-
}
 
-
 
-
@keyframes cycletwo {
 
-
  0%  { top: -325px; opacity: 0; } /* Original Position */
 
-
  16% { top: -325px; opacity: 0; }/* Starts moving after 16% to this position */
 
-
  20% { top: 0px; opacity: 1; }
 
-
  24% { top: 0px; opacity: 1; }  /* From 20% to 24% = for 1 second enter image*/
 
-
  36% { top: 0px; opacity: 1; z-index: 0; }  /* From 24% to 36 % = for 3 seconds the image is visible */
 
-
  40% { top: 325px; opacity: 0; z-index: 0; } /* From 36% to 40% = for 1 second exit image */
 
-
  41% { top: -325px; opacity: 0; z-index: -1; }  /* Return to Original Position */
 
-
  100%{ top: -325px; opacity: 0; z-index: -1; }
 
-
}
 
-
 
-
@keyframes cyclethree {
 
-
  0%  { top: -325px; opacity: 0; }
 
-
  36% { top: -325px; opacity: 0; }
 
-
  40% { top: 0px; opacity: 1; }
 
-
  44% { top: 0px; opacity: 1; }
 
-
  56% { top: 0px; opacity: 1; }
 
-
  60% { top: 325px; opacity: 0; z-index: 0; }
 
-
  61% { top: -325px; opacity: 0; z-index: -1; }
 
-
  100%{ top: -325px; opacity: 0; z-index: -1; }
 
-
}
 
-
 
-
@keyframes cyclefour {
 
-
  0%  { top: -325px; opacity: 0; }
 
-
  56% { top: -325px; opacity: 0; }
 
-
  60% { top: 0px; opacity: 1; }
 
-
  64% { top: 0px; opacity: 1; }
 
-
  76% { top: 0px; opacity: 1; z-index: 0; }
 
-
  80% { top: 325px; opacity: 0; z-index: 0; }
 
-
  81% { top: -325px; opacity: 0; z-index: -1; }
 
-
  100%{ top: -325px; opacity: 0; z-index: -1; }
 
-
}
 
-
@keyframes cyclefive {
 
-
  0%  { top: -325px; opacity: 0; }
 
-
  76% { top: -325px; opacity: 0; }
 
-
  80% { top: 0px; opacity: 1; }
 
-
  84% { top: 0px; opacity: 1; }
 
-
  96% { top: 0px; opacity: 1; z-index: 0; }
 
-
  100%{ top: 325px; opacity: 0; z-index: 0; }
 
-
}
 
-
 
-
/*FIN SLIDER*/
 
div.underconst
div.underconst
Line 242: Line 148:
color: #414141;
color: #414141;
font-size: 25px;   
font-size: 25px;   
-
         font-family: Georgia, Times, "Times New Roman", serif;
+
         font-family: Helvetica, Arial, sans-serif; ;
padding: 10px 15px 5px 10px;  
padding: 10px 15px 5px 10px;  
border-bottom: 1px solid #ccc;  
border-bottom: 1px solid #ccc;  
Line 259: Line 165:
display: inline;  
display: inline;  
font-size: 14px;  
font-size: 14px;  
-
font-family: Arial, Helvetica, sans-serif;  
+
font-family: Helvetica, Arial, sans-serif;
padding: 0px;  
padding: 0px;  
margin: 0px;
margin: 0px;
Line 316: Line 222:
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
.annItem li {list-style: none; margin: 5px}
.annItem li {list-style: none; margin: 5px}
-
 
</style>
</style>
-
</style>
+
</head>
-
 
+
</html>
</html>

Latest revision as of 02:08, 18 October 2014