Template:UNIPV-Pavia/StyleCss

From 2009.igem.org

(Difference between revisions)
 
(295 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
 +
font.work{
font.work{
color: green;
color: green;
Line 19: Line 20:
font.month_name{
font.month_name{
 +
        color: red;
         font-weight: bold;
         font-weight: bold;
-
        text-decoration: underline;
 
         font-size: medium;
         font-size: medium;
 +
}
 +
 +
font.dayw_style{
 +
        font-weight: bold;
 +
        font-size: 0.8em; //definisce la dimensione in percentuale: 0.8em = 80%, 2em = 200%
 +
}
 +
 +
font.didascalia{
 +
        color: black;
 +
        font-family: sans-serif;
 +
 +
}
 +
 +
div.sfondo{
 +
        background-image: url('https://static.igem.org/mediawiki/2009/0/05/UNIPV_sfondo.jpg');
 +
        background-repeat: repeat;
}
}
Line 29: Line 46:
}
}
 +
font.week_title{
 +
        text-align: center;
 +
}
 +
font.label {
 +
        font-size: 11px;
 +
}
 +
 +
font.set_up {
 +
        font-weight: bold;
 +
        font-size: 15px;
 +
        color: white;
 +
 +
}
 +
 +
font.set_up_list {
 +
      color: white;
 +
      font-weight: bold;
 +
      font-size: 13px;
 +
}
 +
 +
tr.freezer_up{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/4/4a/Unipv_freezer_up.jpg');
 +
        background-repeat:no-repeat;
 +
}
 +
 +
 +
tr.freezer_down{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/2/2b/Unipv_freezer_down.png');
 +
        background-repeat:repeat-y;
 +
}
 +
 +
tr.freezer_end{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/e/e7/Unipv_freezer_end.png');
 +
        background-repeat:no-repeat;
 +
}
 +
 +
tr.lavagna{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/1/18/Unipv_lavagna.jpg');
 +
        background-repeat:no-repeat;
 +
}
 +
table.lavagna{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/1/18/Unipv_lavagna.jpg');
 +
        background-repeat:no-repeat;
 +
}
 +
table.bacheca{       
 +
        background-image: url('https://static.igem.org/mediawiki/2009/4/4b/BACHECA.gif');
 +
        background-repeat:no-repeat;
 +
}
 +
 +
table.in_freezer{
 +
      background-color: transparent;
 +
}
 +
 +
td.prova {
 +
      filter:alpha(opacity=60);
 +
      opacity:0.6;
 +
      text-align: center;
 +
      text-valign: center;
 +
      color: black;
 +
      font-weight: bold;
 +
      background-color: white;
 +
}
 +
 +
td.beuta {
 +
      background-image: url('https://static.igem.org/mediawiki/2009/3/33/FlskErlnFiltB500_6152_7_M.jpg');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_beuta {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.glicerolo {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_glicerolo {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.centrifuge {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_centrifuge {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.pcr {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_pcr {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.ligation {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_ligation {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.plates {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_plates {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.transformation {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_transformation {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.xgal {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_xgal {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
td.digestion {
 +
      background-image: url('');
 +
      background-repeat:no-repeat;
 +
      font-size: '10px';
 +
}
 +
 +
table.in_digestion {
 +
      margin: 130px 20px 5px 15px;       
 +
}
 +
 +
/* Modifiche al foglio di stile del Wiki iGEM (modifiche alle impostazioni di default) */
 +
 +
.firstHeading{
 +
        height: 0px;
 +
        font-size: 0em;
 +
//font-weight: bold;
 +
//text-align: right;
 +
}
 +
 +
.editsection{
 +
        font-size: 0.7em;
 +
}
Line 46: Line 228:
BODY {
BODY {
-
font-family: eras demi itc;
+
font-family: arial, book antiqua, eras demi itc, arial;
color: royalblue;
color: royalblue;
-
background: snow;
+
background-image: url('https://static.igem.org/mediawiki/2009/0/05/UNIPV_sfondo.jpg');
 +
        background-repeat: repeat;
 +
        text-align: justify;
}
}
 +
A:link {text-decoration: none;}
 +
A:visited {text-decoration: none;}
 +
A:active {text-decoration: none;}
 +
A:hover {text-decoration: none;}
 +
 +
ul.MenuBarVertical
ul.MenuBarVertical
{
{
margin: 0;
margin: 0;
padding: 0;
padding: 0;
 +
        border-bottom: 3px solid white;
 +
        border-top: none;
 +
        border-left: none;
 +
        border-right: none;
list-style-type: none;
list-style-type: none;
-
font-size: 100%;
+
        font-size: 100%;
cursor: default;
cursor: default;
-
width: 12em;
+
list-style-image: none;
-
        list-style-image: none;
+
        width: 12em;
 +
 
}
}
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
/* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
Line 71: Line 266:
margin: 0;
margin: 0;
padding: 0;
padding: 0;
-
list-style-type: none;
+
        border-bottom: 3px solid white;
-
font-size: 100%;
+
        border-top: none;
 +
        border-left: none;
 +
        border-right: none;
 +
        list-style-type: none;
position: relative;
position: relative;
text-align: left;
text-align: left;
 +
        font-size: 100%;
cursor: pointer;
cursor: pointer;
-
width: 12em;
+
list-style-image: none;
-
        list-style-image: none;
+
        width: 12em;
}
}
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
/* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
Line 83: Line 282:
{
{
margin: -5% 0 0 95%;
margin: -5% 0 0 95%;
-
padding: 0;
+
padding: 0;      
-
list-style-type: none;
+
        list-style-type: none;
font-size: 100%;
font-size: 100%;
position: absolute;
position: absolute;
z-index: 1020;
z-index: 1020;
cursor: default;
cursor: default;
-
width: 8.2em;
 
left: -1000em;
left: -1000em;
top: 0;
top: 0;
         list-style-image: none;
         list-style-image: none;
 +
        width: 8.2em;
}
}
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
/* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
Line 114: Line 313:
ul.MenuBarVertical
ul.MenuBarVertical
{
{
-
border: 1px solid #FFF;
+
border-bottom: 1px solid #FFF;
 +
        border-top: none;
 +
        border-left: none;
 +
        border-right: none;
}
}
/* Submenu containers have borders on all sides */
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
ul.MenuBarVertical ul
{
{
-
border: 1px solid #FFF;
+
border: 1px solid #FFF;  
}
}
/* Menu items are a light gray block with padding and no text decoration */
/* Menu items are a light gray block with padding and no text decoration */
Line 131: Line 333:
text-decoration: none;
text-decoration: none;
         list-style-image: none;
         list-style-image: none;
 +
               
}
}
/* Menu items that have mouse over or focus have a blue background and white text */
/* Menu items that have mouse over or focus have a blue background and white text */
Line 137: Line 340:
background-color: royalblue;
background-color: royalblue;
color: snow;
color: snow;
-
 
}
}
 +
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
/* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
Line 190: Line 393:
background: snow;
background: snow;
}
}
 +
}
 +
 +
/* Questo serve per lasciare evidenziata la voce del menu quando si è nella pagina. N.B.: il menu DEVE essere copiato in ogni pagina, non è possibile usare il template (almeno se si usa il tag HTML per il menu, se si usasse la sintassi wiki pura si potrebbe usare il passaggio parametri). Per ora la prova è stata fatta nella Home e Pavia. Il mio parere per il futuro: fare un nuovo menu da zero più semplice, senza JS, sottomenu o altro e anche più compatibile - con Safari non funziona - */
 +
 +
#MenuBar1 #activated{
 +
        background-color: royalblue;
}
}
</style>
</style>
</html>
</html>

Latest revision as of 16:41, 19 October 2009