html, body { overflow-x: hidden; } body { color: $dark_grey; } //link a { text-decoration: none; &:hover { color: $dark_grey; -webkit-transition: all .8s ease; transition: all .8s ease; } } //list ol, ul { list-style: none; margin: 0; padding: 0; } //img .site-title, .post-contents, .sidebar, .footer-widget-area { img { max-width: 100%; } } //text b, strong { font-weight: bold; } blockquote { color: $grey; font-style: italic; margin: 1em 1em 1.5em; padding: 1em; position: relative; &:after, &:before { color: $border_light; font-family: serif; font-size: 400%; position: absolute; } &:after { bottom: 0; content: '”'; line-height: 0em; right: 0; } &:before { content: '“'; left: 0; line-height: .6em; top: 0; } } ins { background: $light_grey; border: 1px solid $border_light; border-radius: 2px; padding: 2px; } code, pre { background: $light_grey; border-radius: 2px; font-family: Consolas, Monaco, monospace, serif; font-size: 14px; padding: 8px; } //heading h1, h2, h3, h4, h5, h6 { line-height: 1.3; } h1 { font-size: 1.8em; } h2 { font-size: 1.6em; } h3 { font-size: 1.4em; } h4 { font-size: 1.3em; } h5 { font-size: 1.2em; } h6 { font-size: 1em; } //video embed, iframe, object, video { display: block; margin: 0 auto; max-width: 100%; } //table table { margin: 16px 0; } table, td { border: 1px solid $border_light; border-collapse: collapse; } tr:nth-child(even) { background: $light_grey; } th { color: $grey; } td, th { padding: 6px 16px; } //wp caption .wp-caption { font-style: italic; max-width: 100%; } .gallery-caption, .wp-caption-text { font-size: .8em; padding: 0 0 0 .3em; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; } .alignleft, .alignright, .aligncenter, .alignnone { clear: both; display: block; margin: 1em auto; text-align: center; } .screen-reader-text { clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px; word-wrap: normal !important; } .sticky .post-meta { display: none; } //theme base settings .border { border-bottom: 1px solid $border_light; } .breadcrumb, .contents, .footer-widget-area { margin: 0 auto; } .contents { padding: 24px 0 0 0; } .main { padding: 0 8px; } .sidebar, footer { padding: 0 16px; } @include media(tab) { .alignleft { float: left; margin: 0 1.3em .3em 0; } .alignright { float: right; margin: 0 0 .3em 1em; } } @include media(pc) { .main { -webkit-flex-grow: 2; flex-grow: 2; margin: 0 16px 0 0; } .sidebar { max-width: 336px; } }