Ei kuvausta
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.

cards.css 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .bg-color {
  2. background-color: #600a15;
  3. color: white;
  4. }
  5. .card {
  6. width:66mm;
  7. min-width:66mm;
  8. height:95mm;
  9. border: 2mm solid;
  10. border-radius: 4px;
  11. position: relative;
  12. display: flex;
  13. flex-direction: column;
  14. font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  15. font-size: 8pt;
  16. }
  17. .content-container {
  18. padding:2mm;
  19. padding-top:1mm;
  20. border-radius: 2mm;
  21. margin-top:0px;
  22. background-color: white;
  23. border-color: inherit;
  24. display: flex;
  25. flex-direction: column;
  26. flex: 1;
  27. }
  28. .card-back {
  29. background-color: white;
  30. border-radius: 4mm;
  31. border-color: inherit;
  32. margin: 2mm;
  33. flex: 1;
  34. display: flex;
  35. }
  36. .card-back-inner {
  37. margin: 2mm;
  38. border: 1mm solid;
  39. border-color: inherit;
  40. border-radius: 4mm;
  41. flex: 1;
  42. display: flex;
  43. flex-direction: row;
  44. flex-wrap: wrap;
  45. justify-content: center;
  46. align-items: center;
  47. }
  48. .back-icon {
  49. width: 30mm;
  50. height: 30mm;
  51. border: 4mm solid;
  52. border-color: inherit;
  53. border-radius: 4mm;
  54. background-repeat: no-repeat;
  55. background-size: contain;
  56. }
  57. .title-icon {
  58. width: 12mm;
  59. height: 12mm;
  60. background-repeat: no-repeat;
  61. background-size: contain;
  62. background-color: inherit;
  63. border-color: inherit;
  64. }
  65. .title-icon-container {
  66. position: absolute;
  67. right: -1mm;
  68. top: -1mm;
  69. border: 1mm solid;
  70. border-radius: 1mm;
  71. background-color: inherit;
  72. border-color: inherit;
  73. }
  74. .title {
  75. height: 28px;
  76. line-height: 23px;
  77. padding-left: 2mm;
  78. font-family: Lora, 'Calisto MT', 'Bookman Old Style', Bookman, 'Goudy Old Style', Garamond, 'Hoefler Text', 'Bitstream Charter', Georgia, serif;
  79. font-variant: small-caps;
  80. font-weight: bold;
  81. font-size: 13pt;
  82. background-color: inherit;
  83. color: white;
  84. }
  85. .subtitle {
  86. height: 18px;
  87. line-height: 18px;
  88. margin-bottom: 1mm;
  89. font-family: 'Noto Sans', 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif;
  90. font-size: 10pt;
  91. font-style: italic;
  92. }
  93. .property-line {
  94. text-indent: -1em;
  95. margin-left: 1em;
  96. }
  97. .property-name {
  98. display: inline;
  99. }
  100. .property-text {
  101. display: inline;
  102. }
  103. h3 {
  104. border-bottom: 1px solid;
  105. font-size: 10pt;
  106. font-variant: small-caps;
  107. font-weight: normal;
  108. letter-spacing: 1px;
  109. margin: 0;
  110. margin-bottom: 0.3em;
  111. border-color: inherit;
  112. }
  113. p {
  114. margin-top: 0.0em;
  115. margin-bottom: 0.5em;
  116. }
  117. .fill {flex:1;}
  118. .description-line {
  119. margin-bottom: 0.5em;
  120. }
  121. .description-name {
  122. display: inline;
  123. }
  124. .description-text {
  125. display: inline;
  126. }
  127. .ruler {
  128. width: 100%;
  129. height: 1.0mm;
  130. margin-top: 0.5em;
  131. margin-bottom: 0.2em;
  132. }