Team:UNITN-Trento/CSS/Notebook

From 2013.igem.org

(Difference between revisions)
m
m
Line 19: Line 19:
padding: 25px 0;
padding: 25px 0;
vertical-align: top;
vertical-align: top;
 +
background-color: rgb(240, 242, 223);
}
}

Revision as of 11:04, 2 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; }

  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 {

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'); }

/*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; }

  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; }

  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: rgb(240, 242, 223); }

  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); }

/*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; }

/** Responsive **/ @media screen and (max-width: 1280px) { #tn-content-wrap { overflow: none; }

#tn-side-1, #tn-side-2 { width: 20%; display: block; float: left; }

#tn-side-2 { position: relative; left: -260px; top: 130px; }

#tn-content { width: 65%; } }