1
1

_say.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. p.contentOld {
  2. color: $oldFontColor;
  3. &:hover {
  4. color: $mainFontColor;
  5. }
  6. }
  7. p.contentOld , p.content {
  8. text-indent: 1rem;
  9. text-align: justify;
  10. padding: 0.5rem;
  11. padding-left: 1.6rem;
  12. padding-right: 1.6rem;
  13. &.centered {
  14. text-indent: 0px;
  15. text-align: center;
  16. }
  17. }
  18. .textIndenter{
  19. margin-right: 1rem;
  20. }
  21. div.choiceContainer {
  22. padding-bottom: 0.8rem;
  23. &:hover {
  24. background-color: rgba(10,10,80,.05);
  25. }
  26. }
  27. .roundButton {
  28. padding: 0.3rem;
  29. @extend .unselectable;
  30. margin: 0.8rem;
  31. margin-bottom: 0.3rem;
  32. margin-top: 0.3rem;
  33. border: solid 1px $linkColor;
  34. border-radius: 1rem;
  35. background-color: #fff;
  36. &[data-shortcut]:before {
  37. content: attr(data-shortcut) ") ";
  38. font-weight: bold;
  39. color: $linkColor;
  40. }
  41. &:hover {
  42. cursor: pointer;
  43. background-color: #eeeeff;
  44. border-color: $linkHoverColor;
  45. &[data-shortcut]:before {
  46. color: $linkHoverColor;
  47. }
  48. }
  49. &:active {
  50. background-color: #c8c8ff;
  51. border-color: $linkActiveColor;
  52. &[data-shortcut]:before {
  53. color: $linkActiveColor;
  54. }
  55. }
  56. }
  57. p.choice {
  58. text-indent: 0.5rem;
  59. text-align: justify;
  60. @extend .roundButton;
  61. &.picked {
  62. color: $oldFontColor;
  63. }
  64. }
  65. .combatChoicesContainer {
  66. display: flex;
  67. flex-direction: row;
  68. flex-wrap: wrap;
  69. justify-content: center;
  70. align-content: stretch;
  71. align-items: stretch;
  72. }
  73. .combatChoice {
  74. flex: 0 0 auto;
  75. align-self: auto;
  76. overflow: hidden;
  77. @extend .roundButton;
  78. padding: 0.6em;
  79. margin: 0.3em;
  80. }
  81. p.turnStart {
  82. display: flex;
  83. flex-basis: 100%;
  84. align-items: center;
  85. font-size: 0.8rem;
  86. font-weight: bold;
  87. line-height: 1em;
  88. &::before {
  89. margin-right: 10px;
  90. }
  91. &::after {
  92. margin-left: 10px;
  93. }
  94. &::before, &::after {
  95. content: "";
  96. flex-grow: 1;
  97. border-bottom: solid 1px rgba(180, 0, 0, 0.6);
  98. }
  99. }
  100. .horFlex {
  101. display: flex;
  102. flex-direction: row;
  103. flex-wrap: nowrap;
  104. justify-content: space-around;
  105. align-content: stretch;
  106. align-items: center;
  107. }
  108. .horFlexColumn {
  109. flex: 0 1 auto;
  110. width: 50%;
  111. align-self: auto;
  112. }