AlchemyCMS/alchemy_cms

View on GitHub
app/assets/stylesheets/tinymce/skins/content/alchemy/content.min.scss

Summary

Maintainability
Test Coverage
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*/

@import "alchemy/variables";

html {
  font-size: 13px;
}

body {
  font-family: $default-font-family;
  line-height: 1.4;
  margin: 1em;
  color: $text-color;
}

a {
  color: $dark-blue;
}

table {
  border-collapse: collapse;
}

table td,
table th {
  border: 1px solid $default-border-color;
  padding: 0.4rem;
}

figure {
  display: table;
  margin: 1rem auto;
}

figure figcaption {
  color: $dark-gray;
  display: block;
  margin-top: 0.25rem;
  text-align: center;
}

hr {
  border-color: $default-border-color;
  border-style: solid;
  border-width: 1px 0 0 0;
}

code {
  background-color: $light-gray;
  border-radius: $default-border-radius;
  padding: 0.1rem 0.2rem;
}

.mce-content-body:not([dir="rtl"]) blockquote {
  border-left: 2px solid $default-border-color;
  margin-left: 1.5rem;
  padding-left: 1rem;
}

.mce-content-body[dir="rtl"] blockquote {
  border-right: 2px solid $default-border-color;
  margin-right: 1.5rem;
  padding-right: 1rem;
}