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!

Template:Nav/styles.css: Difference between revisions

From Wars Wiki
Updated link color to default white
(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;
  clear: both;
border: 1px solid #88a;
  background: #FFF;
border-collapse: collapse;
  border: 3px solid #88a;
box-shadow: 0px 0px 5px 5px rgba(136, 136, 170, 0.8);
  margin: 1em auto;
margin: auto;
  max-width: 800px;
max-width: 800px;
  text-align: center;
text-align: center;
}
}
.t_nav .t_nav_title {
.t_nav .t_nav_title {
background-color: #ccccff;
  background-color: #ccccff;
font-weight: bold;
  font-weight: bold;
padding: 0.75em 0 .5em 0;
  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;
  background-color: #e6e6ff;
  padding: .4em;
}
}
.t_nav td.t_nav_header {
.t_nav td.t_nav_header {
background-color: #ddddff;
  background-color: #ddddff;
  font-weight: bold;
}
}


/* there should be global hlist styling instead */
.t_nav ul {
.t_nav ul {
display: inline-block;
  margin: 2px;
margin: 1em;
}
}
 
.t_nav ul>li {
.t_nav ul > li {
  display: inline;
display: inline;
  white-space: nowrap;
white-space: nowrap;
}
}
 
.t_nav ul>li:before {
.t_nav ul > li:before {
  content: "· ";
content: "\00B7\0020";
  font-weight: bold;
font-weight: bold;
}
}
 
.t_nav ul>li:first-child:before {
.t_nav ul > li:first-child:before {
  content: "";
content: "";
}
}
patroller
1,981

edits