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.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .menu_element {
  2. background-color: orangered;
  3. display: inline;
  4. font-size: 400%;
  5. margin: 0.8rem;
  6. text-decoration: none;
  7. }
  8. #menu {
  9. list-style-type: none;
  10. }
  11. .grid-wrapper {
  12. display: grid;
  13. padding: 0 2em 0 2em;
  14. grid-template-columns: 1fr;
  15. grid-template-rows: 80px 80px 80px;
  16. grid-gap: 10px;
  17. }
  18. .box {
  19. background-color: #C4C4C4;
  20. display: grid;
  21. grid-template-columns: repeat(12, 1fr);
  22. grid-template-areas: "dropdown entry entry entry entry entry entry entry entry entry amount amount";
  23. font-size: 2em;
  24. border-radius: 10px;
  25. }
  26. .entry {
  27. display: flex;
  28. vertical-align: center;
  29. align-items: center;
  30. padding: 5px;
  31. grid-area: entry;
  32. }
  33. .amount {
  34. display: flex;
  35. vertical-align: center;
  36. align-items: center;
  37. padding: 10px;
  38. text-align: right;
  39. grid-area: amount;
  40. }
  41. .balance-list {
  42. display: grid;
  43. grid-template-areas: ;
  44. }
  45. .overview {
  46. text-align: center;
  47. padding: 20px;
  48. }
  49. #title {
  50. font-size: 2em;
  51. }
  52. #total-amount {
  53. font-size: 3em;
  54. color: green;
  55. }
  56. .dropdown {
  57. grid-area: dropdown;
  58. background-image: url("./components/icons/caret-down-solid.svg");
  59. background-repeat: no-repeat;
  60. background-position: center;
  61. fill: #F3f3F3
  62. }