Team:Edinburgh/defaultadvancedcss

From 2009.igem.org

(Difference between revisions)
 
(One intermediate revision not shown)
Line 3: Line 3:
<style type="text/css">
<style type="text/css">
-
@charset "UTF-8";
+
@charset "UTF-8"
 +
@import "https://2009.igem.org/Team:Edinburgh/defaultcss?action=raw";
-
/**
 
-
* Default Advanced CSS Drop-Down Menu Theme
 
-
*
 
-
* @file default.advanced.css
 
-
* @name Default
 
-
* @version 0.1
 
-
* @type transitional
 
-
* @browsers Windows: IE5+, Opera7+, Firefox1+
 
-
* Mac OS: Safari2+, Firefox2+
 
-
*
 
-
* @link http://www.lwis.net/
 
-
* @copyright 2008 Live Web Institute. All Rights Reserved.
 
-
*
 
-
*/
 
-
@import "https://2009.igem.org/Team:Edinburgh/defaultcss?action=raw";
+
ul.dropdown li a { /* Moved from 'custom' section */
 +
display: block;
 +
padding: 7px 12px;
 +
}
 +
 
 +
 
 +
/* ------------- Override default */
-
/*-------------------------------------------------/
+
ul.dropdown li {
-
* @section Base Style Extension
+
padding: 0;
-
*/
+
}
-
ul.dropdown li a {
 
-
display: block;
 
-
padding: 7px 10px;
 
-
}
 
 +
/* ------------- Reinitiate default: post-override activities  */
-
/*-------------------------------------------------/
+
ul.dropdown li.dir {
-
* @section Base Style Override
+
padding: 7px 20px 7px 12px;
-
*/
+
}
-
ul.dropdown li {
+
ul.dropdown ul li.dir {
-
padding: 0;
+
padding-right: 15px;
-
}
+
}
-
/*-------------------------------------------------/
+
/* ------------- Custom */
-
* @section Base Style Reinitiate: post-override activities
+
-
*/
+
-
ul.dropdown li.dir {
+
ul.dropdown li {
-
padding: 7px 20px 7px 10px;
+
-
}
+
-
ul.dropdown ul li.dir {
+
}
-
padding-right: 15px;
+
-
}
+
-
/*-------------------------------------------------/
+
/* Especially for IE6 or lower */
-
* @section Custom
+
-
*/
+
-
ul.dropdown ul a {
+
ul.dropdown ul a {
-
width: 129px;
+
padding: 4px 5px 4px 12px;
-
}
+
/*width: 139px;*/
 +
}
-
ul.dropdown ul a:hover {}
+
ul.dropdown ul a:hover {
 +
padding: 3px 5px 3px 11px;
 +
border: solid 1px #ddd;
 +
background-color: #eee;
 +
font-weight: bold;
 +
}
-
ul.dropdown ul a.dir {
+
ul.dropdown ul a.dir {
-
width: 124px;
+
/*width: 129px;*/
-
}
+
}
</style>
</style>
</html>
</html>

Latest revision as of 14:21, 17 August 2009