Skip to content

Instantly share code, notes, and snippets.

@jonathonbyrdziak
Created June 27, 2012 19:48
Show Gist options
  • Save jonathonbyrdziak/3006348 to your computer and use it in GitHub Desktop.
Save jonathonbyrdziak/3006348 to your computer and use it in GitHub Desktop.
WordPress Missing Styles
/* tables still need 'cellspacing="0"' in the markup */
table {border-collapse: collapse;border-spacing: 0;}
a img {border: none;}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {display: block;}
.clear, .clearfix, .clearFix {display:block;clear:both;width:100%;}
.right, .alignright {float:right;position:relative;}
.left, .alignleft {float:left;position:relative;}
/* Wordpress Styles */
.login-remember, .login-submit, #reg_passmail, #login .submit {margin:0;padding: 2px 0 0 0;}
#s, #user_login, #user_pass {width:300px;}
#login {margin-top:100px;}
#registerform p {margin:0;padding:10px 0 0;}
#wp-calendar caption { text-align: right; color: #333; font-size: 12px; margin-top: 10px; margin-bottom: 15px; }
#wp-calendar thead { font-size: 10px; }
#wp-calendar thead th { padding-bottom: 10px; }
#wp-calendar tbody { color: #aaa; }
#wp-calendar tbody td { background: #f5f5f5; border: 1px solid #fff; text-align: center; padding:8px;}
#wp-calendar tbody td:hover { background: #fff; }
#wp-calendar tbody .pad { background: none; }
#wp-calendar tfoot #next { font-size: 10px; text-transform: uppercase; text-align: right; }
#wp-calendar tfoot #prev { font-size: 10px; text-transform: uppercase; padding-top: 10px; }
/* Notifications */
.error,
.alert,
.notice,
.approved,
.attention {padding: 15px;border-radius: 6px;color: #444;}
.approved {border: 1px solid #C1E8C1;background: #D1EED1;}
.attention {background: #FDF5D9;border: 1px solid #FCEEC1;}
.notice {background: #DDF4FB;border: 1px solid #C8EEF9;}
.alert {background: #FDDFDE;border: 1px solid #FBC9C8;}
.error {background:#e84c29;border: 1px solid #d33915;color:#000;}
.error,
.alert,
.notice,
.approved,
.attention,
.approved,
.attention,
.notice,
.alert,
.error { color: #858585; line-height: 1.5em;overflow: hidden;clear: both;margin-top: 15px;margin-bottom: 12px;padding-top: 5px;padding-bottom: 5px;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment