Changeset - 450ea2c35443
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 14 years ago 2010-10-03 21:35:57
bkuhn@ebb.org
Attempts to get left side bar right.
1 file changed with 38 insertions and 3 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -11,33 +11,32 @@ p, h1, h2, h3, h4, h5, h6, #mainContent ul, #mainContent ol {
 

	
 
body {
 
  font-family: "Lucida Grande",Verdana,Lucida,Helvetica,Arial,sans-serif;
 
  font-size: 90%;
 
}
 

	
 
a { text-decoration: none; color: #146624; }
 
a:hover { text-decoration: underline; color: #665f14; }
 

	
 
h1 { margin-top: .75em; margin-bottom: .5em; }
 
h2 { margin-top: .75em; margin-bottom: .5em; }
 
h3 { margin-top: .6em; margin-bottom: .4em; }
 

	
 
#mainContent h1 { border-bottom: 1px solid #00334b; }
 
h2 { border-bottom: 1px solid #aaa; }
 

	
 
#mainContent { clear: both; margin-left: 79px; padding: 4px 25px; }
 
#mainContent ul, #mainContent ol { padding-left: 1.5em; }
 

	
 
#mainContent img { margin: 3px; }
 

	
 
.internalNavigate { width: 19%; float: right; }
 
#mainContent .internalNavigate ul { list-style-type: none; padding-left: 0; }
 
.internalNavigate ul li { margin-top: .3em; margin-bottom: .3em; }
 

	
 
.affiliate-link { float: right; }
 
#affiliate-conservancy, #affiliate-mr {
 
  padding: 2px 10px;
 
  white-space: nowrap;
 
  font-size: x-small;
 
  text-align: right;
 
}
 
#affiliate-conservancy { background: #d4ff9d; }
...
 
@@ -81,42 +80,78 @@ h2 { border-bottom: 1px solid #aaa; }
 
}
 
#navbar li:hover a { background: #fff99d; }
 
#navbar li { float: left; display: inline; margin-bottom: 3px; }
 

	
 
/* Highlight current location on navbar */
 
body.conservancy-about #navbar ul li.about a,
 
body.conservancy-news #navbar ul li.news a,
 
body.conservancy-blog #navbar ul li.blog a,
 
body.conservancy-podcast #navbar ul li.podcast a,
 
body.conservancy-services #navbar ul li.services a,
 
body.conservancy-resources #navbar ul li.resources a,
 
body.conservancy-technology #navbar ul li.technology a,
 
body.conservancy-contact #navbar ul li.contact a,
 
body.conservancy-donate #navbar ul li.donate a /* NO COMMA HERE! */
 
      { background: #fff url(/img/nav-bg-up.png) top repeat-x; color: #000; }
 

	
 
#container {
 
    width: 100%;
 
}
 
#container #mainContent {
 
    background: #fffff;
 
    margin-left: 200px;
 
    padding-bottom: 32767px;
 
    margin-bottom: -32767px;
 
}
 
#container #sidebar {
 
    width: 200px;
 
    float: left;
 
    background-color: #e5e5e5; 
 
    padding-bottom: 32767px;
 
    margin-bottom: -32767px;
 
}
 
#container #sidebar li {
 
    text-align: center;
 
    list-style: none;
 
    padding: 3px 10px 3px 10px; 
 
    margin: 5px; 
 
    border: 1px solid #CCC;
 
}
 
#container #sidebar li#selected {
 
    color: #000033;
 
    font-weight: bold;
 
}
 
#container #sidebar h2 {
 
    text-align: center;
 
    font-size: 140%;
 
    margin: 1.5em 0 0.8em 0;
 
}
 
#container #sidebar hr {
 
    width: 75%;
 
    float: center;
 
    clear: all;
 
}
 

	
 
/* Navbar Submenus (currently unused) */
 
#navbar li ul { display: none; border: 1px solid #444; }
 
#navbar li:hover ul { display: block; position: absolute; }
 
#navbar li ul li { float: none; }
 
#navbar li ul li a { border: 0px; margin: 0px; }
 

	
 
.shaded { background: #ffeab7; padding: .1em .5em; margin-bottom: .5em; }
 

	
 
.singleColumn { width: 79%; }
 

	
 
.columns { margin: 0; }
 

	
 
.column-small { width: 31%; }
 
.column-large { width: 66%; }
 
.column-left { float: left; }
 
.column-right { float: right; }
 

	
 
.column h2 { font-size: 1.25em; }
 
.column h3 { font-size: 1.1em; }
 

	
 
.column h2 a { text-decoration: none; color: #000000; }
 
.column h2 a:hover { text-decoration: underline; }
 

	
 
#conservancyfooter {
 
  margin-top: 1em;
 
  border-top: 1px solid #ccc;
0 comments (0 inline, 0 general)