Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

rpg-cards.css 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. display: flex;
  65. flex-direction: column;
  66. background-color: rgb(255, 255, 255);
  67. page-break-inside: avoid;
  68. border-radius: 4px;
  69. box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.37);
  70. }
  71. .deck-tile-header {
  72. background-color: #F44336;
  73. color: rgb(255, 255, 255);
  74. display: flex;
  75. flex-direction: row;
  76. padding: 0.5rem;
  77. border-radius: 4px 4px 0 0;
  78. font-size: 1.2rem;
  79. font-weight: 400;
  80. }
  81. .deck-tile-header:hover {
  82. background-color: rgb(96, 104, 126);
  83. cursor: pointer;
  84. }
  85. .deck-tile-header-name {
  86. flex: 1;
  87. }
  88. .deck-tile-header-id {
  89. }
  90. .deck-tile-body {
  91. flex: 1;
  92. display: flex;
  93. justify-content: center;
  94. flex-direction: column;
  95. align-items: center;
  96. }
  97. .deck-tile-body-item {
  98. /* Vertical centering */
  99. /*
  100. display: flex;
  101. flex-direction: column;
  102. justify-content: center;
  103. */
  104. width: 100%;
  105. padding: 0 1rem;
  106. flex: 1;
  107. }
  108. .deck-tile-footer {
  109. padding: 0.5rem;
  110. border-radius: 0 0 4px 4px;
  111. color: #a8a8a8;
  112. background: #eaeaea;
  113. }