/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 /*
 * app/assets/stylesheets/application.css
 *= require inter-font
 *= require_tree .
 *= require_self
 */
 
.animate-fade-in {
  animation: fadeIn 0.3s ease-in-out;
}
  
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

trix-toolbar {
  position: sticky;
  top: 0px;
  z-index: 1000;
  background: white;
  padding: 0px;
}

trix-editor#post_content {
  min-height: 100px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  box-sizing: border-box;
}

.short-post .trix-button-group--text-tools,
.short-post .trix-button-group--block-tools {
  display: none !important;
}

.trix-button-group--file-tools {
  margin-left: 0 !important;
}

.trix-button-group--block-tools {
  display: none !important;
}

.trix-content figure figcaption {
  display: none;
}

.trix-content figure img {
  padding-top: 10px !important;
}

a.show-more {
  color: #7fcaf8;
  text-decoration: none;
}

a.show-more:hover,
a.show-more:active {
  color: #1DA1F2;
  text-decoration: underline;
}

div.trix-content a:not(.post_link) {
  color: #1DA1F2;
  text-decoration: none;
}

div.trix-content a:not(.post_link):hover,
div.trix-content a:not(.post_link):active {
  text-decoration: underline;
}

div.trix-content a:not(.post_link):hover {
  color: #1A91DA;
}

div.trix-content a:not(.post_link):active {
  color: #0C7ABF;
}

div.trix-content a:not(.post_link):focus {
  outline: 2px solid #1DA1F2;
  outline-offset: 2px;
}

a.blue {
  color: #1DA1F2;
  text-decoration: none;
}

a.blue:hover,
a.blue:active {
  text-decoration: underline;
}

a.blue:hover {
  color: #1A91DA;
}

a.blue:active {
  color: #0C7ABF;
}

a.blue:focus {
  outline: 2px solid #1DA1F2;
  outline-offset: 2px;
}