Team:UNITN-Trento/CSS/Default

From 2013.igem.org

(Difference between revisions)
Line 48: Line 48:
/*Style content-class*/
/*Style content-class*/
-
#tn-central-container {
+
#tn-central-container #tn-content .content .sheet {
     font-family: "Cabin", sans-serif;
     font-family: "Cabin", sans-serif;
     font-size: 16px;
     font-size: 16px;
}
}
-
#tn-central-container .tn-title {
+
#tn-central-container #tn-content .content .sheet .tn-title {
     padding-top: 0;
     padding-top: 0;
Line 62: Line 62:
}
}
-
#tn-central-container .tn-subtitle {
+
#tn-central-container #tn-content .content .sheet .tn-subtitle {
     display: block;
     display: block;
Line 73: Line 73:
}
}
-
#tn-central-container .tn-sub-subtitle:before {
+
#tn-central-container #tn-content .content .sheet .tn-sub-subtitle:before {
     content: "\00BB\ ";
     content: "\00BB\ ";
}
}
-
#tn-central-container .tn-sub-subtitle {
+
#tn-central-container #tn-content .content .sheet .tn-sub-subtitle {
     display: block;
     display: block;
Line 88: Line 88:
}
}
-
#tn-central-container a:link,
+
#tn-central-container #tn-content .content .sheet a:link,
-
#tn-central-container a:visited {
+
#tn-central-container #tn-content .content .sheet a:visited {
     color: #323232;
     color: #323232;
}
}
-
#tn-central-container a:hover {
+
#tn-central-container #tn-content .content .sheet a:hover {
     color: black;
     color: black;
}
}
-
#tn-central-container .tn-quote {
+
#tn-central-container #tn-content .content .sheet .tn-quote {
     display: block;
     display: block;
Line 108: Line 108:
}
}
-
#tn-central-container .tn-effect {
+
#tn-central-container #tn-content .content .sheet .tn-effect {
}
}
-
#tn-central-container .tn-ref {
+
#tn-central-container #tn-content .content .sheet .tn-ref {
     font-family: "Kameron", cursive;
     font-family: "Kameron", cursive;
     font-size: 0.8em;
     font-size: 0.8em;
}
}
-
#tn-central-container .tn-effect-link a:link,
+
#tn-central-container #tn-content .content .sheet .tn-effect-link a:link,
-
#tn-central-container .tn-effect-link a:visited {
+
#tn-central-container #tn-content .content .sheet .tn-effect-link a:visited {
     display: block;
     display: block;
      
      
Line 129: Line 129:
}
}
-
#tn-central-container .tn-effect-link a:hover {
+
#tn-central-container #tn-content .content .sheet .tn-effect-link a:hover {
     color: black;
     color: black;
}
}
-
#tn-central-container .tn-quote-link a:link,
+
#tn-central-container #tn-content .content .sheet .tn-quote-link a:link,
-
#tn-central-container .tn-quote-link a:visited {
+
#tn-central-container #tn-content .content .sheet .tn-quote-link a:visited {
     display: block;
     display: block;
Line 146: Line 146:
}
}
-
#tn-central-container .tn-quote-link a:hover {
+
#tn-central-container #tn-content .content .sheet .tn-quote-link a:hover {
     color: black;
     color: black;
}
}
-
#tn-central-container .tn-caption {
+
#tn-central-container #tn-content .content .sheet .tn-caption {
     display: block;
     display: block;
Line 161: Line 161:
}
}
-
#tn-content .tn-caption.center {
+
#tn-central-container #tn-content .content .sheet-caption.center {
     text-align: center;
     text-align: center;
}
}
-
#tn-central-container p {
+
#tn-central-container #tn-content .content .sheet p {
     line-height: 1.2em;
     line-height: 1.2em;
}
}
-
#tn-central-container img {
+
#tn-central-container #tn-content .content .sheet img {
     display: block;
     display: block;
Line 179: Line 179:
}
}
-
#tn-central-container img.no-border {
+
#tn-central-container #tn-content .content .sheet img.no-border {
     border: none;
     border: none;
     box-shadow: none;
     box-shadow: none;
}
}
-
#tn-central-container img.no-bottom {
+
#tn-central-container #tn-content .content .sheet img.no-bottom {
     margin-bottom: 0;
     margin-bottom: 0;
}
}
-
#tn-central-container img.no-top {
+
#tn-central-container #tn-content .content .sheet img.no-top {
     margin-top: 0;
     margin-top: 0;
}
}
-
#tn-central-container ul {
+
#tn-central-container #tn-content .content .sheet ul {
     list-style: disc;
     list-style: disc;
}
}
-
#tn-central-container table {
+
#tn-central-container #tn-content .content .sheet table {
     margin: 1em auto;
     margin: 1em auto;
     max-width: 800px;
     max-width: 800px;
Line 203: Line 203:
}
}
-
#tn-central-container table.no-bottom {
+
#tn-central-container #tn-content .content .sheet table.no-bottom {
     margin-bottom: 0;
     margin-bottom: 0;
}
}
-
#tn-central-container table td,
+
#tn-central-container #tn-content .content .sheet table td,
-
#tn-central-container table th {
+
#tn-central-container #tn-content .content .sheet table th {
     padding: 0.2em;
     padding: 0.2em;
      
      
Line 216: Line 216:
}
}
-
#tn-central-container table .right {
+
#tn-central-container #tn-content .content .sheet table .right {
     text-align: right;
     text-align: right;
}
}
-
#tn-central-container table .center {
+
#tn-central-container #tn-content .content .sheet table .center {
     text-align: center;
     text-align: center;
}
}
/*FOOTER IN APPOSITE SUBS/TEMPLATE*/
/*FOOTER IN APPOSITE SUBS/TEMPLATE*/

Revision as of 08:57, 26 September 2013

/*HEADER IN APPOSITE SUBS/TEMPLATE*/

/*******************/ /*CENTRAL CONTAINER*/ /*******************/

  1. tn-central-container {
   display: block;
   width: 100%;
   min-height: 600px;
   margin: 0 auto;
   padding: 1.5em 0;
   background-color: #dadada;
   background-image: url(https://static.igem.org/mediawiki/2013/a/aa/Tn-2013-mainbg-Wood_pattern.png);a
   background-size: 100% auto !important;
   box-shadow: 0 0 8px ;
   
   font-family: 'Cabin', sans-serif;

}

  1. tn-content-wrap {
   display: static;
   max-width: 1200px;
   min-height: 600px;
   margin: 0 auto;
   margin-top: 6em;
   padding: 1px;
   padding-top: 0;

}


  1. tn-content {
   display: static;
   max-width: 1200px;
   height: 100%;
   
   padding: 1em;
   padding-top: 0;

}

/*Style content-class*/

  1. tn-central-container #tn-content .content .sheet {
   font-family: "Cabin", sans-serif;
   font-size: 16px;

}

  1. tn-central-container #tn-content .content .sheet .tn-title {
   padding-top: 0;
   border: none;
   font-family: 'Boogaloo', cursive;
   font-size: 2.5em;

}

  1. tn-central-container #tn-content .content .sheet .tn-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-central-container #tn-content .content .sheet .tn-sub-subtitle:before {
   content: "\00BB\ ";

}

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

}

  1. tn-central-container #tn-content .content .sheet a:link,
  2. tn-central-container #tn-content .content .sheet a:visited {
   color: #323232;

}

  1. tn-central-container #tn-content .content .sheet a:hover {
   color: black;

}

  1. tn-central-container #tn-content .content .sheet .tn-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-central-container #tn-content .content .sheet .tn-effect {

}

  1. tn-central-container #tn-content .content .sheet .tn-ref {
   font-family: "Kameron", cursive;
   font-size: 0.8em;

}

  1. tn-central-container #tn-content .content .sheet .tn-effect-link a:link,
  2. tn-central-container #tn-content .content .sheet .tn-effect-link a:visited {
   display: block;
   
   margin: 0 auto;
   
   color: #323232;
   font-family: "Open Sans Condensed", sans-serif;
   font-size: 2em;
   text-align: center;

}

  1. tn-central-container #tn-content .content .sheet .tn-effect-link a:hover {
   color: black;

}

  1. tn-central-container #tn-content .content .sheet .tn-quote-link a:link,
  2. tn-central-container #tn-content .content .sheet .tn-quote-link a:visited {
   display: block;
   margin-top: 0.5em;
   margin-bottom: 1em;
   color: #323232;
   font-family: 'Open Sans Condensed', sans-serif;
   font-size: 1.2em;
   font-style: italic;

}

  1. tn-central-container #tn-content .content .sheet .tn-quote-link a:hover {
   color: black;

}

  1. tn-central-container #tn-content .content .sheet .tn-caption {
   display: block;
   margin: 0 auto;
   margin-bottom: 1em;
   padding: 0.5em;
   width: 80%;
   
   font-size: 0.9em;

}

  1. tn-central-container #tn-content .content .sheet-caption.center {
   text-align: center;

}

  1. tn-central-container #tn-content .content .sheet p {
   line-height: 1.2em;

}

  1. tn-central-container #tn-content .content .sheet img {
   display: block;
   margin: 1em auto;
   width: 800px;
   
   border: 3px solid white;
   box-shadow: 2px 2px 4px #323232;

}

  1. tn-central-container #tn-content .content .sheet img.no-border {
   border: none;
   box-shadow: none;

}

  1. tn-central-container #tn-content .content .sheet img.no-bottom {
   margin-bottom: 0;

}

  1. tn-central-container #tn-content .content .sheet img.no-top {
   margin-top: 0;

}

  1. tn-central-container #tn-content .content .sheet ul {
   list-style: disc;

}

  1. tn-central-container #tn-content .content .sheet table {
   margin: 1em auto;
   max-width: 800px;
   background-color: transparent;

}

  1. tn-central-container #tn-content .content .sheet table.no-bottom {
   margin-bottom: 0;

}

  1. tn-central-container #tn-content .content .sheet table td,
  2. tn-central-container #tn-content .content .sheet table th {
   padding: 0.2em;
   
   width: 50%;
   
   border: 1px dotted black;

}

  1. tn-central-container #tn-content .content .sheet table .right {
   text-align: right;

}

  1. tn-central-container #tn-content .content .sheet table .center {
   text-align: center;

}

/*FOOTER IN APPOSITE SUBS/TEMPLATE*/