Skip to content

Instantly share code, notes, and snippets.

@jdlrobson
Created July 18, 2017 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdlrobson/76b76872f97ff628cb2ced412cca63ec to your computer and use it in GitHub Desktop.
Save jdlrobson/76b76872f97ff628cb2ced412cca63ec to your computer and use it in GitHub Desktop.
/*
- Basic infobox styling
- Remove background colors, they are hard to print
*/
.infobox {
border: 1px solid #aaa;
border-spacing: 3px;
background-color: #fff;
border-radius: 2px;
color: black;
margin: 0px 0px 10px 30px;
float: right;
clear: right;
font-size: 13px;
line-height: 1.5em;
}
.infobox a {
border-bottom: none;
}
.infobox td, .infobox th {
text-align: left;
padding: 2px 5px !important;
border-bottom: 1px solid #EAECF0;
}
table.infobox tr:last-child th, table.infobox tr:last-child td {
border: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment