File: //home/bristolfilton.co.uk/public_html/wp-content/themes/sg-window/css/editor-style.css
/*
Theme Name: sgwindow
Description: Used to style the TinyMCE editor.
*/
/**
* Body
* ----------------------------------------------------------------------------
*/
html .mceContentBody {
font-size: 100%;
max-width: 1366px;
}
body {
color: #2b2b2b;
font-family: 'Philosopher', sans-serif;
font-size: 18px;
line-height: 1.5;
vertical-align: baseline;
}
/**
* Headings
* ----------------------------------------------------------------------------
*/
h1,
h2,
h3,
h4,
h5,
h6 {
color: #000 !important;
font-weight: bold;
margin: 12px 0;
}
h1 {
font-size: 42px;
line-height: 1.34;
}
h2 {
font-size: 24px;
line-height: 1;
}
h3 {
font-size: 22px;
line-height: 1.1;
}
h4 {
font-size: 20px;
line-height: 1.2;
}
h5 {
font-size: 18px;
line-height: 1.3;
}
h6 {
font-size: 16px;
line-height: 1.5;
}
/**
* Text Elements
* ----------------------------------------------------------------------------
*/
address {
font-style: italic;
margin-bottom: 24px;
}
abbr[title] {
border-bottom: 1px dotted #2b2b2b;
cursor: help;
}
b,
strong {
font-weight: bold;
}
cite,
dfn,
em,
i {
font-style: italic;
}
mark,
ins {
background: #006633;
color: #ccc;
text-decoration: none;
}
p {
margin-bottom: 24px;
}
code,
kbd,
tt,
var,
samp,
pre {
font-family: monospace, serif;
font-size: 15px;
hyphens: none;
line-height: 1.6;
}
pre {
border: 1px solid #ccc;
box-sizing: border-box;
margin-bottom: 24px;
max-width: 100%;
overflow: auto;
padding: 12px;
word-wrap: normal;
}
blockquote,
q {
hyphens: none;
quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
content: "";
content: none;
}
blockquote {
color: #6699cc;
font-size: 19px;
font-style: italic;
line-height: 1.3;
margin-bottom: 24px;
}
blockquote cite,
blockquote small {
color: #6699cc;
font-family: 'Lobster', sans-serif;
font-size: 24px;
line-height: 1.5;
}
blockquote em,
blockquote i,
blockquote cite {
font-style: normal;
}
blockquote strong,
blockquote b {
font-weight: bold;
}
small {
font-size: smaller;
}
big {
font-size: 125%;
}
sup,
sub {
font-size: 75%;
height: 0;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
bottom: 1ex;
}
sub {
top: .5ex;
}
dl {
margin-bottom: 24px;
}
dt {
font-weight: bold;
}
dd {
margin-bottom: 24px;
}
ul,
ol {
list-style: none;
margin: 12px 0 12px 32px;
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li > ul,
li > ol {
margin: 0 0 0 32px;
}
figure {
margin: 0;
}
fieldset {
border: 1px solid rgba(0, 0, 0, 0.1);
margin: 0 0 24px;
padding: 11px 12px 0;
}
legend {
white-space: normal;
}
button,
input,
select,
textarea {
box-sizing: border-box;
font-size: 100%;
margin: 0;
max-width: 100%;
vertical-align: baseline;
}
button,
input {
line-height: normal;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
cursor: pointer;
}
button[disabled],
input[disabled] {
cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
padding: 0;
}
textarea {
overflow: auto;
vertical-align: top;
}
table,
th,
td {
border: 1px solid #ccc;
}
table {
border-collapse: separate;
border-spacing: 0;
border-width: 1px 0 0 1px;
margin-bottom: 24px;
width: 100%;
}
caption,
th,
td {
font-weight: normal;
text-align: left;
}
th {
border-width: 0 1px 1px 0;
font-weight: bold;
}
td {
border-width: 0 1px 1px 0;
}
del {
color: #767676;
}
hr {
background-color: #eee;
border: 0;
height: 1px;
margin-bottom: 12px;
}
img {
border: 1px solid #ccc;
height: auto;
max-width: 100%;
vertical-align: middle;
width: auto;
}
a {
color: #6666ff;
}
a:focus {
outline: thin dotted;
}
a:active,
a:hover {
color: #339900;
outline: 0;
}
/**
* Alignment
* ----------------------------------------------------------------------------
*/
.alignleft {
float: left;
}
.alignright {
float: right;
}
.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
blockquote.alignleft,
figure.wp-caption.alignleft,
img.alignleft {
margin: 10px 12px 10px 0;
}
.wp-caption.alignleft {
margin: 10px 12px 10px 0;
}
blockquote.alignright,
figure.wp-caption.alignright,
img.alignright {
margin: 10px 0 10px 12px;
}
.wp-caption.alignright {
margin: 10px 0 10px 12px;
}
blockquote.aligncenter,
img.aligncenter,
.wp-caption.aligncenter {
margin-top: 10px;
margin-bottom: 10px;
}
.site-content blockquote.alignleft,
.site-content blockquote.alignright {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
padding-top: 17px;
width: 50%;
}
.site-content blockquote.alignleft p,
.site-content blockquote.alignright p {
margin-bottom: 17px;
}
.wp-caption {
margin-bottom: 12px;
max-width: 100%;
width: auto;
}
.wp-caption img[class*="wp-image-"] {
display: block;
margin: 0;
}
.wp-caption {
color: #767676;
}
.wp-caption img[class*="wp-image-"] {
display: block;
margin: 0;
}
.wp-caption-text {
box-sizing: border-box;
font-size: 12px;
font-style: italic;
line-height: 1.5;
margin: 10px 0;
}
div.wp-caption .wp-caption-text {
padding-right: 10px;
}
div.wp-caption.alignright img[class*="wp-image-"],
div.wp-caption.alignright .wp-caption-text {
padding-left: 10px;
padding-right: 0;
}
.wp-smiley {
border: 0;
margin-bottom: 0;
margin-top: 0;
padding: 0;
}
/**
* Tables
* ----------------------------------------------------------------------------
*/
.mceItemTable {
border-collapse: separate;
border-spacing: 0;
border-width: 1px 0 0 1px;
margin-bottom: 24px;
width: 100%;
}
.mceItemTable th,
.mceItemTable caption {
border-width: 0 1px 1px 0;
font-weight: bold;
text-align: left;
}
.mceItemTable td {
border-width: 0 1px 1px 0;
}
/**
* Images
* ----------------------------------------------------------------------------
*/
img {
height: auto;
max-width: 987px;
vertical-align: middle;
}
.wp-caption {
background: transparent;
border: none;
color: #767676;
margin: 0 0 24px 0;
max-width: 987px;
padding: 0;
text-align: left;
}
.html5-captions .wp-caption {
padding: 0;
}
/**
* Gallery
* -----------------------------------------------------------------------------
*/
.gallery {
margin-bottom: 20px;
}
.gallery-item {
float: left;
margin: 0 4px 4px 0;
overflow: hidden;
position: relative;
}
.gallery-columns-1 .gallery-item {
max-width: 100%;
}
.gallery-columns-2 .gallery-item {
max-width: 48%;
}
.gallery-columns-3 .gallery-item {
max-width: 32%;
}
.gallery-columns-4 .gallery-item {
max-width: 23%;
}
.gallery-columns-5 .gallery-item {
max-width: 19%;
}
.gallery-columns-6 .gallery-item {
max-width: 15%;
}
.gallery-columns-7 .gallery-item {
max-width: 13%;
}
.gallery-columns-8 .gallery-item {
max-width: 11%;
}
.gallery-columns-9 .gallery-item {
max-width: 9%;
}
.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
margin-right: 0;
}
.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
clear: left;
}
.gallery-caption {
background-color: #eee;
box-sizing: border-box;
color: #767676;
font-size: 12px;
line-height: 1.5;
margin: 0;
max-height: 50%;
opacity: 0;
padding: 6px 8px;
position: absolute;
bottom: 0;
left: 0;
text-align: left;
width: 100%;
}
.gallery-caption:before {
content: "";
height: 100%;
min-height: 49px;
position: absolute;
top: 0;
left: 0;
width: 100%;
}
.gallery-item:hover .gallery-caption {
opacity: 1;
}
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
display: none;
}