Team:UNITN-Trento/CSS/Default

From 2013.igem.org

(Difference between revisions)
 
(46 intermediate revisions not shown)
Line 1: Line 1:
-
@import url(http://fonts.googleapis.com/css?family=Marck+Script);
+
/*HEADER IN APPOSITE SUBS/TEMPLATE*/
-
@import url(http://fonts.googleapis.com/css?family=Mouse+Memoirs);
+
-
html, body {
+
/*******************/
-
width: 100%;
+
/*CENTRAL CONTAINER*/
-
height: 100%;
+
/*******************/
-
margin: 0;
+
#tn-central-container {
-
padding: 0;
+
    display: block;
-
background-color: #DCD8D0;
+
    width: 100%;
 +
    min-height: 600px;
-
font-size: 16px;
+
    margin: 0 auto;
-
}
+
    padding: 1.5em 0;
-
/********/
+
    background-color: #dadada;
-
/*HEADER*/
+
    background-image: url(https://static.igem.org/mediawiki/2013/a/aa/Tn-2013-mainbg-Wood_pattern.png);a
-
/********/
+
    background-size: 100% auto !important;
-
#tn-header-wrap {
+
    box-shadow: 0 0 8px ;
-
display: inline-block
+
   
 +
    font-family: 'Cabin', sans-serif;
 +
}
-
width: 100%;
+
#tn-content-wrap {
-
height: 250px;
+
    display: static;
-
 
+
-
margin: 0;
+
-
padding: 0;
+
-
background-color: #2880C5;
+
    max-width: 1200px;
-
border-bottom: 7px solid white;
+
    min-height: 600px;
-
background-image: url(https://static.igem.org/mediawiki/2013/5/53/Tn-2013-headerbg-Sfondobb.png);
+
    margin: 0 auto;
-
background-position: center;
+
    margin-top: 6em;
-
background-size: 100%;
+
    padding: 1px;
 +
    padding-top: 0;
}
}
-
#tn-header {
 
-
display: static;
 
-
position: relative;
 
-
top: 0;
 
-
max-width: 1300px;
+
#tn-content {
-
height: 180px;
+
    display: static;
-
margin: 0 auto;
+
    margin: 0 auto;
-
padding: 1em;
+
 
 +
    max-width: 1200px;
 +
    height: 100%;
 +
   
 +
    padding: 1em;
 +
    padding-top: 0;
}
}
-
/*-----------*/
+
/*Style content-class*/
-
/*HEADER MENU*/
+
 
-
/*-----------*/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet {
 +
    font-family: "Cabin", sans-serif;
 +
    font-size: 16px;
 +
}
-
#tn-header #tn-menu {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-title {
-
position: absolute;
+
    display: block;
-
top: 170px;
+
-
left: 0;
+
-
width: 100%;
+
    padding-top: 0;
-
margin: 0;
+
    border: none;
-
padding: 0;
+
-
list-style: none;
+
    font-family: 'Boogaloo', cursive;
-
text-align: center;
+
    font-size: 2.5em;
}
}
-
#tn-header #tn-menu > li {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-subtitle {
-
display: inline-block;
+
    display: block;
-
height: 100px;
+
    margin-top: 1.5em;
-
width: 100px;
+
    margin-bottom: 0.5em;
-
margin: 0.5em;
+
    font-family: 'Open Sans Condensed', sans-serif;
 +
    font-size: 1.2em;
 +
    font-weight: bold;
 +
}
-
background-position: center center;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-sub-subtitle:before {
-
background-repeat: no-repeat;
+
    content: "\00BB\ ";
-
background-size: 75%;
+
-
 
+
-
line-height: 100px;
+
-
/*font-weight: bold;*/
+
-
text-shadow: 0 0 2px black;
+
-
text-align: center;
+
-
vertical-align: middle;
+
}
}
-
#tn-header #tn-menu > li > a {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-sub-subtitle {
-
display: block;
+
    display: block;
-
padding: 0.3em 0.5em;
+
-
margin-top: 2.2em;
+
-
border-radius: 0.5em;
+
-
border: 3px solid white;
+
-
background: rgba(31,68,87,.9);
+
-
color: #ffffff;
+
-
font-family: 'Mouse Memoirs', sans-serif;
+
-
font-size: 1.5em;
+
-
line-height: 1em;
+
-
text-decoration: none;
+
-
}
+
-
#tn-header #tn-menu > li:hover {
+
    margin-top: 1.5em;
-
transform: rotate(-15deg);
+
    margin-bottom: 0.5em;
-
-ms-transform: rotate(-15deg); /* IE 9 */
+
-
-webkit-transform: rotate(-15deg); /* Safari and Chrome */
+
-
background-size: 100%;
+
    font-family: 'Open Sans Condensed', sans-serif;
 +
    font-size: 1em;
 +
    font-weight: bold;
}
}
-
#tn-header #tn-menu > li:hover > a {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:link,
-
padding: 0.3em 0.5em;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:visited {
-
margin-top: 2.2em;
+
    color: #323232;
-
border-radius: 0.5em;
+
-
border: 3px solid white;
+
-
background: #C4221C;
+
-
font-family: 'Mouse Memoirs', sans-serif;
+
-
font-size: 1.5em;
+
-
line-height: 1em;
+
-
text-decoration: underline;
+
}
}
-
/*SUB MENU*/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet a:hover {
 +
    color: black;
 +
}
-
#tn-header #tn-menu li ul {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote {
-
display: none;
+
    display: block;
-
position: relative;
+
-
top: 2.5em;
+
-
width: 500px;
+
    margin-top: 0.5em;
-
height: 1em;
+
    margin-bottom: 1em;
-
padding: 0;
+
    font-family: 'Open Sans Condensed', sans-serif;
-
padding-top: 1em;
+
    font-size: 1.2em;
-
margin: 0;
+
    font-style: italic;
-
margin-top: 1em;
+
}
-
line-height: 1em;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect {
-
list-style: none;
+
    display: block;
 +
   
 +
    margin: 0.4em 0;
 +
   
 +
    font-family: "Open Sans Condensed", cursive;
 +
    font-size: 1.8em;
 +
    text-align: center;
 +
}
-
transform: rotate(15deg);
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-ref {
-
-ms-transform: rotate(15deg); /* IE 9 */
+
    font-family: "Kameron", cursive;
-
-webkit-transform: rotate(15deg); /* Safari and Chrome */
+
    font-size: 0.8em;
-
+
-
text-align: left;
+
}
}
-
#tn-header #tn-menu li:hover ul {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:link,
-
display: block;
+
#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;
}
}
-
#tn-header #tn-menu li ul li {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-effect-link a:hover {
-
display: inline-block;
+
    color: black;
-
height: 1.4em;
+
}
-
margin: 0;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:link,
-
padding: 0;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:visited {
 +
    display: block;
-
font-family: 'Mouse Memoirs', sans-serif;
+
    margin-top: 0.5em;
-
font-size: 1.5em;
+
    margin-bottom: 1em;
-
font-variant: small-caps;
+
-
line-height: 1em;
+
    color: #323232;
 +
    font-family: 'Open Sans Condensed', sans-serif;
 +
    font-size: 1.2em;
 +
    font-style: italic;
}
}
-
#tn-header #tn-menu li ul li a {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-quote-link a:hover {
-
display: block;
+
    color: black;
-
padding-top: 0em;
+
-
margin: 0 0.5em;
+
-
color: #1F4457;
+
-
text-decoration: none;
+
-
text-shadow: none;
+
}
}
-
#tn-header #tn-menu li ul li:hover a {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet .tn-caption {
-
color: #C4221C;
+
    display: block;
-
text-decoration: underline;
+
 
 +
    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 {
-
/*HEADER LOGHI*/
+
    text-align: center;
-
/*------------*/
+
}
-
#tn-header #tn-loghi {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet p {
-
width: 100%;
+
    line-height: 1.2em;
-
height: 180px;
+
}
}
-
#tn-header #tn-loghi .title {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > img {
-
margin: 0;
+
    display: block;
-
margin-top: 0.3em;
+
-
color: #eee;
+
    margin: 1em auto;
 +
    width: 800px;
 +
   
 +
    border: 3px solid white;
 +
    box-shadow: 2px 2px 4px #323232;
 +
}
-
font-family: 'Marck Script', cursive;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet img.no-border {
-
font-size: 7em;
+
    border: none;
 +
    box-shadow: none;
 +
}
-
line-height: 1em;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet img.no-bottom {
-
text-align: center;
+
    margin-bottom: 0;
-
text-shadow: 1px 1px 2px #000;
+
}
}
-
/*******************/
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet img.no-top {
-
/*CENTRAL CONTAINER*/
+
    margin-top: 0;
-
/*******************/
+
}
-
#tn-central-container {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet ul {
-
display: block;
+
    list-style: disc;
 +
}
-
max-width: 1300px;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table {
-
min-height: 600px;
+
    margin: 1em auto;
 +
    max-width: 800px;
-
margin: 0 auto;
+
    background-color: transparent;
-
padding: 1em 0;
+
}
-
background-color: #dadada;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table.no-bottom {
 +
    margin-bottom: 0;
}
}
-
#tn-content-wrap {
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table td,
-
display: static;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table th {
 +
    padding: 0.2em;
 +
   
 +
    width: 50%;
 +
   
 +
    border: 1px dotted black;
 +
}
-
max-width: 1200px;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table .right {
-
min-height: 600px;
+
    text-align: right;
 +
}
-
margin: 0 auto;
+
#tn-central-container #tn-content-wrap #tn-content .container .sheet > table .center {
-
margin-top: 6em;
+
    text-align: center;
-
padding: 1px;
+
-
+
-
background-color: #767676;
+
}
}
 +
/*HoverTag*/
-
#tn-content {
+
.tn-hoverTag {
-
display: static;
+
    position: fixed;
 +
    top:0; right:0; bottom:0; left:0;
-
max-width: 1200px;
+
    text-align: center;
-
height: 100%;
+
    background-color: rgba(50,50,50,.9);
-
+
    z-index: 5;
-
padding: 1em;
+
}
-
background-color: #ffffff;
+
.tn-hoverTag > div {
 +
    height: 100%;
}
}
-
/********/
+
.tn-hoverTag img {
-
/*FOOTER*/
+
    margin-top: 2em;
-
/********/
+
    height: 75%;
 +
    border-radius:1em;
 +
}
-
#tn-footer-wrap {
+
.tn-hoverTag span {
-
display: inline-block;
+
    display: block;
-
 
+
    margin-top: 0.5em;
-
width: 100%;
+
    font-size: 2em;
-
height: 250px;
+
    color: white;
-
 
+
-
margin: 0;
+
-
padding: 0;
+
-
 
+
-
background-color: #323232;
+
}
}
-
#tn-footer {
+
/*FOOTER IN APPOSITE SUBS/TEMPLATE*/
-
display: static;
+
-
 
+
-
max-width: 1300px;
+
-
max-height: 180px;
+
-
margin: 1em auto;
+
@media(max-width: 900px) {
-
padding: 1em;
+
    #tn-content-wrap {
 +
        margin: 0;
 +
        padding: 0;
 +
        max-width: 800px;
 +
    }
-
background-color: #ffffff;
+
    #tn-content {
-
overflow: hidden;
+
        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;
   }

}