Skip to content

Instantly share code, notes, and snippets.

@mikedup
Last active December 25, 2015 13:09
Show Gist options
  • Save mikedup/6981842 to your computer and use it in GitHub Desktop.
Save mikedup/6981842 to your computer and use it in GitHub Desktop.
Publet FJ temp styles
div.table-of-contents { margin-top: 17px; }
div.table-of-contents h1 { font: bold 40px serif; padding-bottom: 80px; text-align: center; text-transform: uppercase; }
div.table-of-contents h4 { color: #363636; font: italic 12px serif; margin-bottom: 0; margin-top: 50px; text-align: center; }
div.table-of-contents ul li { margin: 20px 0; }
div.table-of-contents ul li a { font: bold 20px serif; text-decoration: none; }
div.sep { background: #9A9A9A; height: 1px; margin: 30px 0; width: 100%; }
header { background: #323A45; left: 0; height: 50px; margin: 0 !important; position: fixed; top: 0; width: 100%; z-index: 51; }
header h1 { color: transparent; display: block; float: left; width: 10%; }
header nav { border-left: 1px solid #475363; border-right: 1px solid #475363; float: left; height: 50px; padding-left: 10px; position: relative; text-align: left; width: 80%; }
header nav div.active { color: white; display: block; font: bold 14px serif; height: 50px; text-decoration: none; text-transform: uppercase; padding: 15px 5px; position: relative; }
header nav div.active:hover ul { display: block; }
header nav ul { display: none; left: 10%; position: fixed; top: 50px; width: 80%; z-index: 52; }
header nav ul li { margin: 0; }
header nav ul li a { background: #5D6C80; border-top: 1px solid #525f71; color: white !important; display: block; font: normal 16px serif; padding: 10px 16px; text-decoration: none; text-transform: none; }
header nav ul li a:hover { color: #dddddd !important; text-decoration: none; }
/* FJ temp overrides */
header { background: #fff url(http://forjournalism.com/images/bg_header.png) 0 -5px repeat-x; border-bottom: 1px solid #eee; box-shadow: 0 1px 15px 1px rgba(150, 150, 150, 0.1); padding: 10px 0 2px 0; }
header nav { border: none; }
header nav div.active { color: #333; }
header nav ul { border: 1px solid #eee; border-top: none; top: 62px; }
header nav ul li a { background: #fff; border-top: 1px solid #eee; color: #555 !important; }
header nav ul li a:hover { color: #000 !important; }
div.table-of-contents { padding-top: 50px; }
div.table-of-contents h1 { padding-bottom: 10px; }
div.table-of-contents ul { display: none; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment