Team:UNITN-Trento/CSS/Products

From 2013.igem.org

(Difference between revisions)
m (Added cross-browser support to guid rotation)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
.container {
+
#tn-content .container {
-
     background-color: #d09220 !important;
+
     background-color: rgb(208,146,32);
-
     background-image: url(https://static.igem.org/mediawiki/2013/c/c6/Tn-2013-boxbg-onda-Gold.png) !important;
+
     background-image: url(https://static.igem.org/mediawiki/2013/c/c6/Tn-2013-boxbg-onda-Gold.png);
-
    background-position: 0 30px !important;
+
}
}
-
.container .sheet {
+
.silhouette img {
-
     position: relative;
+
     display: block;
-
     min-height: 410px;
+
     margin: 0 auto;
-
     margin: 15px !important;
+
     margin-bottom: 0 !important;
-
    background-color: rgba(250,250,250,.5) !important;
+
width: 92%;
 +
margin-top: -22px;
}
}
-
.container .sheet .guide {
+
.container {
-
     position: absolute;
+
     text-align: center;
-
    top: 0px;
+
-
    left: 0px;
+
-
   
+
-
    width: 250px;
+
-
    transform:rotate(-15deg);
+
-
    -webkit-transform:rotate(-15deg);
+
-
    -moz-transform:rotate(-15deg);
+
}
}
-
.container .sheet .bubble {
+
.container .menu {
-
     position: absolute;
+
     margin: 0 auto;
-
    top: 10px;
+
     width: 300px;
-
    left: 230px;
+
-
   
+
-
    padding: 15px;
+
-
     width: 620px;
+
-
   
+
-
    background-color: white;
+
-
    border: 2px solid black;
+
-
    border-radius: 0.5em;
+
-
   
+
-
    font-family: "Cabin", cursive;
+
-
}
+
-
.container .sheet .bubble .title {
+
-
    font-size: 1.5em;
+
-
    margin: 0;
+
}
}
-
.container .sheet .bubble .title b {
+
.container .menu a {
-
    font-size: 1.2em;
+
-
    font-family: "Boogaloo", sans-serif;
+
-
    color: green;
+
-
}
+
-
 
+
-
.container .sheet .bubble .pointer {
+
-
    position: absolute;
+
-
    top: 20px;
+
-
    left: -23px;
+
-
   
+
-
    transform:rotate(90deg);
+
-
    -ms-transform:rotate(90deg);
+
-
    -webkit-transform:rotate(90deg);
+
-
}
+
-
 
+
-
.container .sheet .dots {
+
-
    position: absolute;
+
-
    top: 140px;
+
-
    right: 20px;
+
-
    width: 650px;
+
-
   
+
-
}
+
-
 
+
-
.container .sheet .dots a > div {
+
-
    position: relative;
+
     display: inline-block;
     display: inline-block;
-
    width: 300px;
 
-
    margin: 10px;
 
-
    text-align: center;
 
-
    vertical-align: top;
 
-
}
 
-
 
-
.container .sheet .dots div .circle {
 
-
    height: 250px;
 
-
    width: 250px;
 
-
}
 
-
 
-
.container .sheet .dots div .title {
 
-
    position: absolute;
 
-
    top: 25px;
 
-
    left: 65px;
 
      
      
-
     padding: 5px 5px;
+
    margin: 20px auto;
-
     width: 150px;
+
     padding: 4px;
 +
    min-width: 92px;
 +
     max-width: 110px;
      
      
-
     background: rgba(149,191,191,.9);
+
     background-color: rgba(250,250,250,.8);
-
     border: 5px solid white;
+
     border: 3px solid transparent;
-
     border-radius: 0.5em;
+
     border-radius: 5px;
-
    box-shadow: 1px 1px 1px #545454;
+
      
      
-
     color: white;
+
     color: #d09220;
     font-family: "Boogaloo", sans-serif;
     font-family: "Boogaloo", sans-serif;
-
     font-size: 1.5em;
+
     font-size: 1.2em;
-
     text-shadow: 0 0 2px black;
+
     text-align: center;
 +
    text-decoration: none;
}
}
-
.container .sheet .dots div:hover .title {
+
.container .menu a:hover {
-
     background: rgba(196, 34, 28,.9);
+
     background-color: transparent;
-
    box-shadow: 1px 1px 1px black;
+
     border-color: white;
-
}
+
-
 
+
-
.container .sheet .dots .descr {
+
-
     position: absolute;
+
-
    top: 200px;
+
-
    left: 25px;
+
-
   
+
-
    padding: 10px;
+
-
    width: 225px;
+
-
   
+
-
    background-color: rgba(50,50,50,.9);
+
-
    border: 2px solid white;
+
-
    border-radius: 10px;
+
-
   
+
     color: white;
     color: white;
-
    font-family: "Cabin",cursive;
 
-
    font-size: 0.9em;
 
-
    text-align: justify;
 
     text-shadow: 0 0 2px black;
     text-shadow: 0 0 2px black;
}
}

Latest revision as of 12:06, 3 October 2013

  1. tn-content .container {
   background-color: rgb(208,146,32);
   background-image: url(Tn-2013-boxbg-onda-Gold.png);

}

.silhouette img {

   display: block;
   margin: 0 auto;
   margin-bottom: 0 !important;

width: 92%; margin-top: -22px; }

.container {

   text-align: center;

}

.container .menu {

   margin: 0 auto;
   width: 300px;

}

.container .menu a {

   display: inline-block;
   
   margin: 20px auto;
   padding: 4px;
   min-width: 92px;
   max-width: 110px;
   
   background-color: rgba(250,250,250,.8);
   border: 3px solid transparent;
   border-radius: 5px;
   
   color: #d09220;
   font-family: "Boogaloo", sans-serif;
   font-size: 1.2em;
   text-align: center;
   text-decoration: none;

}

.container .menu a:hover {

   background-color: transparent;
   border-color: white;
   color: white;
   text-shadow: 0 0 2px black;

}