Template:Dialogue/styles.css: Difference between revisions
Appearance
Cdjensen94 (talk | contribs) Created page with ".dialogue-box { background-color: #f4f4f4; border: 2px solid #ddd; padding: 10px; margin: 5px 0; border-radius: 8px; max-width: 500px; } .dialogue-character { font-weight: bold; color: #005bbb; font-size: 1.2em; } .dialogue-line { font-style: italic; margin-left: 10px; }" Â |
Cdjensen94 (talk | contribs) No edit summary  |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
.dialogue-box { | .dialogue-box { | ||
   background-color: |    background-color: var(--background-color-base); | ||
   border: 2px solid #ddd; |    border: 2px solid #ddd; | ||
   padding: 10px; |    padding: 10px; | ||
   margin: |    margin: 10px 0; | ||
   border-radius: 8px; |    border-radius: 8px; | ||
   max-width: |    max-width: 600px; | ||
  width: auto; | |||
  height: auto; | |||
  display: flex; | |||
  flex-direction: column; | |||
  align-items: flex-start; | |||
} | } | ||
Line 12: | Line 17: | ||
   color: #005bbb; |    color: #005bbb; | ||
   font-size: 1.2em; |    font-size: 1.2em; | ||
  margin-top: 5px; | |||
  width: 100%; | |||
} | } | ||
Line 17: | Line 24: | ||
   font-style: italic; |    font-style: italic; | ||
   margin-left: 10px; |    margin-left: 10px; | ||
  padding-left: 5px; | |||
  word-wrap: break-word; | |||
  width: 100%; | |||
  white-space: normal; | |||
} | } |
Latest revision as of 03:37, 10 March 2025
.dialogue-box {
background-color: var(--background-color-base);
border: 2px solid #ddd;
padding: 10px;
margin: 10px 0;
border-radius: 8px;
max-width: 600px;
width: auto;
height: auto;
display: flex;
flex-direction: column;
align-items: flex-start;
}
.dialogue-character {
font-weight: bold;
color: #005bbb;
font-size: 1.2em;
margin-top: 5px;
width: 100%;
}
.dialogue-line {
font-style: italic;
margin-left: 10px;
padding-left: 5px;
word-wrap: break-word;
width: 100%;
white-space: normal;
}