Team:UNITN-Trento/CSS/Tour

From 2013.igem.org

(Difference between revisions)
Line 81: Line 81:
width: 90%;
width: 90%;
-
margin: 0 auto;
+
 +
margin: 2px auto;
 +
padding: 2px 0;
border-bottom: 1px solid black;
border-bottom: 1px solid black;
}
}

Revision as of 14:40, 18 September 2013

.tn-container { position: relative;

width: 960px; min-height: 800px; margin: 0 auto;

background-image: url(Tn-2013-Tourbg-kiwiki.png); background-attachment: scroll; background-position: 300px 50px; background-repeat: no-repeat;

text-align: center; }

.tn-container .bubble { position: relative;

width: 300px;

margin-left: 200px; padding: 10px;

background-color: white; border: 2px solid black; border-radius: 0.5em;

font-family: "Mouse Memoirs",cursive; font-size: 1.8em; }

.tn-container .bubble .point { position: absolute; bottom: -26px; right: 50px;

width: 20px; height: 26px;

background-image: url(Tn-2013-guide-Bubble-point.png); background-attachment: scroll; background-position: center center; background-repeat: no-repeat; }

.tn-container .tour { width: 300px; height: 200px;

background-color: white; border-radius: 1em; box-shadow: 2px 2px 4px #323232; }

.tn-container #tour1 { position: absolute; left: 10px; bottom: 300px; }

.tn-container #tour2 { position: absolute; left: 50px; bottom: 30px; }

.tn-container #tour3 { position: absolute; right: 100px; bottom: 10px; }

.tn-container #tour4 { position: absolute; right: 10px; bottom: 240px; }

.tn-container .tour .title { display: block;

width: 90%;

margin: 2px auto; padding: 2px 0;

border-bottom: 1px solid black; }