Team:UNITN-Trento/CSS/Project pages

From 2013.igem.org

(Difference between revisions)
Line 40: Line 40:
#tn-content .caption {
#tn-content .caption {
     display: block;
     display: block;
 +
    width: 80%;
     padding: 0.5em;
     padding: 0.5em;
-
     margin: 0.5em;
+
     margin: 0.5em auto;
     margin-bottom: 1em;
     margin-bottom: 1em;
 +
    font-size: 0.8em;
}
}
Line 51: Line 53:
#tn-content img {
#tn-content img {
     display: block;
     display: block;
-
     width: 100%!important;
+
     width: 80%!important;
-
     margin: auto;
+
     margin: 1em auto;
}
}

Revision as of 09:28, 30 August 2013

  1. tn-content h1 {
   padding-top: 0;
   border: none;
   font-family: 'Boogaloo', cursive;
   font-size: 2.5em;

}

  1. tn-content p {
   line-height: 1.2em;

}

  1. tn-content {
   font-family: 'Kameron', serif;
   font-size: 16px;

}

  1. tn-content .quote {
   display: block;
   margin-top: 0.5em;
   margin-bottom: 1em;
   font-family: 'Open Sans Condensed', sans-serif;
   font-size: 1.2em;
   font-style: italic;

}

  1. tn-content .subtitle {
   display: block;
   margin-top: 1.5em;
   margin-bottom: 0.5em;
   font-family: 'Open Sans Condensed', sans-serif;
   font-size: 1.2em;
   font-weight: bold;

}

  1. tn-content .ref {
   font-size: 0.8em;
   font-style: italic;

}

  1. tn-content .caption {
   display: block;
   width: 80%;
   padding: 0.5em;
   margin: 0.5em auto;
   margin-bottom: 1em;
   font-size: 0.8em;

}

  1. tn-content .caption.center {
   text-align: center;

}

  1. tn-content img {
   display: block;
   width: 80%!important;
   margin: 1em auto;

}

  1. tn-content table {
   width: auto;
   margin: 0.5em auto;

}

  1. tn-content table td,
  2. tn-content table th {
   padding: 0.5em;

}

  1. tn-content table th {
   text-align: center;

}

  1. tn-content table td.center {
   text-align: center;

}

  1. tn-content table td.right {
   text-align: right;

}

  1. tn-content .inner_content {
   width:80%;
   margin:auto;
   padding: 4em;
   background-color: #f0f0f0;
   box-shadow: 2px 2px 4px #323232;
   text-align:justify;

}

  1. tn-content img {
   display: block;
   border: 5px solid #037691;

}