1
1

_say.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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. &.small {
  65. display: inline-block;
  66. padding-right: 1rem;
  67. margin: 0px;
  68. margin-right: 0.5rem;
  69. }
  70. }
  71. .combatChoicesContainer {
  72. display: flex;
  73. flex-direction: row;
  74. flex-wrap: wrap;
  75. justify-content: center;
  76. align-content: stretch;
  77. align-items: stretch;
  78. }
  79. .combatChoice {
  80. flex: 0 0 auto;
  81. align-self: auto;
  82. overflow: hidden;
  83. @extend .roundButton;
  84. padding: 0.6em;
  85. margin: 0.3em;
  86. }
  87. p.turnStart {
  88. display: flex;
  89. flex-basis: 100%;
  90. align-items: center;
  91. font-size: 0.8rem;
  92. font-weight: bold;
  93. line-height: 1em;
  94. &::before {
  95. margin-right: 10px;
  96. }
  97. &::after {
  98. margin-left: 10px;
  99. }
  100. &::before, &::after {
  101. content: "";
  102. flex-grow: 1;
  103. border-bottom: solid 1px rgba(180, 0, 0, 0.6);
  104. }
  105. }
  106. .horFlex {
  107. display: flex;
  108. flex-direction: row;
  109. flex-wrap: nowrap;
  110. justify-content: space-around;
  111. align-content: stretch;
  112. align-items: center;
  113. }
  114. .horFlexColumn {
  115. flex: 0 1 auto;
  116. width: 50%;
  117. align-self: auto;
  118. }
  119. b.action {
  120. color: $actionColor;
  121. &::before{
  122. content: " *";
  123. }
  124. &::after {
  125. content: "* ";
  126. }
  127. }