Skip to content

Instantly share code, notes, and snippets.

@ivanteoh
Created July 5, 2020 05:43
Show Gist options
  • Save ivanteoh/1f028ef8f5ef961a00fa4546d3cd7908 to your computer and use it in GitHub Desktop.
Save ivanteoh/1f028ef8f5ef961a00fa4546d3cd7908 to your computer and use it in GitHub Desktop.
WordPress Theme Development 10 - Stylesheet
@import "style/css/reset.css";
@import "style/css/layout.css";
@import "style/css/colour.css";
@import "style/css/typography.css";
@import "style/css/ie.css";
/* WordPress Generated Classes. More info: http://codex.wordpress.org/CSS */
.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* *** WordPress Class Tags *** */
/*
.categories {...}
.cat-item {...}
.current-cat {...}
.current-cat-parent {...}
.pagenav {...}
.page_item {...}
.current_page_item {...}
.current_page_parent {...}
.widget {...}
.widget_text {...}
.blogroll {...}
.linkcat{...}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment