/* caption entries */ .caption-entry { display: flex; justify-content: flex-start; align-items: flex-start; background: #111; padding: 0.5rem; margin-bottom: 0.5rem; max-width: 800px; cursor: pointer; transition: background 0.1s; } .caption-entry:hover { background: #333; } .caption-index { width: 120px; text-align: right; margin: 0; padding: 0 1rem 0 0; } .caption-text { flex: 1; } .caption-entry.generated .caption-index, .caption-entry.generated .caption-text { color: #888; font-style: italic; } /* caption form */ .caption-form .textarea span { text-align: right; padding-right: 1.25rem; } .caption-form .textarea textarea { width: 670px; height: 70px; } .caption-form .buttons { display: flex; align-items: center; margin-bottom: 0.5rem; } .caption-form .buttons span { display: block; text-align: right; padding-right: 1.25rem; width: 128px; } .caption-form .buttons button { margin-right: 0.5rem; } /* gallery captions */ .gallery-captions { margin-bottom: 1rem; } .gallery-captions.expanded .caption-entry { background: #222; } .gallery-captions .button-spacer { display: block; width: 103px; } .gallery-captions.expanded button.expander { margin-bottom: 1rem; } .gallery-captions button.expander { font-size: 0.75rem; padding: 0.5rem; }