Team:UNITN-Trento/CSS/Default

From 2013.igem.org

(Difference between revisions)
 
(45 intermediate revisions not shown)
Line 1: Line 1:
-
#tn-header {
+
/*HEADER IN APPOSITE SUBS/TEMPLATE*/
-
    min-height: 210px;
+
-
    background-color: #038c7e;
+
/*******************/
-
    border-bottom: 10px solid #bf1b39;
+
/*CENTRAL CONTAINER*/
 +
/*******************/
-
    text-align: center;
+
#tn-central-container {
-
}
+
    display: block;
-
.tn-logo {
+
    width: 100%;
-
     display: inline-block;
+
    min-height: 600px;
-
}
+
 
 +
     margin: 0 auto;
 +
    padding: 1.5em 0;
-
.tn-logo.tn-side {
+
    background-color: #dadada;
-
     position: relative;
+
     background-image: url(https://static.igem.org/mediawiki/2013/a/aa/Tn-2013-mainbg-Wood_pattern.png);a
-
     top: -1em;
+
     background-size: 100% auto !important;
-
     width: 125px;
+
     box-shadow: 0 0 8px ;
      
      
-
     margin: 0 2em;
+
     font-family: 'Cabin', sans-serif;
}
}
-
#tn-bfruity-logo {
+
#tn-content-wrap {
-
     margin-top: 2.2em;
+
    display: static;
 +
 
 +
    max-width: 1200px;
 +
    min-height: 600px;
 +
 
 +
     margin: 0 auto;
 +
    margin-top: 6em;
 +
    padding: 1px;
 +
    padding-top: 0;
}
}
-
#tn-igem-unitn-logo {
+
 
-
     margin-top: 2.1em;
+
#tn-content {
 +
    display: static;
 +
 
 +
     margin: 0 auto;
 +
 
 +
    max-width: 1200px;
 +
    height: 100%;
 +
   
 +
    padding: 1em;
 +
    padding-top: 0;
}
}
-
#tn-igem-main {
+
/*Style content-class*/
-
     margin-top: 2.3em;
+
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet {
 +
     font-family: "Cabin", sans-serif;
 +
    font-size: 16px;
}
}
-
/*MENU*/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-title {
 +
    display: block;
-
#tn-menu {
+
    padding-top: 0;
-
    position: relative;
+
-
    top: -2.7em;
+
-
    height: 32px;
+
-
    margin: 0 auto;
+
-
     list-style: none;
+
     border: none;
 +
 
 +
    font-family: 'Boogaloo', cursive;
 +
    font-size: 2.5em;
}
}
-
#tn-menu li {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-subtitle {
-
     width: 150px;
+
     display: block;
-
    height: 30px;
+
-
    padding: 0;
+
-
    margin: 0;
+
-
     font-family: "Trebuchet MS", Helvetica, sans-serif;
+
    margin-top: 1.5em;
-
     font-variant: small-caps;
+
    margin-bottom: 0.5em;
 +
 
 +
     font-family: 'Open Sans Condensed', sans-serif;
 +
     font-size: 1.2em;
     font-weight: bold;
     font-weight: bold;
-
    font-size: 1em;
+
}
-
    color: #f0f2df;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-sub-subtitle:before {
-
     border: none;
+
     content: "\00BB\ ";
}
}
-
/*First menu*/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-sub-subtitle {
 +
    display: block;
-
#tn-menu > li {
+
     margin-top: 1.5em;
-
     display: inline-table;
+
     margin-bottom: 0.5em;
-
    padding-top: 0.2em;
+
-
     padding-bottom: 13px;
+
-
     opacity: 0.9;
+
     font-family: 'Open Sans Condensed', sans-serif;
 +
    font-size: 1em;
 +
    font-weight: bold;
}
}
-
#tn-menu > li:hover {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:link,
-
     opacity: 1.0;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:visited {
 +
     color: #323232;
}
}
-
/*SUB_MENU*/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:hover {
 +
    color: black;
 +
}
-
#tn-menu > li > ul {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote {
-
     position: absolute;
+
     display: block;
-
    top: 100%;
+
-
    z-index: 5;
+
-
     display: none;
+
     margin-top: 0.5em;
-
     padding: 0; margin: 0;
+
     margin-bottom: 1em;
-
     background: none;
+
     font-family: 'Open Sans Condensed', sans-serif;
 +
    font-size: 1.2em;
 +
    font-style: italic;
}
}
-
#tn-menu > li > ul > li {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect {
-
     background-color: #038c7e;
+
     display: block;
-
     border: 1px solid transparent;
+
   
 +
    margin: 0.4em 0;
 +
   
 +
    font-family: "Open Sans Condensed", cursive;
 +
     font-size: 1.8em;
 +
    text-align: center;
}
}
-
#tn-menu > li > ul > li:hover {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-ref {
-
     background-color: #007064;
+
     font-family: "Kameron", cursive;
-
     border: 1px solid white;
+
     font-size: 0.8em;
}
}
-
#tn-menu > li:hover > ul,
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:link,
-
#tn-menu > li:hover > ul li {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:visited {
     display: block;
     display: block;
 +
   
 +
    margin: 0 auto;
 +
   
 +
    color: #323232;
 +
    font-family: "Open Sans Condensed", sans-serif;
 +
    font-size: 2em;
 +
    text-align: center;
}
}
-
/*MENU Links*/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:hover {
 +
    color: black;
 +
}
-
#tn-menu a {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:link,
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:visited {
     display: block;
     display: block;
-
     width: 100%;
+
 
 +
    margin-top: 0.5em;
 +
    margin-bottom: 1em;
 +
 
 +
    color: #323232;
 +
    font-family: 'Open Sans Condensed', sans-serif;
 +
    font-size: 1.2em;
 +
    font-style: italic;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:hover {
 +
    color: black;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-caption {
 +
    display: block;
 +
 
 +
    margin: 0 auto;
 +
    margin-bottom: 1em;
 +
    padding: 0.5em;
 +
     width: 80%;
 +
   
 +
    font-size: 0.9em;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet-caption.center {
 +
    text-align: center;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet p {
 +
    line-height: 1.2em;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > img {
 +
    display: block;
 +
 
 +
    margin: 1em auto;
 +
    width: 800px;
 +
   
 +
    border: 3px solid white;
 +
    box-shadow: 2px 2px 4px #323232;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet img.no-border {
 +
    border: none;
 +
    box-shadow: none;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet img.no-bottom {
 +
    margin-bottom: 0;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet img.no-top {
 +
    margin-top: 0;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet ul {
 +
    list-style: disc;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table {
 +
    margin: 1em auto;
 +
    max-width: 800px;
 +
 
 +
    background-color: transparent;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table.no-bottom {
 +
    margin-bottom: 0;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table td,
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table th {
 +
    padding: 0.2em;
 +
   
 +
    width: 50%;
 +
   
 +
    border: 1px dotted black;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table .right {
 +
    text-align: right;
 +
}
 +
 
 +
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table .center {
 +
    text-align: center;
 +
}
 +
 
 +
/*HoverTag*/
 +
 
 +
.tn-hoverTag {
 +
    position: fixed;
 +
    top:0; right:0; bottom:0; left:0;
 +
 
 +
    text-align: center;
 +
    background-color: rgba(50,50,50,.9);
 +
    z-index: 5;
 +
}
 +
 
 +
.tn-hoverTag > div {
     height: 100%;
     height: 100%;
 +
}
-
     color: #f0f2df;
+
.tn-hoverTag img {
-
     text-decoration: none;
+
    margin-top: 2em;
 +
     height: 75%;
 +
     border-radius:1em;
}
}
-
#tn-menu > li > a {
+
.tn-hoverTag span {
-
     font-size: 1.2em;
+
    display: block;
 +
    margin-top: 0.5em;
 +
     font-size: 2em;
 +
    color: white;
}
}
-
#tn-menu li:hover > a,
+
/*FOOTER IN APPOSITE SUBS/TEMPLATE*/
-
#tn-menu > li > ul > li:hover {
+
 
-
    text-shadow: 1px 1px #323232;
+
@media(max-width: 900px) {
 +
    #tn-content-wrap {
 +
        margin: 0;
 +
        padding: 0;
 +
        max-width: 800px;
 +
    }
 +
 
 +
    #tn-content {
 +
        margin: 0 auto;
 +
        padding: 0;
 +
        max-width: 700px;
 +
    }
}
}

Latest revision as of 14:10, 15 October 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;
   margin: 0 auto;
   max-width: 1200px;
   height: 100%;
   
   padding: 1em;
   padding-top: 0;

}

/*Style content-class*/

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

}

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

}

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

}

  1. tn-central-container #tn-content-wrap #tn-content .container .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-wrap #tn-content .container .sheet a:link,
  2. tn-central-container #tn-content-wrap #tn-content .container .sheet a:visited {
   color: #323232;

}

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

}

  1. tn-central-container #tn-content-wrap #tn-content .container .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-wrap #tn-content .container .sheet .tn-effect {
   display: block;
   
   margin: 0.4em 0;
   
   font-family: "Open Sans Condensed", cursive;
   font-size: 1.8em;
   text-align: center;

}

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

}

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:link,
  2. tn-central-container #tn-content-wrap #tn-content .container .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-wrap #tn-content .container .sheet .tn-effect-link a:hover {
   color: black;

}

  1. tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:link,
  2. tn-central-container #tn-content-wrap #tn-content .container .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-wrap #tn-content .container .sheet .tn-quote-link a:hover {
   color: black;

}

  1. tn-central-container #tn-content-wrap #tn-content .container .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-wrap #tn-content .container .sheet-caption.center {
   text-align: center;

}

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

}

  1. tn-central-container #tn-content-wrap #tn-content .container .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-wrap #tn-content .container .sheet img.no-border {
   border: none;
   box-shadow: none;

}

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

}

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

}

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

}

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

}

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

}

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

}

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

}

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

}

/*HoverTag*/

.tn-hoverTag {

   position: fixed;
   top:0; right:0; bottom:0; left:0;
   text-align: center;
   background-color: rgba(50,50,50,.9);
   z-index: 5;

}

.tn-hoverTag > div {

   height: 100%;

}

.tn-hoverTag img {

   margin-top: 2em;
   height: 75%;
   border-radius:1em;

}

.tn-hoverTag span {

   display: block;
   margin-top: 0.5em;
   font-size: 2em;
   color: white;

}

/*FOOTER IN APPOSITE SUBS/TEMPLATE*/

@media(max-width: 900px) {

   #tn-content-wrap {
       margin: 0;
       padding: 0;
       max-width: 800px;
   }
   #tn-content {
       margin: 0 auto;
       padding: 0;
       max-width: 700px;
   }

}