12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- // HEADER
- .header {
- background-color: var(--header);
- height: 8rem;
- box-shadow: var(--shadow);
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- @media (height < 900px) {
- height: 6rem;
- }
- }
- ::ng-deep body {
- background-color: var(--background-color);
- }
- // CARDS
- .character-card-container {
- display: flex;
- flex-direction: row;
- justify-content: space-evenly;
- flex-wrap: wrap;
- padding-top: 2.5rem;
- row-gap: 2.5rem;
- overflow: auto;
- height: calc(100% - 8rem);
- @media (height < 900px) {
- height: calc(100% - 6rem);
- }
- background-color: var(--background-color);
- }
- character-card {
- cursor: pointer;
- max-height: 20rem;
- }
- .card-placeholder {
- height: 20rem;
- width: 35rem;
- background-color: lightgrey;
- border-radius: 10px;
- box-shadow: var(--shadow);
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 1.5rem;
- font-weight: 600;
- transition: all 0.2s ease-in-out;
- &:hover {
- background-color: rgb(191, 191, 191);
- }
- }
- @mixin button {
- color: black;
- border: none;
- border-radius: 10px;
- box-shadow: var(--shadow);
- height: 4rem;
- width: 10rem;
- font-size: 1.125rem;
- font-weight: 600;
- transition: all 0.2s ease-in-out;
- }
- .button-row {
- display: flex;
- justify-content: space-around;
- margin-top: 1rem;
- }
- .delete-button {
- background: var(--delete);
- @include button;
- &:hover {
- background: var(--delete-hover);
- scale: 1.03;
- }
- }
|