暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rpg-cards.css 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. * {
  2. box-sizing: border-box;
  3. }
  4. body {
  5. margin: 0;
  6. font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial;
  7. }
  8. /* ---------------------------------------------------------------------------*/
  9. /* Header */
  10. /* ---------------------------------------------------------------------------*/
  11. .navbar {
  12. display: flex;
  13. flex-direction: row;
  14. height: 3rem;
  15. background-color: #4CAF50;
  16. color: #FFF;
  17. font-size: 1.8rem;
  18. line-height: 3rem;
  19. }
  20. .navbar-item, .plain-navbar-item {
  21. padding: 0 .5rem;
  22. }
  23. .navbar-item:hover {
  24. cursor: pointer;
  25. background-color: #999;
  26. }
  27. .flex-navbar-item {
  28. flex: 1;
  29. }
  30. .navbar-item.account-id {
  31. display: flex;
  32. flex-direction: column;
  33. margin-right: 1rem;
  34. }
  35. .navbar-item.account-id .heading {
  36. font-size: 0.8rem;
  37. line-height: 0.9rem;
  38. color: rgb(217, 216, 219);
  39. text-align: center;
  40. text-transform: uppercase;
  41. margin-top: 0.4rem;
  42. }
  43. .navbar-item.account-id .value {
  44. font-size: 1.5rem;
  45. line-height: 1.5rem;
  46. }
  47. .navbar-item.account-id:hover {
  48. cursor: initial;
  49. background-color: inherit;
  50. }
  51. /* ---------------------------------------------------------------------------*/
  52. /* List of decks */
  53. /* ---------------------------------------------------------------------------*/
  54. .decks {
  55. margin-top: 1rem;
  56. display: flex;
  57. flex-direction: row;
  58. flex-wrap: wrap;
  59. }
  60. .deck-tile {
  61. margin: .5rem;
  62. width: 20rem;
  63. height: 12rem;
  64. border: 1px solid gray;
  65. display: flex;
  66. flex-direction: column;
  67. page-break-inside: avoid;
  68. }
  69. .deck-tile :hover {
  70. background-color: rgb(200, 200, 255);
  71. }
  72. .deck-tile-content {
  73. flex-grow: 1;
  74. display: flex;
  75. flex-direction: column;
  76. background-color: white;
  77. page-break-inside: avoid;
  78. }
  79. .deck-tile-header {
  80. font-weight: 700;
  81. padding: 1rem;
  82. font-size: 1.28571429em;
  83. line-height: 1.2857em;
  84. background-color: #3F51B5;
  85. color: white;
  86. }
  87. .deck-tile-meta {
  88. font-size: 1em;
  89. color: rgba(0,0,0,.4);
  90. }
  91. .deck-tile-body {
  92. flex: 1;
  93. padding: 1rem;
  94. display: flex;
  95. justify-content: center;
  96. flex-direction: column;
  97. align-items: center;
  98. }
  99. .deck-tile-body-item {
  100. /* Vertical centering */
  101. /*
  102. display: flex;
  103. flex-direction: column;
  104. justify-content: center;
  105. */
  106. width: 100%;
  107. padding: 0 1rem;
  108. flex: 1;
  109. }
  110. .deck-tile-footer {
  111. padding: 0.5rem;
  112. color: #a8a8a8;
  113. background: #eaeaea;
  114. }