Template:UNIPV-Pavia/StyleCss

From 2009.igem.org

(Difference between revisions)
Line 70: Line 70:
padding: 0;
padding: 0;
list-style-type: none;
list-style-type: none;
 +
        font-size: 100%;
cursor: default;
cursor: default;
list-style-image: none;
list-style-image: none;
Line 88: Line 89:
position: relative;
position: relative;
text-align: left;
text-align: left;
 +
        font-size: 100%;
cursor: pointer;
cursor: pointer;
list-style-image: none;
list-style-image: none;
Line 95: Line 97:
ul.MenuBarVertical ul
ul.MenuBarVertical ul
{
{
-
margin: 0 0 0 95%;
+
margin: -5% 0 0 95%;
padding: 0;
padding: 0;
list-style-type: none;
list-style-type: none;
 +
font-size: 100%;
position: absolute;
position: absolute;
z-index: 1020;
z-index: 1020;
Line 109: Line 112:
ul.MenuBarVertical ul.MenuBarSubmenuVisible
ul.MenuBarVertical ul.MenuBarSubmenuVisible
{
{
-
left: 15px;
+
left: 5px;
}
}
/* Menu item containers are same fixed width as parent */
/* Menu item containers are same fixed width as parent */
ul.MenuBarVertical ul li
ul.MenuBarVertical ul li
{
{
-
width: 12em;
+
width: 15em;
}
}
Line 126: Line 129:
ul.MenuBarVertical
ul.MenuBarVertical
{
{
-
border: -3px;
+
border: 1px solid #FFF;
}
}
/* Submenu containers have borders on all sides */
/* Submenu containers have borders on all sides */
ul.MenuBarVertical ul
ul.MenuBarVertical ul
{
{
-
border: -3px;
+
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 */
-
ul.MenuBarVertical Home
+
ul.MenuBarVertical a
{
{
display: block;
display: block;
cursor: pointer;
cursor: pointer;
-
background-image:url('https://static.igem.org/mediawiki/2009/d/df/Home_UNIPV.gif');
+
background-color: cornflowerblue;
-
        background-repeat: no-repeat;
+
padding: 0.5em 0.75em;
padding: 0.5em 0.75em;
 +
color: #F0FFFF;
text-decoration: none;
text-decoration: none;
         list-style-image: none;
         list-style-image: none;
-
        height: 30px;
+
               
-
        border: -3px;
+
-
       
+
}
}
/* 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 */
-
ul.MenuBarVertical Home:hover, ul.MenuBarVertical Home:focus
+
ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
{
{
-
background-image:url('https://static.igem.org/mediawiki/2009/1/16/Home_over_UNIPV.gif');
+
background-color: royalblue;
-
        background-repeat: no-repeat;
+
color: snow;
color: snow;
-
        height: 30px;
 
-
        border: -3px;
 
-
}
 
-
 
-
ul.MenuBarVertical Team
 
-
{
 
-
display: block;
 
-
cursor: pointer;
 
-
background-image:url('https://static.igem.org/mediawiki/2009/4/4e/Team.gif');
 
-
        background-repeat: no-repeat;
 
-
padding: 0.5em 0.75em;
 
-
text-decoration: none;
 
-
        list-style-image: none;
 
-
        height: 30px;
 
-
        border: -3px;
 
-
       
 
-
}
 
-
/* Menu items that have mouse over or focus have a blue background and white text */
 
-
ul.MenuBarVertical Team:hover, ul.MenuBarVertical a:focus
 
-
{
 
-
background-image:url('https://static.igem.org/mediawiki/2009/6/6c/Team_over.gif');
 
-
        background-repeat: no-repeat;
 
-
color: snow;
 
-
        height: 30px;
 
-
        border: -3px;
 
-
}
 
-
 
-
ul.MenuBarVertical Project
 
-
{
 
-
display: block;
 
-
cursor: pointer;
 
-
background-image:url('https://static.igem.org/mediawiki/2009/0/00/Project_UNIPV.gif');
 
-
        background-repeat: no-repeat;
 
-
padding: 0.5em 0.75em;
 
-
text-decoration: none;
 
-
        list-style-image: none;
 
-
        height: 30px;
 
-
        border: -3px;
 
-
       
 
-
}
 
-
/* Menu items that have mouse over or focus have a blue background and white text */
 
-
ul.MenuBarVertical Project:hover, ul.MenuBarVertical a:focus
 
-
{
 
-
background-image:url('https://static.igem.org/mediawiki/2009/8/8c/Project_over_UNIPV.gif');
 
-
        background-repeat: no-repeat;
 
-
color: snow;
 
-
        height: 30px;
 
-
        border: -3px;
 
-
}
 
-
 
-
ul.MenuBarVertical Sponsor
 
-
{
 
-
display: block;
 
-
cursor: pointer;
 
-
background-image:url('https://static.igem.org/mediawiki/2009/7/75/Sponsor_UNIPV.gif');
 
-
        background-repeat: no-repeat;
 
-
padding: 0.5em 0.75em;
 
-
text-decoration: none;
 
-
        list-style-image: none;
 
-
        height: 30px;
 
-
        border: -3px;
 
-
       
 
-
}
 
-
/* Menu items that have mouse over or focus have a blue background and white text */
 
-
ul.MenuBarVertical Sponsor:hover, ul.MenuBarVertical a:focus
 
-
{
 
-
background-image:url('https://static.igem.org/mediawiki/2009/e/eb/Sponsor_over_UNIPV.gif');
 
-
        background-repeat: no-repeat;
 
-
color: snow;
 
-
        height: 30px;
 
-
        border: -3px;
 
}
}
/* 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 Project.MenuBarSubmenuVisible
+
ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
{
{
-
background-color: white;
+
background-color: royalblue;
-
color: white;
+
color: salmon;
}
}

Revision as of 08:34, 21 June 2009