patroller
1,981
edits
Welcome to Wars Wiki! |
---|
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member! |
(heading colours) |
(Updated link color to default white) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
/* Wars Wiki navbox styling */ | |||
.t_nav { | .t_nav { | ||
clear: both; | |||
background: #FFF; | |||
border: 3px solid #88a; | |||
margin: 1em auto; | |||
max-width: 800px; | |||
text-align: center; | |||
} | } | ||
.t_nav .t_nav_title { | .t_nav .t_nav_title { | ||
background-color: #ccccff; | |||
font-weight: bold; | |||
padding: .4em; | |||
} | |||
.t_nav .t_nav_title a { | |||
color: #fff; | |||
} | |||
.t_nav tr { | |||
border: 2px solid #fff; | |||
} | } | ||
.t_nav td { | .t_nav td { | ||
background-color: #e6e6ff; | |||
padding: .4em; | |||
} | } | ||
.t_nav td.t_nav_header { | .t_nav td.t_nav_header { | ||
background-color: #ddddff; | |||
font-weight: bold; | |||
} | } | ||
/* there should be global hlist styling instead */ | |||
.t_nav ul { | .t_nav ul { | ||
margin: 2px; | |||
} | } | ||
.t_nav ul>li { | |||
.t_nav ul > li { | display: inline; | ||
white-space: nowrap; | |||
} | } | ||
.t_nav ul>li:before { | |||
.t_nav ul > li:before { | content: "· "; | ||
font-weight: bold; | |||
} | } | ||
.t_nav ul>li:first-child:before { | |||
.t_nav ul > li:first-child:before { | content: ""; | ||
} | } |