Skip to content

Instantly share code, notes, and snippets.

@shimakyohsuke
Last active March 16, 2016 06:15
Show Gist options
  • Save shimakyohsuke/b92b4d7685febb86910a to your computer and use it in GitHub Desktop.
Save shimakyohsuke/b92b4d7685febb86910a to your computer and use it in GitHub Desktop.
WordPress の single ページに使うCSS
img {
max-width: 100%;
height: auto;
}
.aligncenter {
display: block;
margin: 0 auto;
}
.alignright {
float: right;
margin-left: 1em;
}
.alignleft {
float: left;
margin-right: 1em;
}
.wp-caption {
margin-bottom: 1em;
}
.wp-caption-text {
color: #ccc;
}
figure {
max-width: 100%;
}
blockquote {
display: block;
}
table {
width: 100%;
}
dl {
width: 100%;
}
p {
margin-bottom: 1em;
}
ul {
list-style-type: square;
}
ol {
list-style-type: decimal;
}
em {
font-style: italic;
}
strong {
font-weight: 700;
}
h1 {
font-size: 22px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 18px;
font-weight: 700;
}
h4 {
font-size: 18px;
}
h5 {
font-size: 16px;
font-weight: 700;
}
h6 {
font-size: 16px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment