Team:UNITN-Trento/CSS/Notebook
From 2013.igem.org
(Difference between revisions)
Line 64: | Line 64: | ||
padding: 1%; | padding: 1%; | ||
- | border-left: 0.5em solid rgba( | + | border-left: 0.5em solid rgba(196, 34, 28, .8); |
- | border-right: 0.5em solid rgba( | + | border-right: 0.5em solid rgba(196, 34, 28, .8); |
text-align: center; | text-align: center; | ||
Line 80: | Line 80: | ||
padding: 0.3em; | padding: 0.3em; | ||
margin: 0 auto; | margin: 0 auto; | ||
- | |||
- | |||
} | } | ||
Line 90: | Line 88: | ||
#tn-filter-faces .faces img { | #tn-filter-faces .faces img { | ||
display: inline-table; | display: inline-table; | ||
- | + | width: 75px; | |
margin: 1px 0px; | margin: 1px 0px; | ||
+ | |||
+ | border: 2px solid #dadada; | ||
border-radius: 5px; | border-radius: 5px; | ||
- | + | box-shadow: 2px 2px 2px #323232; | |
opacity: 0.7; | opacity: 0.7; | ||
} | } | ||
Line 101: | Line 101: | ||
} | } | ||
- | #tn-filter-faces | + | #tn-filter-faces .tn-title, |
- | #tn-filter-tags-wrap | + | #tn-filter-tags-wrap .tn-title, |
+ | #tn-calendar .tn-title { | ||
display: block; | display: block; | ||
+ | width: 160px; | ||
+ | margin: 0.5em auto; | ||
+ | padding: 0.3em; | ||
+ | |||
+ | background-color: #f0f0f0; | ||
+ | border: 2px solid #2880C5; | ||
+ | box-shadow: 2px 2px 2px #323232; | ||
+ | color: #2880C5; | ||
+ | |||
font-family: x-small, sans-serif; | font-family: x-small, sans-serif; | ||
- | font- | + | font-size: 1em; |
- | + | ||
- | + | ||
- | + | ||
font-variant: small-caps; | font-variant: small-caps; | ||
+ | font-weight: bold; | ||
+ | line-height: 1em; | ||
} | } | ||
Line 166: | Line 175: | ||
#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); | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Revision as of 08:49, 30 August 2013
html, body {
width: 100%; height: 100%;
margin: 0; padding: 0;
background-color: #DCD8D0;
font-size: 16px;
}
/*HEADER IN APPOSITE SUBS/TEMPLATE*/
/*******************/ /*CENTRAL CONTAINER*/ /*******************/
- tn-central-container {
display: block;
max-width: 1300px; min-height: 600px;
margin: 0 auto; padding: 1em 0;
background-color: #dadada;
box-shadow: 0 0 8px ; font-family: 'Cabin', sans-serif;
}
- tn-content-wrap {
display: block; padding-bottom: 25px; margin-top: 6em; width: 100%; height: 100%;
text-align: center; vertical-align: top;
}
.tn-sidebar,#tn-content {
display: inline-block;
margin: 0; padding: 0;
vertical-align: top;
}
.tn-sidebar {
width: 20%;
}
- tn-content {
width: 68%;
margin: 0 5% 0 1%; padding: 1%;
border-left: 0.5em solid rgba(196, 34, 28, .8); border-right: 0.5em solid rgba(196, 34, 28, .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*/
- tn-filter-faces,
- tn-filter-tags-wrap {
width: 175px; padding: 0.3em; margin: 0 auto;
}
- tn-filter-tags-wrap {
margin-top: 1em;
}
- tn-filter-faces .faces img {
display: inline-table; width: 75px; margin: 1px 0px;
border: 2px solid #dadada; border-radius: 5px; box-shadow: 2px 2px 2px #323232; opacity: 0.7;
}
- tn-filter-faces .faces img:hover {
opacity: 1.0;
}
- tn-filter-faces .tn-title,
- tn-filter-tags-wrap .tn-title,
- tn-calendar .tn-title {
display: block; width: 160px; margin: 0.5em auto; padding: 0.3em;
background-color: #f0f0f0; border: 2px solid #2880C5; box-shadow: 2px 2px 2px #323232; color: #2880C5;
font-family: x-small, sans-serif; font-size: 1em; font-variant: small-caps; font-weight: bold; line-height: 1em;
}
/*Calendar*/
- tn-calendar {
margin: 0 auto; width: 220px; background-color: transparent;
}
- tn-calendar-table {
background-color: transparent;
}
- tn-calendar-table td {
background-color: white;
}
- 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);
}
- tn-calendar-table th,
- tn-calendar-table th.tn-name {
border: 1px solid rgb(3, 140, 126); background: rgb(3, 140, 126); color: white;
}
- tn-calendar-table th.tn-month:not(.tn-name) {
border: none; background: transparent;
}
- tn-calendar-table td:hover {
background-color: rgb(191, 27, 57); 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 {
display: block; width: 100%; height: 100%; vertical-align: middle; text-decoration: none; font-weight: bold; color: rgb(3, 140, 126);
}
- 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;
}
/*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);
}
/*FOOTER IN APPOSITE SUBS/TEMPLATE*/