Mercurial > hg > soundsoftware-drupal-theme
comparison layout.css @ 3:e741fbf78fba
Another rework of the nav -- still not good
author | Chris Cannam |
---|---|
date | Wed, 07 Dec 2011 09:25:51 +0000 |
parents | 6b9d46abd911 |
children | 1e65fbe45c61 |
comparison
equal
deleted
inserted
replaced
2:6b9d46abd911 | 3:e741fbf78fba |
---|---|
160 float: left; | 160 float: left; |
161 width: 100%; | 161 width: 100%; |
162 margin-left: 0; | 162 margin-left: 0; |
163 margin-right: -100%; /* Negative value of #navbar's width + left margin. */ | 163 margin-right: -100%; /* Negative value of #navbar's width + left margin. */ |
164 padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */ | 164 padding: 0; /* DO NOT CHANGE. Add padding or margin to #navbar-inner. */ |
165 height: 3.6em; /* The navbar can have any arbritrary height. We picked one | 165 height: 110px; |
166 /* height: 3.6em;*/ /* The navbar can have any arbritrary height. We picked one | |
166 that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6 | 167 that is twice the line-height pluse 1em: 2 x 1.3 + 1 = 3.6 |
167 Set this to the same value as the margin-top below. */ | 168 Set this to the same value as the margin-top below. */ |
168 } | 169 } |
169 | 170 |
170 .with-navbar #content, | 171 .with-navbar #content, |
171 .with-navbar #sidebar-left, | 172 .with-navbar #sidebar-left, |
172 .with-navbar #sidebar-right | 173 .with-navbar #sidebar-right |
173 { | 174 { |
174 margin-top: 3.6em; /* Set this to the same value as the navbar height above. */ | 175 margin-top: 110px; |
176 /* | |
177 margin-top: 3.6em;*/ /* Set this to the same value as the navbar height above. */ | |
175 } | 178 } |
176 | 179 |
177 #navbar-inner | 180 #navbar-inner |
178 { | 181 { |
179 } | 182 } |