Learning site for website creation

WordPress用基本文章構造CSS雛型

  • 投稿日:2018年01月24日

WordPress用基本文章構造CSS雛型

h1 {
  clear: both;
}
h2 {
  clear: both;
}
h3 {
  clear: both;
}
h4 {
  clear: both;
}
h5 {
  clear: both;
}
h6 {
  clear: both;
}
p {
  line-height: 1.6;
  margin: 1em 0;
}
pre {
  font-family: inherit;
  line-height: 1.6;
  margin: 1em 0;
}
ul {
  list-style: circle;
  margin: 1em 0;
  padding: 0 0 0 1em;
}
ol {
  list-style: decimal;
  margin: 1em 0;
  padding: 0 0 0 1em;
}
li {
  line-height: 1.6;
}
blockquote {
  margin: 1em 0;
  padding: 1em;
  background-color: #eee;
  border-radius: 10px;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
.aligncenter {
  display: block;
  margin: 0 auto;
}
.alignright {
  float: right;
  margin-left: 1em;
}
.alignleft {
  float: left;
  margin-right: 1em;
}
img[class*="wp-image-"],
img[class*="attachment-"] {
  max-width: 100%;
  height: auto;
}