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