Difference between revisions of "Template:UPMC-Paris/CSS"

Line 5: Line 5:
  
  
    #top_title, #sideMenu{
+
#colorNav li ul{
      display: none;
+
position:absolute;
    }
+
list-style:none;
 +
text-align:center;
 +
width:180px;
 +
left:50%;
 +
margin-left:-90px;
 +
top:30px;
 +
font:bold 12px 'Open Sans Condensed', sans-serif;
  
    #content{
+
/* This is important for the show/hide CSS animation */
    width:850px;
+
max-height:0px;
    padding-top: 100;
+
overflow:hidden;
    margin: auto;
+
        border-radius: 30px;
    border-radius: 10px;
+
-webkit-transition:max-height 0.4s linear;
    }
+
-moz-transition:max-height 0.4 linear;
 
+
transition:max-height 0.4 linear;
p {
+
color:#666666;
+
 
}
 
}
 
+
#colorNav li:hover ul{
h3 {
+
max-height:500px;
color: #222222;
+
 
}
 
}
 
+
#colorNav li ul li{
#header{
+
background-color:#369799;
width:800px;
+
height:200px;
+
color-background:black;
+
display: block;
+
margin-left: auto;
+
margin-right: auto;
+
 
+
}
+
+
#colorNav > ul{
+
margin-left: auto;
+
margin-right: auto;
+
position:fixed;
+
top:50px;
+
 
}
 
}
  
#colorNav > ul > li{ /* will style only the top level li */
+
#colorNav li ul li a{
list-style: none;
+
padding:12px;
display: inline-block;
+
color:#fff !important;
line-height:2;
+
        margin: 0px;
+
border-radius: 15px;
+
position:relative;
+
}
+
#colorNav > ul > li > a{
+
color:inherit;
+
 
text-decoration:none !important;
 
text-decoration:none !important;
font-size:14px;
+
display:block;
padding: 30px;
+
       
 +
 
 
}
 
}
  

Revision as of 17:08, 3 October 2016