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