File: /var/www/vhosts/miroglu.net/subdomains/serhatburke/wp-content/themes/toppic/css/editor-style.scss
/*
Description: Used to style the TinyMCE editor.
*/
/**
* Table of Contents:
*
* 1.0 - Body
* 2.0 - Typography
* 3.0 - Elements
* 4.0 - Alignment
* 5.0 - Caption
* 6.0 - Galleries
* 7.0 - Audio / Video
* 8.0 - RTL
*/
/**
* 1.0 - Body
*/
// Editor font-sizes
$editor-size: 12;
$num: 2;
@while $editor-size <= 82 {
.kktfwp-fs-#{$editor-size} {
font-size: #{$editor-size}px;
}
@if $editor-size >= 20 and $editor-size < 50 {
$num: 4;
} @else if $editor-size >= 50 and $editor-size < 60 {
$num: 6;
}
$editor-size: $editor-size + $num;
}
/**
* 1.0 - Body
*/
body {
font-family: 'Open sans', Helvetica, sans-serif;
font-size: 16px;
line-height: 22px;
position: relative;
margin: 10px 20px;
}
/**
* 2.0 - Typography
*/
h1, h2, h3, h4, h5, h6 {
font-family: 'Open sans', Helvetica, sans-serif;
color: #222;
margin: 1.2em 0 1.165em;
line-height: 1.2;
font-weight: 300;
word-wrap: break-word;
overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 {
&:first-child {
margin-top: 0;
}
}
h1{
font-size: 34px;
}
h2 {
font-size: 26px;
}
h3 {
font-size: 20px;
}
h4 {
font-size: 17px;
}
h5 {
font-size: 15px;
}
h6 {
font-size: 13px;
}
blockquote {
font-weight: 600;
text-transform: uppercase;
margin: 20px 25px;
border-left: 2px solid #888;
background-color: #f7f7f7;
padding: 15px 20px;
font-size: 14px;
color: #333;
cite {
font-style: normal;
font-size: 80%;
}
}
cite {
font-style: italic;
}
p,
ol,
ul {
margin: 0 0 1.563rem 0;
line-height: 1.75;
&:last-child {
margin-bottom: 0;
}
}
pre,
samp {
font-family: monospace, monospace;
max-width: 100%;
padding: 1.35em;
display: block;
background-color: #f7f7f7;
white-space: pre-wrap;
word-wrap: break-word;
overflow: auto;
font-size: 14px;
line-height: 1.375;
margin: 0 0 1.563rem 0;
color: #444;
}
code,
kbd {
font-family: monospace, monospace;
background-color: #ebebeb;
line-height: 1.6em;
padding: 0 5px;
}
abbr[title] {
border-bottom: 1px dotted #d1d1d1;
cursor: help;
}
mark {
background-color: #ff0;
color: #000;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
small {
font-size: 80%;
}
big {
font-size: 125%;
}
/**
* 3.0 - Elements
*/
hr {
clear: both;
background-color: currentColor;
margin: 40px 0;
height: 4px;
border: 0;
max-width: 30px;
}
ol,
ul {
line-height: 1.7;
padding-left: 1.25em;
margin: 0 0 1.563rem 0;
> li {
ol, ul {
padding-left: 1.25em;
margin-bottom: 0;
}
}
&:last-child {
margin-bottom: 0;
}
}
dl {
margin: 0 0 1.563rem;
}
dt {
font-weight: 600;
}
dd {
margin: 0 1.563rem 1.563rem;
}
address {
font-style: italic;
margin: 0 0 1.563rem;
line-height: 1.4;
}
table {
width: 100%;
margin: 0 0 1.563rem 0;
border-collapse: collapse;
border-spacing: 0;
thead th {
font-weight: 600;
background-color: #8a97a0;
color: #FFF;
}
tr {
background-color: #f4f7f8;
border-bottom: 2px solid #FFF;
margin-bottom: 5px;
.dark-skin & {
background-color: #333;
border-color: #3b3b3b;
}
}
tr:nth-child(even) {
background-color: #e8eeef;
.dark-skin & {
background-color: #222;
}
}
th, td {
text-align: left;
padding: 16px;
}
tfoot tr {
background-color: none;
}
tfoot td {
padding: 10px 2px;
font-size: 0.8em;
font-style: italic;
color: #8a97a0;
}
}
figure {
margin: 0;
}
del {
opacity: 0.8;
}
a {
box-shadow: 0 1px 0 0 currentColor;
color: #007acc;
text-decoration: none;
}
fieldset {
border: 1px solid #d1d1d1;
margin: 0 0 28px;
padding: 14px;
}
/**
* 4.0 - Alignment
*/
.alignleft {
float: left;
margin: 0.375em 1.75em 0.375em 0;
@media ( max-width: 440px ) {
margin: 0.375em auto 1.75em auto;
float: none;
}
}
.alignright {
float: right;
margin: 0.375em 0 0.375em 1.75em;
@media ( max-width: 440px ) {
margin: 0.375em auto 1.75em auto;
float: none;
}
}
/**
* 5.0 - Caption
*/
.wp-caption {
background: transparent;
border: none;
margin-bottom: 28px;
max-width: 100%;
padding: 0;
text-align: inherit;
}
.wp-caption-text,
.wp-caption-dd {
color: #686868;
font-size: 13px;
font-style: italic;
line-height: 1.6153846154;
padding-top: 7px;
}
/**
* 6.0 - Galleries
*/
.mce-content-body .wpview-wrap {
margin-bottom: 28px;
}
.gallery {
margin: 0 -1.1666667%;
padding: 0;
}
.gallery .gallery-item {
display: inline-block;
max-width: 33.33%;
padding: 0 1.1400652% 2.2801304%;
text-align: center;
vertical-align: top;
width: 100%;
}
.gallery-columns-1 .gallery-item {
max-width: 100%;
}
.gallery-columns-2 .gallery-item {
max-width: 50%;
}
.gallery-columns-4 .gallery-item {
max-width: 25%;
}
.gallery-columns-5 .gallery-item {
max-width: 20%;
}
.gallery-columns-6 .gallery-item {
max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
max-width: 11.11%;
}
.gallery .gallery-caption {
font-size: 13px;
margin: 0;
}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
display: none;
}
/**
* 7.0 - Audio / Video
*/
.wp-audio-shortcode a,
.wp-playlist a {
box-shadow: none;
}
.mce-content-body .wp-audio-playlist {
margin: 0;
padding-bottom: 0;
}
.mce-content-body .wp-playlist-tracks {
margin-top: 0;
}
.mce-content-body .wp-playlist-item {
padding: 10px 0;
}
.mce-content-body .wp-playlist-item-length {
top: 10px;
}
/**
* 8.0 - RTL
*/
.rtl blockquote {
border: 0 solid #1a1a1a;
border-right-width: 4px;
}
.rtl blockquote.alignleft,
.rtl blockquote.alignright {
border: 0 solid #1a1a1a;
border-top-width: 4px;
}
.rtl blockquote:not(.alignleft):not(.alignright) {
margin-right: -28px;
padding: 0 24px 0 0;
}
.rtl blockquote blockquote:not(.alignleft):not(.alignright) {
margin-right: 0;
margin-left: auto;
}
.rtl li > ul,
.rtl blockquote > ul {
margin-right: 20px;
margin-left: auto;
}
.rtl li > ol,
.rtl blockquote > ol {
margin-right: 24px;
margin-left: auto;
}
.rtl table th,
.rtl .mce-item-table th,
.rtl table caption {
text-align: right;
}