Team:UNITN-Trento/CSS/Styles/Labpost

From 2013.igem.org

(Difference between revisions)
(Created page with ".tn-post { position: relative; width: 570px; min-height: 150px; padding-left: 50px; margin-bottom: 10px; background: lightgray; } .tn-post .tn-faces { position: absolut...")
Line 8: Line 8:
background: lightgray;
background: lightgray;
-
}
 
-
 
-
.tn-post .tn-faces {
 
-
position: absolute;
 
-
top: 15px;
 
-
left: 15px;
 
-
bottom: 15px;
 
-
 
-
border-right: 1px solid black;
 
-
 
-
width: 55px;
 
-
padding-right: 5px;
 
-
margin: 0;
 
-
}
 
-
 
-
.tn-post .tn-faces img {
 
-
display: block;
 
-
margin: 1px;
 
-
border-radius: 5px;
 
-
border: 1px solid black;
 
-
}
 
-
 
-
.tn-post .tn-top {
 
-
position: static;
 
-
margin-top: 15px;
 
-
margin-right: 15px;
 
-
 
-
width: 480px;
 
-
min-height: 25px;
 
-
}
 
-
 
-
.tn-top .title {
 
-
float: left;
 
-
margin: 5px 0;
 
-
padding: 10px;
 
-
 
-
max-width:320px;
 
-
text-align: left;
 
-
font-weight: bold;
 
-
}
 
-
 
-
.tn-top .date {
 
-
float: right;
 
-
padding-top: 10px;
 
-
margin: 5px 0;
 
-
}
 
-
 
-
.tn-post .tn-text {
 
-
position: static;
 
-
margin: 0;
 
-
padding: 10px;
 
-
 
-
width: 480px;
 
-
overflow: auto;
 
-
 
-
text-align: justify;
 
-
}
 
-
 
-
.tn-post .tn-tags {
 
-
position: static;
 
-
margin: 0 15px 15px 0px;
 
-
padding: 10px;
 
-
 
-
width: 480px;
 
-
overflow: auto;
 
-
 
-
text-align: right;
 
-
}
 
-
 
-
.tn-post .tn-tags .tag {
 
-
display: inline-block;
 
-
border: 1px solid black;
 
-
background-color: white;
 
-
padding: 2px;
 
-
margin: 2px;
 
-
font-size: 0.7em;
 
-
font-family: tahoma;
 
-
font-variant: small-caps;
 
-
font-weight: bold;
 
-
}
 
-
 
-
.tn-post .tn-tags .tag:hover {
 
-
border: 1px solid white;
 
-
background-color: black;
 
-
color: #ffffff;
 
}
}

Revision as of 07:22, 9 July 2013

.tn-post { position: relative;

width: 570px; min-height: 150px; padding-left: 50px; margin-bottom: 10px;

background: lightgray; }