Spaces:
Sleeping
Sleeping
Commit ·
78eb62d
1
Parent(s): bfa4c79
style(game): conversation as a centered subtitle (mockup look)
Browse files- styles.css +26 -43
styles.css
CHANGED
|
@@ -1630,54 +1630,37 @@ footer { display: none !important; }
|
|
| 1630 |
/* bottom subtitle / dialogue panel */
|
| 1631 |
#game-dialogue {
|
| 1632 |
position: fixed;
|
| 1633 |
-
left:
|
| 1634 |
-
|
| 1635 |
-
|
|
|
|
|
|
|
| 1636 |
z-index: 9;
|
| 1637 |
-
|
| 1638 |
-
display: flex;
|
| 1639 |
-
flex-direction: column;
|
| 1640 |
-
align-items: center;
|
| 1641 |
-
gap: 6px;
|
| 1642 |
}
|
| 1643 |
|
| 1644 |
#game-dialogue .chatbot {
|
| 1645 |
-
width:
|
| 1646 |
-
height:
|
| 1647 |
-
|
| 1648 |
-
|
| 1649 |
-
border:
|
| 1650 |
-
|
| 1651 |
-
|
| 1652 |
-
|
| 1653 |
-
|
| 1654 |
-
-webkit-backdrop-filter: blur(3px);
|
| 1655 |
-
padding: 12px 16px !important;
|
| 1656 |
-
box-sizing: border-box !important;
|
| 1657 |
-
}
|
| 1658 |
-
|
| 1659 |
-
#game-dialogue .bot,
|
| 1660 |
-
#game-dialogue .bot .prose,
|
| 1661 |
-
#game-dialogue .bot .message,
|
| 1662 |
-
#game-dialogue .bot p {
|
| 1663 |
-
font-style: italic !important;
|
| 1664 |
-
font-size: 1.12rem !important;
|
| 1665 |
-
color: #d8d2e6 !important;
|
| 1666 |
-
text-shadow: 0 0 16px rgba(120,70,160,0.22);
|
| 1667 |
-
}
|
| 1668 |
-
|
| 1669 |
-
#game-dialogue .user,
|
| 1670 |
-
#game-dialogue .user .prose,
|
| 1671 |
-
#game-dialogue .user .message,
|
| 1672 |
-
#game-dialogue .user p {
|
| 1673 |
-
font-style: normal !important;
|
| 1674 |
-
font-size: 1.0rem !important;
|
| 1675 |
-
color: #e6e0f0 !important;
|
| 1676 |
-
}
|
| 1677 |
-
|
| 1678 |
-
#game-dialogue .user {
|
| 1679 |
-
background: rgba(18,14,28,0.72) !important;
|
| 1680 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1681 |
|
| 1682 |
#game-inputrow {
|
| 1683 |
display: flex;
|
|
|
|
| 1630 |
/* bottom subtitle / dialogue panel */
|
| 1631 |
#game-dialogue {
|
| 1632 |
position: fixed;
|
| 1633 |
+
left: 50%;
|
| 1634 |
+
transform: translateX(-50%);
|
| 1635 |
+
right: auto;
|
| 1636 |
+
bottom: 96px; /* just under the child's fog base; tune */
|
| 1637 |
+
width: min(900px, 82vw);
|
| 1638 |
z-index: 9;
|
| 1639 |
+
display: flex; flex-direction: column; align-items: center; gap: 8px;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1640 |
}
|
| 1641 |
|
| 1642 |
#game-dialogue .chatbot {
|
| 1643 |
+
width: 100% !important;
|
| 1644 |
+
max-height: 130px !important;
|
| 1645 |
+
background: transparent !important;
|
| 1646 |
+
border: none !important;
|
| 1647 |
+
border-image: none !important;
|
| 1648 |
+
box-shadow: none !important;
|
| 1649 |
+
backdrop-filter: none !important;
|
| 1650 |
+
padding: 0 !important;
|
| 1651 |
+
overflow-y: auto;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1652 |
}
|
| 1653 |
+
#game-dialogue .message-row,
|
| 1654 |
+
#game-dialogue .message,
|
| 1655 |
+
#game-dialogue .bubble { background: transparent !important; border: none !important;
|
| 1656 |
+
box-shadow: none !important; text-align: center !important; }
|
| 1657 |
+
#game-dialogue .bot, #game-dialogue .bot .prose, #game-dialogue .bot p {
|
| 1658 |
+
font-style: italic !important; font-size: 1.2rem !important; line-height: 1.6 !important;
|
| 1659 |
+
color: #ece6f4 !important; text-align: center !important;
|
| 1660 |
+
text-shadow: 0 2px 16px #000 !important; }
|
| 1661 |
+
#game-dialogue .user, #game-dialogue .user .prose, #game-dialogue .user p {
|
| 1662 |
+
font-style: normal !important; font-size: 1.0rem !important;
|
| 1663 |
+
color: #b9b2cc !important; text-align: center !important; background: transparent !important; }
|
| 1664 |
|
| 1665 |
#game-inputrow {
|
| 1666 |
display: flex;
|