Team:UNITN-Trento/CSS/Products

From 2013.igem.org

(Difference between revisions)
(Styling the dot buttons)
 
(11 intermediate revisions not shown)
Line 1: Line 1:
-
.container .sheet {
+
#tn-content .container {
-
     position: relative;
+
     background-color: rgb(208,146,32);
-
     min-height: 600px;
+
     background-image: url(https://static.igem.org/mediawiki/2013/c/c6/Tn-2013-boxbg-onda-Gold.png);
}
}
-
.container .sheet .guide {
+
.silhouette img {
-
     position: absolute;
+
     display: block;
-
     top: 0px;
+
     margin: 0 auto;
-
     left: 0px;
+
     margin-bottom: 0 !important;
-
   
+
width: 92%;
-
    width: 300px;
+
margin-top: -22px;
-
    transform:rotate(-15deg);
+
}
}
-
.container .sheet .bubble {
+
.container {
-
     position: absolute;
+
     text-align: center;
-
    top: 10px;
+
-
    left: 300px;
+
-
   
+
-
    padding: 15px;
+
-
    width: 500px;
+
-
   
+
-
    background-color: white;
+
-
    border: 2px solid black;
+
-
    border-radius: 0.5em;
+
-
   
+
-
    font-family: "Cabin", cursive;
+
}
}
-
.container .sheet .bubble .pointer {
+
.container .menu {
-
     position: absolute;
+
     margin: 0 auto;
-
     top: 20px;
+
     width: 300px;
-
    left: -23px;
+
-
   
+
-
    transform:rotate(90deg);
+
}
}
-
.container .sheet .dots {
+
.container .menu a {
-
     position: absolute;
+
     display: inline-block;
-
    top: 180px;
+
-
    right: 10px;
+
-
    width: 650px;
+
      
      
-
}
+
    margin: 20px auto;
-
 
+
    padding: 4px;
-
.container .sheet .dots > div {
+
    min-width: 92px;
-
     display: inline-block;
+
    max-width: 110px;
-
     width: 300px;
+
   
-
     margin: 10px;
+
    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-align: center;
 +
    text-decoration: none;
}
}
-
.container .sheet .dots .circle {
+
.container .menu a:hover {
-
     height: 250px;
+
     background-color: transparent;
-
     width: 250px;
+
     border-color: white;
-
}
+
     color: white;
-
 
+
     text-shadow: 0 0 2px black;
-
.container .sheet .dots .descr {
+
-
     padding: 10px;
+
-
     text-align: justify;
+
}
}

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;

}