| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- *{margin:0;padding:0;}
- body{
- height: 100vh;
- width: 100vw;
- display: flex;
- }
- .cardContainer{
- display: flex;
- justify-content: space-around;
- flex-wrap: wrap;
- height: 100%;
- width: 100%;
- box-sizing: border-box;
- padding: 25px;
- overflow-y: auto;
- }
- .card{
- position: relative;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- background: white;
- width: 300px;
- height: 300px;
- cursor: pointer;
- margin: 10px;
- padding: 25px;
- text-decoration: none;
- color: black;
- }
- .card:hover{
- box-shadow: 0 0 3px black;
- }
- .card h2{
- text-align: center;
- }
- .card img{
- margin-top: 10px;
- width: 90%;
- max-height: 150px;
- max-width: 150px;
- }
- .card p{
- text-align: justify;
- }
- .card > *{
- margin: 10px 0;
- }
- .card.backCard{
- justify-content: center;
- }
- #menu{
- display: flex;
- flex-direction: column;
- align-items: center;
- background: #152730;
- width: 100px;
- height: 100vh;
- }
- #menu > button{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- height: 100px;
- width: 100px;
- color: #5FECE0;
- cursor: pointer;
- background: none;
- border: none;
- }
- #menu .active{
- background: rgb(196, 198, 192);
- cursor: default;
- color: #152730;
- }
- #main{
- flex-direction: column;
- align-items: center;
- justify-content: space-around;
- background: rgb(196, 198, 192);
- height: 100vh;
- width: 100%;
- }
|