Difference between revisions of "Template:Team:Paris Saclay/css"

Line 7: Line 7:
 
.container{padding-left: 10%;padding-right: 10%;overflow-y: hidden;overflow-x: hidden;min-width: 986px;}
 
.container{padding-left: 10%;padding-right: 10%;overflow-y: hidden;overflow-x: hidden;min-width: 986px;}
 
.container.header, .container.submenu {position: fixed;width: 80%;}
 
.container.header, .container.submenu {position: fixed;width: 80%;}
.container.header {background: #7fadbc; border-top: 17px solid #aac451; top: 18px; z-index: 100;}
+
.container.header {background: #7fadbc; border-top: 17px solid #aac451; top: 18px; z-index: 100; overflow: initial;}
 
.container.header nav {margin: 12px 0;font-size: 13pt;}
 
.container.header nav {margin: 12px 0;font-size: 13pt;}
 
.container.header nav ul li a {margin: 0px 35px 0px 0px;}
 
.container.header nav ul li a {margin: 0px 35px 0px 0px;}
Line 19: Line 19:
 
.container.submenu nav {margin: 2px 0; font-size: 11pt;}
 
.container.submenu nav {margin: 2px 0; font-size: 11pt;}
 
.container.submenu nav ul li a {margin: 0px 20px 0px 0px; font-weight:normal; font-family:'Tahoma', 'Roboto', 'Helvetica', sans-serif}
 
.container.submenu nav ul li a {margin: 0px 20px 0px 0px; font-weight:normal; font-family:'Tahoma', 'Roboto', 'Helvetica', sans-serif}
.container nav ul {margin: 0;padding: 0;}
+
.container nav ul {margin: 0;padding: 0; zoom: 1; vertical-align: middle; left: 0; top: 0; visibility: visible; position: relative; list-style: none; margin: 0; padding: 0;}
 
.container nav ul li {display: inline-block;display: -webkit-inline-box;}
 
.container nav ul li {display: inline-block;display: -webkit-inline-box;}
 
.container nav ul li a {display: block;height: 20px;border: none;color: #fff; text-decoration: none;}
 
.container nav ul li a {display: block;height: 20px;border: none;color: #fff; text-decoration: none;}
 
.container nav ul li:last-child a {margin-right:0;}
 
.container nav ul li:last-child a {margin-right:0;}
 
.container nav ul li a:hover {color:#aac451;text-decoration: none;}
 
.container nav ul li a:hover {color:#aac451;text-decoration: none;}
.container nav ul li:hover ul {display: block;}
+
.container nav ul li:hover ul, .container nav ul li ul:hover {display: block;}
.container nav ul li ul {display: none;}
+
.container nav ul li ul {position: absolute; background: rgba(86, 121, 113, .66); top: 39px; left: -20px; min-width: 140px; z-index: 9997;}
 
.container p {text-align: justify;}
 
.container p {text-align: justify;}
 
.row {width: 100%;min-width: 996px;margin: 0 auto;overflow: hidden;}
 
.row {width: 100%;min-width: 996px;margin: 0 auto;overflow: hidden;}

Revision as of 15:51, 9 July 2016