Skip to content

Instantly share code, notes, and snippets.

@kazzkiq
Last active December 10, 2017 10:48
Show Gist options
  • Save kazzkiq/ce4c2301357a786ea357a68d729b1669 to your computer and use it in GitHub Desktop.
Save kazzkiq/ce4c2301357a786ea357a68d729b1669 to your computer and use it in GitHub Desktop.
tmce.css
@import url('https://fonts.googleapis.com/css?family=Lato:300,300i,400,400i');
.mce-content-body {
font-family: 'Lato', sans-serif;
font-size: 15px;
}
.mce-content-body * {
word-break: break-all;
}
.mce-content-body p {
margin: 10px 0
}
.mce-content-body h2 {
font-weight: 300;
font-size: 22px;
color: #597DDA;
}
.mce-content-body h3 {
font-weight: 300;
font-size: 17px;
color: #597DDA;
}
.mce-content-body table {
width: 100%;
border: 1px solid transparent;
}
.mce-content-body table td {
border: 1px solid transparent;
}
.mce-content-body table td * {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.mce-content-body img {
max-width: 100%;
}
.mce-content-body .center {
text-align: center;
}
.mce-content-body .left {
text-align: left;
}
.mce-content-body .right {
text-align: right;
}
.mce-content-body .fca-link-pdf {
display: inline-flex;
align-items: center;
padding: 1rem;
border-radius: 5px;
background: url('http://portal-rh-admin.fcalatam.com.br/assets/icon-download.svg') no-repeat center left 15px #597DDA;
background-size: 24px auto;
color: #fff;
text-decoration: none;
padding-left: 50px;
}
.mce-content-body .fca-link-pdf.disabled {
opacity: 0.5;
pointer-events: none;
background: #777;
text-shadow: 0 1px 0 #454545;
}
#tinymce table {
border: 1px dashed grey;
}
#tinymce table td {
border: 1px dashed grey;
}
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
padding-top: 25px;
max-width: 600px;
margin: 0 auto;
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
@juainisukses
Copy link

helo mr
can you help me pleasee.. wiht tmce.css for sid..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment