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...")
 
(24 intermediate revisions not shown)
Line 1: Line 1:
.tn-post {
.tn-post {
-
position: relative;
+
    position: relative;
 +
    width: 600px;
 +
    margin: 3em 0;
 +
    padding: 8px;
 +
   
 +
    background: rgba(255,255,255,.8);
 +
    border-right: 5px solid #C4221C;
 +
    box-shadow: 1px 1px 2px #323232;
 +
   
 +
    font-family: 'Kameron', serif;
 +
    text-align: justify;
 +
}
 +
 
 +
.tn-post div.tn-faces {
 +
    position: absolute;
 +
    top: 0;
 +
    left: -86px;
 +
   
 +
    border-radius: 5px;
 +
    box-shadow: 1px 1px 2px #323232;
 +
}
-
width: 570px;
+
.tn-faces img {
-
min-height: 150px;
+
    display: block;
-
padding-left: 50px;
+
    width: 75px;
-
margin-bottom: 10px;
+
    margin: 0.2em;
-
background: lightgray;
+
    border: 2px solid transparent;
 +
    border-radius: 5px;
}
}
-
.tn-post .tn-faces {
+
.tn-postdate {
-
position: absolute;
+
    position: absolute;
-
top: 15px;
+
    top: 0;
-
left: 15px;
+
    right: -125px;
-
bottom: 15px;
+
    width: 100px;
 +
   
 +
    padding: 0 10px 10px 10px;
 +
   
 +
    background: #05AB9A;
 +
    box-shadow: 1px 1px 2px #323232;
 +
   
 +
    font-family: Arial, Helvetica, sans-serif;
 +
    font-size: 25px;
 +
    text-align: center;
 +
}
-
border-right: 1px solid black;
+
.tn-postdate a {
 +
    text-decoration: none;
 +
   
 +
    font-style: italic;
 +
    line-height: 30px;
 +
   
 +
    color: #ffffff;
 +
}
-
width: 55px;
+
.tn-postdate a .yy {
-
padding-right: 5px;
+
    font-size: 0.7em;
-
margin: 0;
+
}
}
-
.tn-post .tn-faces img {
+
.tn-postdate a .ddmm {
-
display: block;
+
    font-size: 1.5em;
-
margin: 1px;
+
    font-weight: bold;
-
border-radius: 5px;
+
-
border: 1px solid black;
+
}
}
-
.tn-post .tn-top {
+
.tn-posttitle {
-
position: static;
+
    padding: 0 10px;
-
margin-top: 15px;
+
    padding-right: 100px;
-
margin-right: 15px;
+
    margin: 0.2em 0;
 +
   
 +
    color: #C4221C;
 +
   
 +
    font-family: 'Boogaloo', cursive;
 +
    font-size: 1.8em;
 +
    text-align: justify;
 +
}
-
width: 480px;
+
.tn-text {
-
min-height: 25px;
+
    padding: 0 10px;
 +
    margin: 0;
 +
    text-align: justify;
 +
    font-size: 0.9em;
 +
    line-height: 1.3em;
 +
    font-family: 'Cabin', serif;
}
}
-
.tn-top .title {
+
.tn-tags {
-
float: left;
+
    padding: 0 10px;
-
margin: 5px 0;
+
    margin: 0;
-
padding: 10px;
+
    text-align: right;
 +
    font-size: 1.2em;
 +
}
-
max-width:320px;
+
.tn-tags span.tag {
-
text-align: left;
+
    display: inline-table;
-
font-weight: bold;
+
    margin: 4px 0 0 4px;
 +
    padding: 1px 3px;
 +
    font-size: 0.8em;
 +
    border: 2px solid #048c7e;
 +
    color: #048c7e;
}
}
-
.tn-top .date {
+
.tn-tags span.tag:hover {
-
float: right;
+
    color: #c01b39;
-
padding-top: 10px;
+
-
margin: 5px 0;
+
}
}
-
.tn-post .tn-text {
+
a.tn-editpost {
-
position: static;
+
    display: block;
-
margin: 0;
+
    position: absolute;
-
padding: 10px;
+
    top: 10px;
 +
    right: 0;
 +
    width: 50px;
 +
    text-align: center;
 +
}
-
width: 480px;
+
a.tn-editpost img {
-
overflow: auto;
+
    width: 30px;
 +
}
-
text-align: justify;
+
.tn-text > a {
 +
    text-decoration: none;
}
}
-
.tn-post .tn-tags {
+
.tn-text > a:link, .tn-text > a:visited {
-
position: static;
+
    color: #2880C5;
-
margin: 0 15px 15px 0px;
+
}
-
padding: 10px;
+
 
 +
.tn-text > a:hover {
 +
    color: #C4221C;
 +
}
 +
 
 +
.tn-text img {
 +
    max-width: 450px !important;
 +
    max-height: 450px !important;
 +
}
 +
 
 +
.tn-text table {
 +
    background: none;
 +
    margin: 2px;
 +
}
 +
 
 +
.tn-text table td, .tn-text table th {
 +
    padding: 2px;
 +
    border: 1px solid;
 +
    text-align: center;
 +
}
-
width: 480px;
+
.tag,
-
overflow: auto;
+
.tn-text .tn-spoiler a {
-
+
    display: block;
-
text-align: right;
+
    margin: 10px;
 +
    padding-left: 1em;
 +
   
 +
    background-color: #f0f0f0 !important;
 +
    border-color: #2880C5 !important;
 +
    color: #2880C5 !important;
}
}
-
.tn-post .tn-tags .tag {
+
.tag:hover,
-
display: inline-block;
+
.tn-text .tn-spoiler a:hover {
-
border: 1px solid black;
+
    background-color: #05AB9A !important;
-
background-color: white;
+
    border-color: #f0f0f0 !important;
-
padding: 2px;
+
    color: #f0f0f0 !important;
-
margin: 2px;
+
-
font-size: 0.7em;
+
-
font-family: tahoma;
+
-
font-variant: small-caps;
+
-
font-weight: bold;
+
}
}
-
.tn-post .tn-tags .tag:hover {
+
.tn-text .tn-spoiler div {
-
border: 1px solid white;
+
    margin: 15px;
-
background-color: black;
+
    margin-top: 0;
-
color: #ffffff;
+
    padding: 1em 0;
 +
   
 +
    background-color: #f0f0f0;
 +
    border-color: #2880C5;
}
}

Latest revision as of 09:59, 30 August 2013

.tn-post {

   position: relative;
   width: 600px;
   margin: 3em 0;
   padding: 8px;
   
   background: rgba(255,255,255,.8); 
   border-right: 5px solid #C4221C;
   box-shadow: 1px 1px 2px #323232;
   
   font-family: 'Kameron', serif;
   text-align: justify;

}

.tn-post div.tn-faces {

   position: absolute;
   top: 0;
   left: -86px;
   
   border-radius: 5px;
   box-shadow: 1px 1px 2px #323232;

}

.tn-faces img {

   display: block;
   width: 75px;
   margin: 0.2em;
   border: 2px solid transparent;
   border-radius: 5px;

}

.tn-postdate {

   position: absolute;
   top: 0;
   right: -125px;
   width: 100px;
   
   padding: 0 10px 10px 10px;
   
   background: #05AB9A;
   box-shadow: 1px 1px 2px #323232;
   
   font-family: Arial, Helvetica, sans-serif;
   font-size: 25px;
   text-align: center;

}

.tn-postdate a {

   text-decoration: none;
   
   font-style: italic;
   line-height: 30px;
   
   color: #ffffff;

}

.tn-postdate a .yy {

   font-size: 0.7em;

}

.tn-postdate a .ddmm {

   font-size: 1.5em;
   font-weight: bold;

}

.tn-posttitle {

   padding: 0 10px;
   padding-right: 100px;
   margin: 0.2em 0;
   
   color: #C4221C;
   
   font-family: 'Boogaloo', cursive;
   font-size: 1.8em;
   text-align: justify;

}

.tn-text {

   padding: 0 10px;
   margin: 0;
   text-align: justify;
   font-size: 0.9em;
   line-height: 1.3em;
   font-family: 'Cabin', serif;

}

.tn-tags {

   padding: 0 10px;
   margin: 0;
   text-align: right;
   font-size: 1.2em;

}

.tn-tags span.tag {

   display: inline-table;
   margin: 4px 0 0 4px;
   padding: 1px 3px;
   font-size: 0.8em;
   border: 2px solid #048c7e;
   color: #048c7e;

}

.tn-tags span.tag:hover {

   color: #c01b39;

}

a.tn-editpost {

   display: block;
   position: absolute;
   top: 10px;
   right: 0;
   width: 50px;
   text-align: center;

}

a.tn-editpost img {

   width: 30px;

}

.tn-text > a {

   text-decoration: none;

}

.tn-text > a:link, .tn-text > a:visited {

   color: #2880C5;

}

.tn-text > a:hover {

   color: #C4221C;

}

.tn-text img {

   max-width: 450px !important;
   max-height: 450px !important;

}

.tn-text table {

   background: none;
   margin: 2px;

}

.tn-text table td, .tn-text table th {

   padding: 2px;
   border: 1px solid;
   text-align: center;

}

.tag, .tn-text .tn-spoiler a {

   display: block;
   margin: 10px;
   padding-left: 1em;
   
   background-color: #f0f0f0 !important;
   border-color: #2880C5 !important;
   color: #2880C5 !important;

}

.tag:hover, .tn-text .tn-spoiler a:hover {

   background-color: #05AB9A !important;
   border-color: #f0f0f0 !important;
   color: #f0f0f0 !important;

}

.tn-text .tn-spoiler div {

   margin: 15px;
   margin-top: 0;
   padding: 1em 0;
   
   background-color: #f0f0f0;
   border-color: #2880C5;

}