Team:UNITN-Trento/CSS/Notebook

From 2013.igem.org

(Difference between revisions)
m
 
(62 intermediate revisions not shown)
Line 1: Line 1:
-
#tn-header-wrap,#tn-footer-wrap,#tn-content-wrap {
+
/*HEADER IN APPOSITE SUBS/TEMPLATE*/
-
display: block;
+
-
width: 800px;
+
-
text-align: center;
+
-
}
+
-
#tn-header-wrap,#tn-footer-wrap {
+
/*******************/
-
width: 100%;
+
/*CENTRAL CONTAINER*/
-
height: 220px;
+
/*******************/
-
}
+
 
 +
#tn-central-container {
 +
    display: block;
 +
 
 +
    /*max-width: 1300px;*/
 +
    width: 100%;
 +
    min-height: 600px;
 +
 
 +
    margin: 0 auto;
 +
    padding: 1em 0;
 +
 
 +
    background-color: #dadada;
 +
    background-image: url(https://static.igem.org/mediawiki/2013/a/aa/Tn-2013-mainbg-Wood_pattern.png);
-
#tn-footer-wrap {
+
    box-shadow: 0 0 8px ;
-
background-color: #c0c0b6;
+
   
 +
    font-family: 'Cabin', sans-serif;
}
}
#tn-content-wrap {
#tn-content-wrap {
-
width: 100%;
+
    display: block;
-
height: 100%;
+
    padding-bottom: 25px;
-
padding: 25px 0;
+
    margin-top: 6em;
-
vertical-align: top;
+
   
 +
    width: 100%;
 +
    height: 100%;
 +
 
 +
    text-align: center;
 +
    vertical-align: top;
}
}
.tn-sidebar,#tn-content {
.tn-sidebar,#tn-content {
-
vertical-align: top;
+
    display: inline-block;
-
display: inline-block;
+
 
-
margin: 0;
+
    margin: 0;
-
padding: 0;
+
    padding: 0;
 +
 
 +
    vertical-align: top;
}
}
.tn-sidebar {
.tn-sidebar {
-
width: 16%;
+
    width: 20%;
}
}
#tn-content {
#tn-content {
-
width: 60%;
+
    width: 68%;
-
margin: 0 1%; padding: 1%;
+
 
-
border-left: 0.5em solid rgba(191, 27, 57, .8);
+
    margin: 0 5% 0 1%;
-
border-right: 0.5em solid rgba(191, 27, 57, .8);
+
    padding: 1%;
-
text-align: center;
+
 
-
background-image: url('https://static.igem.org/mediawiki/2013/c/ca/Tn-2013-graph-White_Notebook_Paper.png');
+
    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;
 +
   
 +
    border-left: 0.5em solid rgba(196, 34, 28, .8);
 +
    border-right: 0.5em solid rgba(196, 34, 28, .8);
 +
    box-shadow: 2px 2px 4px #323232;
 +
 
 +
    text-align: center;
}
}
/*Filters*/
/*Filters*/
-
#tn-filter-faces,#tn-filter-tags-wrap {
+
#tn-filter-faces,
-
width: 175px;
+
#tn-filter-tags-wrap {
-
padding: 0.3em;
+
    width: 175px;
-
margin: 0 auto;
+
    padding: 0.3em;
-
/*background-color: rgb(3, 140, 126);
+
    margin: 0 auto;
-
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);
+
    width: 75px;
-
margin: 1px 0px;
+
    margin: 1px 0px;
-
border-radius: 5px;
+
 
-
width: 75px;
+
    border: 2px solid #dadada;
 +
    border-radius: 5px;
 +
    box-shadow: 2px 2px 2px #323232;
 +
    /*opacity: 0.7;*/
}
}
-
#tn-filter-faces span.tn-title,#tn-filter-tags-wrap span.tn-title {
+
#tn-filter-faces .faces img:hover {
-
display: block;
+
    opacity: 1.0;
-
font-family: x-small, sans-serif;
+
}
-
font-weight: bold;
+
 
-
/*color: rgb(240, 242, 223);*/
+
#tn-filter-faces .tn-title,
-
color: rgb(3, 140, 126);
+
#tn-filter-tags-wrap .tn-title,
-
margin-bottom: 0.5em;
+
#tn-calendar .tn-title {
-
font-variant: small-caps;
+
    display: block;
 +
    width: 160px;
 +
    margin: 0.5em auto;
 +
    padding: 0.3em;
 +
 
 +
    background-color: rgba(31, 68, 87, 0.9);
 +
    border: 2px solid #ffffff;
 +
    box-shadow: 2px 2px 2px #323232;
 +
    color: #ffffff;
 +
 
 +
    font-family: "Mouse Memoirs", sans-serif;
 +
    font-size: 1.5em;
 +
    line-height: 1em;
}
}
/*Calendar*/
/*Calendar*/
#tn-calendar {
#tn-calendar {
-
margin: 0 auto;
+
    margin: 0 auto;
-
width: 220px;
+
    width: 220px;
 +
    background-color: transparent;
}
}
-
#tn-calendar-table th,#tn-calendar-table td {
+
#tn-calendar-table {
-
width: 25px;
+
    background-color: transparent;
-
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 {
+
#tn-calendar-table td {
-
border: 1px solid rgb(3, 140, 126);
+
    background-color: white;
-
background: rgb(3, 140, 126);
+
}
-
color: rgb(240, 242, 223);
+
 
 +
#tn-calendar-table th,
 +
#tn-calendar-table td {
 +
    width: 25px;
 +
    height: 25px;
 +
    font-size: 0.7em;
 +
    border: 1px solid #2880C5;
 +
    box-shadow: 1px 1px 2px #323232;
 +
    color: #2880C5;
 +
}
 +
 
 +
.tn-fw,
 +
.tn-bw {
 +
    box-shadow: none !important;
 +
    font-size: 1em !important;
 +
    text-shadow: 1px 1px 2px #323232;
 +
}
 +
 
 +
#tn-calendar-table th,
 +
#tn-calendar-table th.tn-name {
 +
    border: 1px solid #2880C5;
 +
    background: #1F4457;
 +
    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: #C4221C;
-
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,
-
display: block;
+
#tn-calendar-table th.tn-month:not(.tn-name) a:visited {
-
width: 100%;
+
    display: block;
-
height: 100%;
+
    width: 100%;
-
vertical-align: middle;
+
    height: 100%;
-
text-decoration: none;
+
    vertical-align: middle;
-
font-weight: bold;
+
    text-decoration: none;
-
color: rgb(3, 140, 126);
+
    font-weight: bold;
 +
    color: #2880C5;
}
}
#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: #C4221C;
}
}
-
/*Addpost button*/
+
/*Spoilers*/
-
a.tn-addpost:link,a.tn-addpost:visited {
+
.tn-spoiler a {
-
display: block;
+
    font-variant: small-caps;
-
padding: 0.3em 0;
+
    display: block;
-
margin: auto 0;
+
    text-decoration: none;
-
width: 500px;
+
    padding: 2px;
-
height: 30px;
+
    margin: 2px;
-
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 {
+
.tn-spoiler a:link, .tn-spoiler a:visited {
-
background: #007366;
+
    border: 1px solid rgb(4, 140, 126);
-
color: #ffffff;
+
    background: rgb(240, 242, 223);
 +
    color: rgb(4, 140, 126);
}
}
-
/** Responsive **/
+
.tn-spoiler a:hover {
-
@media screen and (max-width: 1280px) {
+
    border: 1px solid rgb(240, 242, 223);
-
#tn-content-wrap {
+
    background: rgb(191, 27, 57);
-
overflow: none;
+
    color: rgb(240, 242, 223);
-
}
+
}
-
#tn-side-1, #tn-side-2 {
+
.tn-spoiler > div {
-
width: 20%;
+
    padding: 2px;
-
display: block;
+
    margin: 2px;
-
float: left;
+
    background: rgb(240, 242, 223);
-
}
+
    border: 1px solid rgba(0,0,0,.3);
 +
}
-
#tn-side-2 {
+
/*TimeSelect buttons*/
-
position: relative;
+
 
-
left: -300px;
+
.tn-timeSelect {
-
top: 150px;
+
    display:inline-block;
-
}
+
 
 +
    width: 70%;
 +
 
 +
    margin: 3em 3em 3em 0;
 +
 
 +
    text-align: right;
 +
}
 +
 
 +
.tn-timeSelect a {
 +
    width: 100px;
 +
 
 +
    padding: 0.5em;
 +
 
 +
    background-color: rgb(40,128,197);
 +
    border-bottom: 2px solid rgb(31,68,87);
 +
    border-radius: 0.5em;
 +
 
 +
    color: white;
 +
    font-family: "Mouse Memoirs",Helvetica,sans-serif;
 +
    font-size: 1.2em;
 +
}
 +
 
 +
.tn-timeSelect a:hover {
 +
    background-color: rgb(31,68,87);
 +
    border-bottom: 2px solid rgb(40,128,197);
 +
    border-radius: 0.5em;
 +
    text-decoration: none;
 +
}
 +
 
 +
.tn-timeSelect a.active {
 +
    background-color: #821410;
 +
    border-bottom: 2px solid #c4221c;
 +
    border-radius: 0.5em;
 +
}
 +
 
 +
.tn-add-post {
 +
    display:inline-block;
 +
 
 +
    width: 15%;
 +
 
 +
    margin: 3em 0 3em 3em;
 +
}
 +
 
 +
.tn-add-post a {
 +
    display: block;
 +
   
 +
    width: 200px;
 +
 
 +
    padding: 0.5em;
 +
 
 +
    background-color: rgb(40,128,197);
 +
    border-bottom: 2px solid rgb(31,68,87);
 +
    border-radius: 0.5em;
 +
 
 +
    color: white;
 +
    font-family: "Mouse Memoirs",Helvetica,sans-serif;
 +
    font-size: 1.2em;
 +
}
 +
 
 +
.tn-add-post a:hover {
 +
    background-color: #821410;
 +
    border-bottom: 2px solid #c4221c;
 +
    border-radius: 0.5em;
 +
    text-decoration: none;
 +
}
 +
 
 +
/*FOOTER IN APPOSITE SUBS/TEMPLATE*/
 +
 
 +
/*Navigation arrows*/
 +
 
 +
.sheet-2 {
 +
    position: relative;
 +
   
 +
    margin: 2em 0 1em 0;
 +
    padding: 0.5em;
 +
   
 +
    background-color: rgba(255,255,255,.6);
 +
   
 +
    text-align: center;
 +
}
 +
 
 +
.sheet-2 .tn-arr-prev,
 +
.sheet-2 .tn-arr-next {
 +
    position: absolute;
 +
    bottom: 0.8em;
 +
 
 +
    width: 174px;
 +
   
 +
    border: none;
 +
    box-shadow: none;
 +
}
 +
 
 +
.sheet-2 .tn-arr-prev {
 +
    left: 2em;
 +
}
-
#tn-content {
+
.sheet-2 .tn-arr-next {
-
width: 65%;
+
    right: 2em;
-
}
+
}
}

Latest revision as of 16:26, 3 October 2013

/*HEADER IN APPOSITE SUBS/TEMPLATE*/

/*******************/ /*CENTRAL CONTAINER*/ /*******************/

  1. tn-central-container {
   display: block;
   /*max-width: 1300px;*/
   width: 100%;
   min-height: 600px;
   margin: 0 auto;
   padding: 1em 0;
   background-color: #dadada;
   background-image: url(Tn-2013-mainbg-Wood_pattern.png);
   box-shadow: 0 0 8px ;
   
   font-family: 'Cabin', sans-serif;

}

  1. 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%;

}

  1. tn-content {
   width: 68%;
   margin: 0 5% 0 1%;
   padding: 1%;
   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;
   
   border-left: 0.5em solid rgba(196, 34, 28, .8);
   border-right: 0.5em solid rgba(196, 34, 28, .8);
   box-shadow: 2px 2px 4px #323232;
   text-align: center;

}

/*Filters*/

  1. tn-filter-faces,
  2. tn-filter-tags-wrap {
   width: 175px;
   padding: 0.3em;
   margin: 0 auto;

}

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

}

  1. 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;*/

}

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

}

  1. tn-filter-faces .tn-title,
  2. tn-filter-tags-wrap .tn-title,
  3. tn-calendar .tn-title {
   display: block;
   width: 160px;
   margin: 0.5em auto;
   padding: 0.3em;
   background-color: rgba(31, 68, 87, 0.9);
   border: 2px solid #ffffff;
   box-shadow: 2px 2px 2px #323232;
   color: #ffffff;
   font-family: "Mouse Memoirs", sans-serif;
   font-size: 1.5em;
   line-height: 1em;

}

/*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,
  2. tn-calendar-table td {
   width: 25px;
   height: 25px;
   font-size: 0.7em;
   border: 1px solid #2880C5;
   box-shadow: 1px 1px 2px #323232;
   color: #2880C5;

}

.tn-fw, .tn-bw {

   box-shadow: none !important;
   font-size: 1em !important;
   text-shadow: 1px 1px 2px #323232;

}

  1. tn-calendar-table th,
  2. tn-calendar-table th.tn-name {
   border: 1px solid #2880C5;
   background: #1F4457;
   color: white;

}

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

}

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

}

  1. tn-calendar-table th.tn-month:not(.tn-name) a:link,
  2. 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: #2880C5;

}

  1. tn-calendar-table th.tn-month:not(.tn-name) a:hover {
   color: #C4221C;

}

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

}

/*TimeSelect buttons*/

.tn-timeSelect {

   display:inline-block;
   width: 70%;
   margin: 3em 3em 3em 0;
   text-align: right;

}

.tn-timeSelect a {

   width: 100px;
   padding: 0.5em;
   background-color: rgb(40,128,197);
   border-bottom: 2px solid rgb(31,68,87);
   border-radius: 0.5em;
   color: white;
   font-family: "Mouse Memoirs",Helvetica,sans-serif;
   font-size: 1.2em;

}

.tn-timeSelect a:hover {

   background-color: rgb(31,68,87);
   border-bottom: 2px solid rgb(40,128,197);
   border-radius: 0.5em;
   text-decoration: none;

}

.tn-timeSelect a.active {

   background-color: #821410;
   border-bottom: 2px solid #c4221c;
   border-radius: 0.5em;

}

.tn-add-post {

   display:inline-block;
   width: 15%;
   margin: 3em 0 3em 3em;

}

.tn-add-post a {

   display: block;
   
   width: 200px;
   padding: 0.5em;
   background-color: rgb(40,128,197);
   border-bottom: 2px solid rgb(31,68,87);
   border-radius: 0.5em;
   color: white;
   font-family: "Mouse Memoirs",Helvetica,sans-serif;
   font-size: 1.2em;

}

.tn-add-post a:hover {

   background-color: #821410;
   border-bottom: 2px solid #c4221c;
   border-radius: 0.5em;
   text-decoration: none;

}

/*FOOTER IN APPOSITE SUBS/TEMPLATE*/

/*Navigation arrows*/

.sheet-2 {

   position: relative;
   
   margin: 2em 0 1em 0;
   padding: 0.5em;
   
   background-color: rgba(255,255,255,.6);
   
   text-align: center;

}

.sheet-2 .tn-arr-prev, .sheet-2 .tn-arr-next {

   position: absolute;
   bottom: 0.8em;
   width: 174px;
   
   border: none;
   box-shadow: none;

}

.sheet-2 .tn-arr-prev {

   left: 2em;

}

.sheet-2 .tn-arr-next {

   right: 2em;

}