Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

rpg-cards.css 2.7KB

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