Team:UNITN-Trento/CSS/Main
From 2013.igem.org
Line 1: | Line 1: | ||
- | + | #tn-header-wrap,#tn-footer-wrap,#tn-content-wrap { | |
- | + | display: block; | |
- | + | width: 800px; | |
- | + | text-align: center; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #tn-header-wrap,#tn-footer-wrap { |
- | + | width: 100%; | |
+ | height: 220px; | ||
} | } | ||
- | # | + | #tn-footer-wrap { |
- | + | background-color: #c0c0b6; | |
} | } | ||
- | #tn- | + | #tn-content-wrap { |
- | + | width: 100%; | |
- | + | height: 100%; | |
- | + | padding: 25px 0; | |
- | + | vertical-align: top; | |
- | + | ||
- | padding: 0; | + | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | #tn- | + | .tn-sidebar,#tn-content { |
+ | vertical-align: top; | ||
+ | display: inline-block; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | .tn-sidebar { | |
- | + | width: 15%; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | width: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | #tn-content { | |
- | + | width: 68%; | |
- | + | text-align: center; | |
} | } | ||
- | /* | + | /*Filters*/ |
- | # | + | #tn-filter-faces, #tn-filter-tags-wrap { |
- | background: | + | width: 175px; |
+ | padding: 0.3em; | ||
+ | margin: 0 auto; | ||
+ | background-color: rgb(3, 140, 126); | ||
+ | border: 10px solid rgb(191, 27, 57); | ||
} | } | ||
- | # | + | #tn-filter-faces .faces img { |
- | + | display: inline-table; | |
+ | border: 1px solid black; | ||
+ | margin: 1px 0px; | ||
+ | border-radius: 5px; | ||
+ | width: 75px; | ||
} | } | ||
- | # | + | #tn-filter-faces span.tn-title,#tn-filter-tags-wrap span.tn-title { |
display: block; | display: block; | ||
- | + | font-family: x-small, sans-serif; | |
- | color: | + | font-weight: bold; |
+ | color: rgb(240, 242, 223); | ||
+ | margin-bottom: 0.5em; | ||
+ | font-variant: small-caps; | ||
} | } | ||
- | # | + | #tn-filter-tags-wrap { |
- | + | margin: 1em; | |
} | } | ||
- | + | /*Calendar*/ | |
- | + | #tn-calendar-table th,#tn-calendar-table td { | |
- | + | width: 30px; | |
- | + | height: 30px; | |
- | font- | + | font-size: 0.8em; |
- | + | border: 1px solid black; | |
} | } | ||
- | + | #tn-calendar-table td:hover { | |
+ | background-color: black; | ||
color: white; | color: white; | ||
- | |||
- | |||
} | } | ||
- | + | /*Addpost button*/ | |
- | + | a.tn-addpost:link,a.tn-addpost:visited { | |
- | + | display: block; | |
- | + | padding: 0.3em 0; | |
- | /* | + | margin: auto 0; |
- | .tn- | + | width: 500px; |
- | display: | + | 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; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | .tn- | + | a.tn-addpost:hover { |
- | + | background: #007366; | |
+ | color: #ffffff; | ||
} | } |
Revision as of 09:20, 2 August 2013
- tn-header-wrap,#tn-footer-wrap,#tn-content-wrap {
display: block; width: 800px; text-align: center; }
- tn-header-wrap,#tn-footer-wrap {
width: 100%; height: 220px; }
- tn-footer-wrap {
background-color: #c0c0b6; }
- tn-content-wrap {
width: 100%; height: 100%; padding: 25px 0; vertical-align: top; }
.tn-sidebar,#tn-content { vertical-align: top; display: inline-block; margin: 0; padding: 0; }
.tn-sidebar { width: 15%; }
- tn-content {
width: 68%; text-align: center; }
/*Filters*/
- 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); }
- tn-filter-faces .faces img {
display: inline-table; border: 1px solid black; margin: 1px 0px; border-radius: 5px; width: 75px; }
- 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); margin-bottom: 0.5em; font-variant: small-caps; }
- tn-filter-tags-wrap {
margin: 1em; }
/*Calendar*/
- tn-calendar-table th,#tn-calendar-table td {
width: 30px; height: 30px; font-size: 0.8em; border: 1px solid black; }
- tn-calendar-table td:hover {
background-color: black; color: white; }
/*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; }