Team:UNITN-Trento/CSS/Notebook

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
#tn-header-wrap,#tn-footer-wrap,#tn-content-wrap {
#tn-header-wrap,#tn-footer-wrap,#tn-content-wrap {
-
display: block;
+
    display: block;
-
width: 800px;
+
    width: 800px;
-
text-align: center;
+
    text-align: center;
}
}
#tn-header-wrap,#tn-footer-wrap {
#tn-header-wrap,#tn-footer-wrap {
-
width: 100%;
+
    width: 100%;
-
height: 220px;
+
    height: 220px;
}
}
#tn-footer-wrap {
#tn-footer-wrap {
-
/*background-color: #c0c0b6;*/
+
    /*background-color: #c0c0b6;*/
-
background-color: rgb(240, 242, 223);
+
    background-color: rgb(240, 242, 223);
-
padding-bottom: 1em;
+
    padding-bottom: 1em;
}
}
#tn-content-wrap {
#tn-content-wrap {
-
width: 100%;
+
    width: 100%;
-
height: 100%;
+
    height: 100%;
-
padding: 25px 0;
+
    padding: 25px 0;
-
vertical-align: top;
+
    vertical-align: top;
-
background-color: rgb(240, 242, 223);
+
    background-color: rgb(240, 242, 223);
}
}
.tn-sidebar,#tn-content {
.tn-sidebar,#tn-content {
-
vertical-align: top;
+
    vertical-align: top;
-
display: inline-block;
+
    display: inline-block;
-
margin: 0;
+
    margin: 0;
-
padding: 0;
+
    padding: 0;
}
}
.tn-sidebar {
.tn-sidebar {
-
width: 16%;
+
    width: 16%;
}
}
#tn-content {
#tn-content {
-
width: 60%;
+
    display: table;
-
margin: 0 1%; padding: 1%;
+
    width: 60%;
-
border-left: 0.5em solid rgba(191, 27, 57, .8);
+
    margin: 0 1%; padding: 1%;
-
border-right: 0.5em solid rgba(191, 27, 57, .8);
+
    border-left: 0.5em solid rgba(191, 27, 57, .8);
-
text-align: center;
+
    border-right: 0.5em solid rgba(191, 27, 57, .8);
-
background-image: url('https://static.igem.org/mediawiki/2013/c/ca/Tn-2013-graph-White_Notebook_Paper.png');
+
    text-align: center;
-
background-repeat: repeat-x repeat-y;
+
    background-image: url('https://static.igem.org/mediawiki/2013/c/ca/Tn-2013-graph-White_Notebook_Paper.png');
-
background-position: center;
+
    background-repeat: repeat-x repeat-y;
 +
    background-position: center;
}
}
/*Filters*/
/*Filters*/
#tn-filter-faces,#tn-filter-tags-wrap {
#tn-filter-faces,#tn-filter-tags-wrap {
-
width: 175px;
+
    width: 175px;
-
padding: 0.3em;
+
    padding: 0.3em;
-
margin: 0 auto;
+
    margin: 0 auto;
-
/*background-color: rgb(3, 140, 126);
+
    /*background-color: rgb(3, 140, 126);
-
border: 10px solid rgb(191, 27, 57);*/
+
    border: 10px solid rgb(191, 27, 57);*/
}
}
#tn-filter-tags-wrap {
#tn-filter-tags-wrap {
-
margin-top: 1em;
+
    margin-top: 1em;
}
}
#tn-filter-faces .faces img {
#tn-filter-faces .faces img {
-
display: inline-table;
+
    display: inline-table;
-
border: 2px solid rgb(240, 242, 223);
+
    border: 2px solid rgb(240, 242, 223);
-
margin: 1px 0px;
+
    margin: 1px 0px;
-
border-radius: 5px;
+
    border-radius: 5px;
-
width: 75px;
+
    width: 75px;
-
opacity: 0.7;
+
    opacity: 0.7;
}
}
#tn-filter-faces .faces img:hover {
#tn-filter-faces .faces img:hover {
-
opacity: 1.0;
+
    opacity: 1.0;
}
}
#tn-filter-faces span.tn-title,#tn-filter-tags-wrap span.tn-title {
#tn-filter-faces span.tn-title,#tn-filter-tags-wrap span.tn-title {
-
display: block;
+
    display: block;
-
font-family: x-small, sans-serif;
+
    font-family: x-small, sans-serif;
-
font-weight: bold;
+
    font-weight: bold;
-
/*color: rgb(240, 242, 223);*/
+
    /*color: rgb(240, 242, 223);*/
-
color: rgb(3, 140, 126);
+
    color: rgb(3, 140, 126);
-
margin-bottom: 0.5em;
+
    margin-bottom: 0.5em;
-
font-variant: small-caps;
+
    font-variant: small-caps;
}
}
/*Calendar*/
/*Calendar*/
#tn-calendar {
#tn-calendar {
-
margin: 0 auto;
+
    margin: 0 auto;
-
width: 220px;
+
    width: 220px;
-
background-color: transparent;
+
    background-color: transparent;
}
}
#tn-calendar-table {
#tn-calendar-table {
-
background-color: transparent;
+
    background-color: transparent;
}
}
#tn-calendar-table td {
#tn-calendar-table td {
-
background-color: white;
+
    background-color: white;
}
}
#tn-calendar-table th,#tn-calendar-table td {
#tn-calendar-table th,#tn-calendar-table td {
-
width: 25px;
+
    width: 25px;
-
height: 25px;
+
    height: 25px;
-
font-size: 0.7em;
+
    font-size: 0.7em;
-
border: 1px solid rgb(3, 140, 126);
+
    border: 1px solid rgb(3, 140, 126);
-
color: rgb(3, 140, 126);
+
    color: rgb(3, 140, 126);
}
}
#tn-calendar-table th,#tn-calendar-table th.tn-name {
#tn-calendar-table th,#tn-calendar-table th.tn-name {
-
border: 1px solid rgb(3, 140, 126);
+
    border: 1px solid rgb(3, 140, 126);
-
background: rgb(3, 140, 126);
+
    background: rgb(3, 140, 126);
-
color: white;
+
    color: white;
}
}
#tn-calendar-table th.tn-month:not(.tn-name) {
#tn-calendar-table th.tn-month:not(.tn-name) {
-
border: none;
+
    border: none;
-
background: transparent;
+
    background: transparent;
}
}
#tn-calendar-table td:hover {
#tn-calendar-table td:hover {
-
background-color: rgb(191, 27, 57);
+
    background-color: rgb(191, 27, 57);
-
color: rgb(240, 242, 223);
+
    color: rgb(240, 242, 223);
}
}
#tn-calendar-table th.tn-month:not(.tn-name) a:link,#tn-calendar-table th.tn-month:not(.tn-name) a:visited {
#tn-calendar-table th.tn-month:not(.tn-name) a:link,#tn-calendar-table th.tn-month:not(.tn-name) a:visited {
-
display: block;
+
    display: block;
-
width: 100%;
+
    width: 100%;
-
height: 100%;
+
    height: 100%;
-
vertical-align: middle;
+
    vertical-align: middle;
-
text-decoration: none;
+
    text-decoration: none;
-
font-weight: bold;
+
    font-weight: bold;
-
color: rgb(3, 140, 126);
+
    color: rgb(3, 140, 126);
}
}
#tn-calendar-table th.tn-month:not(.tn-name) a:hover {
#tn-calendar-table th.tn-month:not(.tn-name) a:hover {
-
color: rgb(191, 27, 57);
+
    color: rgb(191, 27, 57);
}
}
#tn-calendar span.tn-title {
#tn-calendar span.tn-title {
-
display: block;
+
    display: block;
-
font-family: x-small, sans-serif;
+
    font-family: x-small, sans-serif;
-
font-weight: bold;
+
    font-weight: bold;
-
/*color: rgb(240, 242, 223);*/
+
    /*color: rgb(240, 242, 223);*/
-
color: rgb(3, 140, 126);
+
    color: rgb(3, 140, 126);
-
margin-bottom: 0.5em;
+
    margin-bottom: 0.5em;
-
font-variant: small-caps;
+
    font-variant: small-caps;
}
}
/*Addpost button*/
/*Addpost button*/
a.tn-addpost:link,a.tn-addpost:visited {
a.tn-addpost:link,a.tn-addpost:visited {
-
display: block;
+
    display: block;
-
padding: 0.3em 0;
+
    padding: 0.3em 0;
-
margin: auto 0;
+
    margin: auto 0;
-
width: 500px;
+
    width: 500px;
-
height: 30px;
+
    height: 30px;
-
vertical-align: middle;
+
    vertical-align: middle;
-
border-radius: 5px;
+
    border-radius: 5px;
-
background: #038c7e;
+
    background: #038c7e;
-
color: #f0f2df;
+
    color: #f0f2df;
-
text-decoration: none;
+
    text-decoration: none;
-
font-size: 1.5em;
+
    font-size: 1.5em;
-
font-weight: bold;
+
    font-weight: bold;
-
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
    font-family: "Trebuchet MS", Helvetica, sans-serif;
}
}
a.tn-addpost:hover {
a.tn-addpost:hover {
-
background: #007366;
+
    background: #007366;
-
color: #ffffff;
+
    color: #ffffff;
}
}
/*Spoilers*/
/*Spoilers*/
.tn-spoiler a {
.tn-spoiler a {
-
font-variant: small-caps;
+
    font-variant: small-caps;
-
display: block;
+
    display: block;
-
text-decoration: none;
+
    text-decoration: none;
-
padding: 2px;
+
    padding: 2px;
-
margin: 2px;
+
    margin: 2px;
}
}
.tn-spoiler a:link, .tn-spoiler a:visited {
.tn-spoiler a:link, .tn-spoiler a:visited {
-
border: 1px solid rgb(4, 140, 126);
+
    border: 1px solid rgb(4, 140, 126);
-
background: rgb(240, 242, 223);
+
    background: rgb(240, 242, 223);
-
color: rgb(4, 140, 126);
+
    color: rgb(4, 140, 126);
}
}
.tn-spoiler a:hover {
.tn-spoiler a:hover {
-
border: 1px solid rgb(240, 242, 223);
+
    border: 1px solid rgb(240, 242, 223);
-
background: rgb(191, 27, 57);
+
    background: rgb(191, 27, 57);
-
color: rgb(240, 242, 223);
+
    color: rgb(240, 242, 223);
}
}
.tn-spoiler > div {
.tn-spoiler > div {
-
padding: 2px;
+
    padding: 2px;
-
margin: 2px;
+
    margin: 2px;
-
background: rgb(240, 242, 223);
+
    background: rgb(240, 242, 223);
-
border: 1px solid rgba(0,0,0,.3);
+
    border: 1px solid rgba(0,0,0,.3);
}
}

Revision as of 14:51, 19 August 2013

  1. tn-header-wrap,#tn-footer-wrap,#tn-content-wrap {
   display: block;
   width: 800px;
   text-align: center;

}

  1. tn-header-wrap,#tn-footer-wrap {
   width: 100%;
   height: 220px;

}

  1. tn-footer-wrap {
   /*background-color: #c0c0b6;*/
   background-color: rgb(240, 242, 223);
   padding-bottom: 1em;

}

  1. tn-content-wrap {
   width: 100%;
   height: 100%;
   padding: 25px 0;
   vertical-align: top;
   background-color: rgb(240, 242, 223);

}

.tn-sidebar,#tn-content {

   vertical-align: top;
   display: inline-block;
   margin: 0;
   padding: 0;

}

.tn-sidebar {

   width: 16%;

}

  1. tn-content {
   display: table;
   width: 60%;
   margin: 0 1%; padding: 1%;
   border-left: 0.5em solid rgba(191, 27, 57, .8);
   border-right: 0.5em solid rgba(191, 27, 57, .8);
   text-align: center;
   background-image: url('https://static.igem.org/mediawiki/2013/c/ca/Tn-2013-graph-White_Notebook_Paper.png');
   background-repeat: repeat-x repeat-y;
   background-position: center;

}

/*Filters*/

  1. tn-filter-faces,#tn-filter-tags-wrap {
   width: 175px;
   padding: 0.3em;
   margin: 0 auto;
   /*background-color: rgb(3, 140, 126);
   border: 10px solid rgb(191, 27, 57);*/

}

  1. tn-filter-tags-wrap {
   margin-top: 1em;

}

  1. tn-filter-faces .faces img {
   display: inline-table;
   border: 2px solid rgb(240, 242, 223);
   margin: 1px 0px;
   border-radius: 5px;
   width: 75px;
   opacity: 0.7;

}

  1. tn-filter-faces .faces img:hover {
   opacity: 1.0;

}

  1. tn-filter-faces span.tn-title,#tn-filter-tags-wrap span.tn-title {
   display: block;
   font-family: x-small, sans-serif;
   font-weight: bold;
   /*color: rgb(240, 242, 223);*/
   color: rgb(3, 140, 126);
   margin-bottom: 0.5em;
   font-variant: small-caps;

}

/*Calendar*/

  1. tn-calendar {
   margin: 0 auto;
   width: 220px;
   background-color: transparent;

}

  1. tn-calendar-table {
   background-color: transparent;

}

  1. tn-calendar-table td {
   background-color: white;

}

  1. tn-calendar-table th,#tn-calendar-table td {
   width: 25px;
   height: 25px;
   font-size: 0.7em;
   border: 1px solid rgb(3, 140, 126);
   color: rgb(3, 140, 126);

}

  1. tn-calendar-table th,#tn-calendar-table th.tn-name {
   border: 1px solid rgb(3, 140, 126);
   background: rgb(3, 140, 126);
   color: white;

}

  1. tn-calendar-table th.tn-month:not(.tn-name) {
   border: none;
   background: transparent;

}

  1. tn-calendar-table td:hover {
   background-color: rgb(191, 27, 57);
   color: rgb(240, 242, 223);

}

  1. tn-calendar-table th.tn-month:not(.tn-name) a:link,#tn-calendar-table th.tn-month:not(.tn-name) a:visited {
   display: block;
   width: 100%;
   height: 100%;
   vertical-align: middle;
   text-decoration: none;
   font-weight: bold;
   color: rgb(3, 140, 126);

}

  1. tn-calendar-table th.tn-month:not(.tn-name) a:hover {
   color: rgb(191, 27, 57);

}

  1. tn-calendar span.tn-title {
   display: block;
   font-family: x-small, sans-serif;
   font-weight: bold;
   /*color: rgb(240, 242, 223);*/
   color: rgb(3, 140, 126);
   margin-bottom: 0.5em;
   font-variant: small-caps;

}

/*Addpost button*/ a.tn-addpost:link,a.tn-addpost:visited {

   display: block;
   padding: 0.3em 0;
   margin: auto 0;
   width: 500px;
   height: 30px;
   vertical-align: middle;
   border-radius: 5px;
   background: #038c7e;
   color: #f0f2df;
   text-decoration: none;
   font-size: 1.5em;
   font-weight: bold;
   font-family: "Trebuchet MS", Helvetica, sans-serif;

}

a.tn-addpost:hover {

   background: #007366;
   color: #ffffff;

}

/*Spoilers*/ .tn-spoiler a {

   font-variant: small-caps;
   display: block;
   text-decoration: none;
   padding: 2px;
   margin: 2px;

}

.tn-spoiler a:link, .tn-spoiler a:visited {

   border: 1px solid rgb(4, 140, 126);
   background: rgb(240, 242, 223);
   color: rgb(4, 140, 126);

}

.tn-spoiler a:hover {

   border: 1px solid rgb(240, 242, 223);
   background: rgb(191, 27, 57);
   color: rgb(240, 242, 223);

}

.tn-spoiler > div {

   padding: 2px;
   margin: 2px;
   background: rgb(240, 242, 223);
   border: 1px solid rgba(0,0,0,.3);

}