~cjohnston/ubuntu-community-webthemes/working-on-django-forms

« back to all changes in this revision

Viewing changes to media/css/default.css

  • Committer: Michael Hall
  • Date: 2011-02-26 15:06:54 UTC
  • Revision ID: mhall119@gmail.com-20110226150654-0svdht6edc8znwlv
Add top-nav bar and links

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
    /* 16x0.75 =12 */
191
191
}
192
192
 
 
193
#top-nav { 
 
194
    font-size:0.625em; 
 
195
    /* 16x0.625=10 */ 
 
196
}
 
197
 
193
198
#main-nav {
194
199
    font-size: 0.875em;
195
200
    /* 16x0.875=14 */
221
226
    width: 980px;
222
227
}
223
228
 
 
229
#top-nav { 
 
230
    margin:0 auto; 
 
231
    line-height: 2em; 
 
232
}
 
233
 
 
234
.top-nav-item { 
 
235
    display:inline-block; 
 
236
    padding:0 8px; 
 
237
    line-height:2em; 
 
238
}
 
239
 
 
240
#top-login { 
 
241
    display:inline-block; 
 
242
    margin-left:15px; 
 
243
}
 
244
 
 
245
.top-login-item { 
 
246
    display:inline-block; 
 
247
    padding:0 8px; 
 
248
    line-height:2em; 
 
249
}
 
250
 
 
251
#top-related { 
 
252
    float:right; 
 
253
    margin-right:15px; 
 
254
}
 
255
 
224
256
#main-nav {
225
257
    float: left;
226
258
    width: 770px;
563
595
    color: #333333;
564
596
}
565
597
 
 
598
#top-nav { 
 
599
    background-color:#f7f7f7; 
 
600
}
 
601
 
 
602
.top-nav-item { 
 
603
    color:#333333; 
 
604
}
 
605
 
 
606
.top-nav-item:hover { 
 
607
    text-decoration: underline; 
 
608
}
 
609
 
 
610
.top-login-item { 
 
611
    color:#dd4814; 
 
612
}
 
613
 
 
614
.top-login-item:hover { 
 
615
    text-decoration: underline; 
 
616
}
 
617
 
566
618
#page-header {
567
619
    background: url("../images/header.png") repeat-x scroll 0 0 #DD4814;
568
620
    height: 70px;