[75f74d9] | 1 | body {
|
---|
| 2 | background-color: rgb(198, 220, 241)
|
---|
| 3 | }
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | .main-content {
|
---|
| 7 | padding: 2rem;
|
---|
| 8 | max-width: 1400px;
|
---|
| 9 | margin: 0 auto;
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | /* Book slider section styles */
|
---|
| 13 | .book-slider-section {
|
---|
| 14 | margin-bottom: 3rem;
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | .book-slider-section h2 {
|
---|
| 18 | font-size: 1.5rem;
|
---|
| 19 | margin-bottom: 1rem;
|
---|
| 20 | color: #333;
|
---|
| 21 | font-family: cursive;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | /* Slider container */
|
---|
| 25 | .slider-container {
|
---|
| 26 | position: relative;
|
---|
| 27 | display: flex;
|
---|
| 28 | align-items: center;
|
---|
| 29 | gap: 1rem;
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | /* Slider button styles */
|
---|
| 33 | .slider-button {
|
---|
| 34 | background: white;
|
---|
| 35 | border: 1px solid #e0e0e0;
|
---|
| 36 | border-radius: 50%;
|
---|
| 37 | width: 40px;
|
---|
| 38 | height: 40px;
|
---|
| 39 | display: flex;
|
---|
| 40 | align-items: center;
|
---|
| 41 | justify-content: center;
|
---|
| 42 | cursor: pointer;
|
---|
| 43 | transition: all 0.3s ease;
|
---|
| 44 | z-index: 2;
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | .slider-button:hover {
|
---|
| 48 | background: #f5f5f5;
|
---|
| 49 | border-color: #ccc;
|
---|
| 50 | }
|
---|
| 51 |
|
---|
| 52 | .slider-button svg {
|
---|
| 53 | width: 24px;
|
---|
| 54 | height: 24px;
|
---|
| 55 | }
|
---|
| 56 |
|
---|
| 57 | /* Book slider styles */
|
---|
| 58 | .book-slider {
|
---|
| 59 | overflow: hidden;
|
---|
| 60 | position: relative;
|
---|
| 61 | width: 100%;
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | .book-track {
|
---|
| 65 | display: flex;
|
---|
| 66 | gap: 1.5rem;
|
---|
| 67 | transition: transform 0.5s ease;
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | /* Book card styles */
|
---|
| 71 | .book-card {
|
---|
| 72 | flex: 0 0 180px;
|
---|
| 73 | display: flex;
|
---|
| 74 | flex-direction: column;
|
---|
| 75 | gap: 0.5rem;
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | .book-cover {
|
---|
| 79 | width: 100%;
|
---|
| 80 | height: 270px;
|
---|
| 81 | object-fit: cover;
|
---|
| 82 | border-radius: 4px;
|
---|
| 83 | box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
---|
| 84 | transition: transform 0.3s ease;
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | .book-card:hover .book-cover {
|
---|
| 88 | transform: scale(1.03);
|
---|
| 89 | }
|
---|
| 90 |
|
---|
| 91 | .book-info {
|
---|
| 92 | padding: 0.5rem;
|
---|
| 93 | }
|
---|
| 94 |
|
---|
| 95 | .book-title {
|
---|
| 96 | font-weight: 600;
|
---|
| 97 | font-size: 0.9rem;
|
---|
| 98 | margin: 0;
|
---|
| 99 | color: #333;
|
---|
| 100 | }
|
---|
| 101 |
|
---|
| 102 | .book-author {
|
---|
| 103 | font-size: 0.8rem;
|
---|
| 104 | color: #666;
|
---|
| 105 | margin: 0.2rem 0;
|
---|
| 106 | }
|
---|
| 107 |
|
---|
| 108 | .book-price {
|
---|
| 109 | font-weight: 600;
|
---|
| 110 | color: #2b2b2b;
|
---|
| 111 | font-size: 0.9rem;
|
---|
| 112 | }
|
---|
| 113 |
|
---|
| 114 |
|
---|
| 115 | .section-divider {
|
---|
| 116 | position: relative;
|
---|
| 117 | height: 200px;
|
---|
| 118 | width: 100%;
|
---|
| 119 | margin: 2rem 0;
|
---|
| 120 | pointer-events: none;
|
---|
| 121 | }
|
---|
| 122 |
|
---|
| 123 | .divider-image {
|
---|
| 124 | position: absolute;
|
---|
| 125 | bottom: 0;
|
---|
| 126 | left: 0;
|
---|
| 127 | width: 100%;
|
---|
| 128 | height: 100%;
|
---|
| 129 | object-fit: cover;
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | /* Adjust spacing for sections */
|
---|
| 133 | .book-slider-section {
|
---|
| 134 | margin-bottom: 1rem;
|
---|
| 135 | padding: 2rem 0;
|
---|
| 136 | /* background-color: white;*/
|
---|
| 137 | background-color: transparent;
|
---|
| 138 | position: relative;
|
---|
| 139 | z-index: 1;
|
---|
| 140 | }
|
---|
| 141 |
|
---|
| 142 | .divider-image {
|
---|
| 143 | animation: fadeIn 1s ease-out;
|
---|
| 144 | }
|
---|
| 145 |
|
---|
| 146 | @keyframes fadeIn {
|
---|
| 147 | from {
|
---|
| 148 | opacity: 0;
|
---|
| 149 | transform: rotate(180deg) translateY(20px);
|
---|
| 150 | }
|
---|
| 151 | to {
|
---|
| 152 | opacity: 1;
|
---|
| 153 | transform: rotate(180deg) translateY(0);
|
---|
| 154 | }
|
---|
| 155 | }
|
---|
| 156 |
|
---|
| 157 | .logo {
|
---|
| 158 | cursor: pointer;
|
---|
| 159 | }
|
---|
| 160 |
|
---|
| 161 | .btn {
|
---|
| 162 | padding: 10px 20px;
|
---|
| 163 | border: none;
|
---|
| 164 | border-radius: 4px;
|
---|
| 165 | cursor: pointer;
|
---|
| 166 | font-weight: bold;
|
---|
| 167 | transition: background-color 0.3s;
|
---|
| 168 | }
|
---|
| 169 |
|
---|
| 170 | .btn-primary {
|
---|
| 171 | background-color: #1976d2;
|
---|
| 172 | color: white;
|
---|
| 173 | }
|
---|
| 174 |
|
---|
| 175 | .btn-primary:hover {
|
---|
| 176 | background-color: #1565c0;
|
---|
| 177 | }
|
---|
| 178 |
|
---|
| 179 | /* SNOW */
|
---|
| 180 |
|
---|
| 181 | .snowflake {
|
---|
| 182 | color: #ffffff;
|
---|
| 183 | font-size: 1.1em;
|
---|
| 184 | font-family: Arial, sans-serif;
|
---|
| 185 | text-shadow: 5px 0px 5px #a1e4e0e1;
|
---|
| 186 | }
|
---|
| 187 |
|
---|
| 188 | .snowflake,.snowflake .inner{animation-iteration-count:infinite;animation-play-state:running}@keyframes snowflakes-fall{0%{transform:translateY(0)}100%{transform:translateY(110vh)}}@keyframes snowflakes-shake{0%,100%{transform:translateX(0)}50%{transform:translateX(80px)}}.snowflake{position:fixed;top:-10%;z-index:9999;-webkit-user-select:none;user-select:none;cursor:default;animation-name:snowflakes-shake;animation-duration:3s;animation-timing-function:ease-in-out}.snowflake .inner{animation-duration:10s;animation-name:snowflakes-fall;animation-timing-function:linear}.snowflake:nth-of-type(0){left:1%;animation-delay:0s}.snowflake:nth-of-type(0) .inner{animation-delay:0s}.snowflake:first-of-type{left:10%;animation-delay:1s}.snowflake:first-of-type .inner,.snowflake:nth-of-type(8) .inner{animation-delay:1s}.snowflake:nth-of-type(2){left:20%;animation-delay:.5s}.snowflake:nth-of-type(2) .inner,.snowflake:nth-of-type(6) .inner{animation-delay:6s}.snowflake:nth-of-type(3){left:30%;animation-delay:2s}.snowflake:nth-of-type(11) .inner,.snowflake:nth-of-type(3) .inner{animation-delay:4s}.snowflake:nth-of-type(4){left:40%;animation-delay:2s}.snowflake:nth-of-type(10) .inner,.snowflake:nth-of-type(4) .inner{animation-delay:2s}.snowflake:nth-of-type(5){left:50%;animation-delay:3s}.snowflake:nth-of-type(5) .inner{animation-delay:8s}.snowflake:nth-of-type(6){left:60%;animation-delay:2s}.snowflake:nth-of-type(7){left:70%;animation-delay:1s}.snowflake:nth-of-type(7) .inner{animation-delay:2.5s}.snowflake:nth-of-type(8){left:80%;animation-delay:0s}.snowflake:nth-of-type(9){left:90%;animation-delay:1.5s}.snowflake:nth-of-type(9) .inner{animation-delay:3s}.snowflake:nth-of-type(10){left:25%;animation-delay:0s}.snowflake:nth-of-type(11){left:65%;animation-delay:2.5s}
|
---|