@tailwind base;
@tailwind components;
@tailwind utilities;
@import "application.css";

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/



.trix-editor {
  @apply w-full;
}

.trix-editor h1 {
  font-size: 1.25rem !important;
  line-height: 1.25rem !important;
  @apply leading-5 font-semibold mb-4;
}

.trix-editor a:not(.no-underline) {
  @apply underline;
}

.trix-editor a:visited {
  color: green;
}

.trix-editor ul {
  list-style-type: disc;
  padding-left: 1rem;
}

.trix-editor ol {
  list-style-type: decimal;
  padding-left: 1rem;
}

.trix-editor pre {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-family: monospace;
  font-size: 1.5em;
  padding: 0.5em;
  white-space: pre;
  background-color: #eee;
  overflow-x: auto;
}

.trix-editor blockquote {

  color: #444;
  position: relative;
  padding: 10px 20px;
  margin: 10px 0;
  display: block;


  quotes: "“" "”" "‘" "’";
}

.trix-editor blockquote::before {
  content: open-quote;
  font-size: 1.5em;
  font-weight: bold;
  color: #888;
  margin-right: 5px;
}

.trix-editor blockquote::after {
  content: close-quote;
  font-size: 1.5em;
  font-weight: bold;
  color: #888;
  margin-left: 5px;
}




.trix-content {
  @apply w-full;
}

.trix-content h1 {
  font-size: 1.25rem !important;
  line-height: 1.25rem !important;
  @apply leading-5 font-semibold mb-4;
}

.trix-content a:not(.no-underline) {
  @apply underline;
}

.trix-content a:visited {
  color: green;
}

.trix-content ul {
  list-style-type: disc;
  padding-left: 1rem;
}

.trix-content ol {
  list-style-type: decimal;
  padding-left: 1rem;
}

.trix-content pre {
  display: inline-block;
  width: 100%;
  vertical-align: top;
  font-family: monospace;
  font-size: 1.5em;
  padding: 0.5em;
  white-space: pre;
  background-color: #eee;
  overflow-x: auto;
}


.trix-content blockquote {


  position: relative;
  padding: 10px 20px;
  margin: 10px 0;
  display: block;


  quotes: "“" "”" "‘" "’";
}

.trix-content blockquote::before {
  content: open-quote;

  font-weight: bold;
  color: #888;
  margin-right: 5px;
}

.trix-content blockquote::after {
  content: close-quote;

  font-weight: bold;
  color: #888;
  margin-left: 5px;
}
