Eine kleine super Übung zum Kennenlernen.
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.

index_styles.css 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. * {
  2. padding: 0;
  3. margin: 0;
  4. font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  5. }
  6. .menu_left_element {
  7. width: 90px;
  8. height: 45px;
  9. display: inline-block;
  10. margin-left: 15px
  11. }
  12. .menu_right_element {
  13. display: inline-block;
  14. width: 50px;
  15. height: 45px;
  16. margin-right: 25px;
  17. }
  18. img {
  19. display: block;
  20. height: 100%;
  21. width: 100%;
  22. }
  23. .menu_element_text {
  24. border-radius: 10px;
  25. /*background-color: #8583FF;*/
  26. display: block;
  27. width: 100%;
  28. height: 100%;
  29. text-decoration: none;
  30. padding: 0.4rem;
  31. font-size: 2.6rem;
  32. text-decoration-color: black;
  33. }
  34. #menu_left {
  35. position: absolute;
  36. left: 0;
  37. list-style-type: none;
  38. }
  39. #menu_right {
  40. position: absolute;
  41. right: 0;
  42. list-style-type: none;
  43. }
  44. #nav {
  45. background-color: #C4C4C4;
  46. height: 1.6cm;
  47. padding: 0.8rem;
  48. /* padding: 0.6rem; */
  49. }
  50. .grid-wrapper {
  51. display: grid;
  52. grid-template-columns: 1fr;
  53. grid-template-rows: 80px 80px 80px;
  54. grid-gap: 10px;
  55. }
  56. .box {
  57. background-color: #C4C4C4;
  58. display: grid;
  59. grid-template-columns: 20px 50% auto;
  60. grid-gap: 5px;
  61. font-size: 1.4em;
  62. border-radius: 10px;
  63. }
  64. .entry {
  65. display: flex;
  66. vertical-align: center;
  67. align-items: center;
  68. padding: 5px;
  69. }
  70. .amount {
  71. display: flex;
  72. justify-content: flex-end;
  73. align-items: center;
  74. padding: 10px;
  75. }
  76. .balance-list-wrapper {
  77. display: flex;
  78. justify-content: center;
  79. }
  80. .balance-list {
  81. display: grid;
  82. width: 700px;
  83. margin: 20px;
  84. }
  85. .overview {
  86. text-align: center;
  87. padding: 20px;
  88. }
  89. #title {
  90. font-size: 2em;
  91. }
  92. #total-amount {
  93. font-size: 3em;
  94. color: green;
  95. }
  96. .dropdown {
  97. background-image: url("./components/icons/caret-down-solid.svg");
  98. background-repeat: no-repeat;
  99. background-size: 15px;
  100. background-position: right;
  101. color: #f3f3f3;
  102. }