[0c6b92a] | 1 |
|
---|
| 2 |
|
---|
[d565449] | 3 | .container {
|
---|
| 4 | max-width: 1200px;
|
---|
| 5 | margin: 0 auto;
|
---|
| 6 | padding: 20px;
|
---|
| 7 | text-align: center;
|
---|
| 8 | }
|
---|
| 9 |
|
---|
| 10 | h1 {
|
---|
[0c6b92a] | 11 | font-family: exo, sans-serif;
|
---|
[d565449] | 12 | font-size: 2.5rem;
|
---|
[0c6b92a] | 13 | color: #0f71da;
|
---|
[d565449] | 14 | margin-bottom: 20px;
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | /* Search Bar */
|
---|
| 18 | .searchBar {
|
---|
| 19 | margin-bottom: 30px;
|
---|
| 20 | text-align: center;
|
---|
[79a0317] | 21 | margin-top: 5em;
|
---|
[d565449] | 22 | }
|
---|
| 23 |
|
---|
| 24 | .searchBar input {
|
---|
[79a0317] | 25 | /*width: 300px;*/
|
---|
| 26 | width: 33vw;
|
---|
[d565449] | 27 | padding: 10px;
|
---|
| 28 | font-size: 16px;
|
---|
| 29 | border: 1px solid #ccc;
|
---|
| 30 | border-radius: 5px;
|
---|
| 31 | outline: none;
|
---|
| 32 | transition: all 0.3s ease;
|
---|
| 33 | }
|
---|
| 34 |
|
---|
| 35 | .searchBar input:focus {
|
---|
| 36 | border-color: #1e90ff;
|
---|
| 37 | box-shadow: 0 0 8px rgba(30, 144, 255, 0.5);
|
---|
| 38 | }
|
---|
| 39 |
|
---|
[79a0317] | 40 | .filterBar{
|
---|
| 41 | margin-left: 6vw;
|
---|
| 42 | }
|
---|
| 43 |
|
---|
[d565449] | 44 | /* Tile Styles */
|
---|
| 45 | .tile {
|
---|
| 46 | background: #fff;
|
---|
| 47 | width: 100%;
|
---|
| 48 | display: flex;
|
---|
| 49 | flex-direction: column;
|
---|
| 50 | align-items: center;
|
---|
| 51 | justify-content: center;
|
---|
| 52 | color: #2c3e50;
|
---|
| 53 | background-color: #f7f9fc;
|
---|
| 54 | box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 15px;
|
---|
| 55 | transition: all 300ms ease-in-out;
|
---|
| 56 | padding: 10px;
|
---|
| 57 | border: 1px solid #dcdcdc;
|
---|
| 58 | border-radius: 12px;
|
---|
| 59 | margin-bottom: 20px;
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | .tile:hover {
|
---|
| 63 | transform: scale(1.05);
|
---|
| 64 | box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 18px;
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | .imgStyle {
|
---|
| 68 | width: 80%;
|
---|
| 69 | margin-top: 10px;
|
---|
| 70 | margin-bottom: 5px;
|
---|
| 71 | }
|
---|
| 72 |
|
---|
[0c6b92a] | 73 | .favorite{
|
---|
| 74 | position: absolute;
|
---|
| 75 | top: 20px;
|
---|
| 76 | right: 20px;
|
---|
| 77 | cursor: pointer;
|
---|
| 78 | }
|
---|
| 79 |
|
---|
[d565449] | 80 | /* When dragging a tile */
|
---|
| 81 | .dragging {
|
---|
| 82 | background-color: #1e90ff;
|
---|
| 83 | transform: scale(1.06) rotate(3deg);
|
---|
| 84 | box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px,
|
---|
| 85 | rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
|
---|
| 86 | }
|
---|
| 87 |
|
---|
| 88 | /* Link Style */
|
---|
| 89 | .linkStyle {
|
---|
| 90 | text-decoration: none;
|
---|
| 91 | color: inherit;
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | /* Media Query for smaller screens */
|
---|
| 95 | @media (max-width: 768px) {
|
---|
| 96 | .searchBar input {
|
---|
| 97 | width: 100%;
|
---|
| 98 | }
|
---|
| 99 |
|
---|
| 100 | .tile {
|
---|
| 101 | width: 100%;
|
---|
| 102 | height: auto;
|
---|
| 103 | }
|
---|
| 104 | }
|
---|