1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
|
#book { width: 100%; }
#book .page { overflow: hidden; border-radius: 3px; width: 100%; }
#book .content { display: flex; align-items: center; width: 100%; margin: 0; justify-content: space-between; flex-wrap: wrap; padding: 16px; text-align: justify; }
@media screen and (max-width: 877px) { #book .page .content { flex-direction: column; align-items: center; } }
#book .content li { width: 380px; list-style: none; margin-bottom: 16px; border-radius: 8px; transition: all .3s ease 0s, transform .6s cubic-bezier(.6, .2, .1, 1) 0s; }
#book .content li .info { border-radius: 8px; display: flex; justify-content: flex-start; padding: 16px 12px; line-height: 1.7; list-style: none; }
.book-container { display: flex; align-items: center; justify-content: center; perspective: 600px; }
.book { position: relative; width: 100px; height: 150px; transform-style: preserve-3d; transform: rotateY(-30deg); transition: 1s ease; list-style: none; }
.book:before { content: " "; position: absolute; left: 0; top: 2px; width: 23px; height: 146px; transform: translateX(84.5px) rotateY(90deg); background: linear-gradient(90deg, #fff, #f9f9f9 5%, #fff 10%, #f9f9f9 15%, #fff 20%, #f9f9f9 25%, #fff 30%, #f9f9f9 35%, #fff 40%, #f9f9f9 45%, #fff 50%, #f9f9f9 55%, #fff 60%, #f9f9f9 65%, #fff 70%, #f9f9f9 75%, #fff 80%, #f9f9f9 85%, #fff 90%, #f9f9f9 95%, #fff); }
.book > :first-child { position: absolute; top: 0; left: 0; width: 100px; height: 150px; transform: translateZ(12.5px); border-radius: 0 2px 2px 0; box-shadow: 5px 5px 20px #666; }
.book:after { content: " "; position: absolute; top: 0; left: 0; width: 100px; height: 150px; transform: translateZ(-12.5px); background-color: #555; border-radius: 0 2px 2px 0; }
#book .content li .info > div { margin-left: 26px; }
#book .content li .info h3 { font-size: 16px; position: unset; background: none; display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
#book .content li .info h3:before { display: none; }
#book .content li .info p { font-size: 14px; line-height: 1.7; }
#book .content li:hover .book { transform: rotateY(0deg); }
#book .info .info-card { position: relative; width: 250px; overflow: hidden; transition: .3s; }
#book .info .info-card .hidden-content { position: absolute; display: flex; justify-content: center; align-items: center; top: 50%; left: 50%; height: 0%; transform: translate(-50%, -50%); filter: blur(12px); opacity: 0; background: #fff; width: 100%; transition: .5s; }
#book .info .info-card .hidden-content .text { height: 80%; width: 80%; padding: 5px; overflow: hidden; text-overflow: ellipsis; font-size: 14px; color: #676767; float: left; clear: both; text-align: justify; }
#book .info .info-card .hidden-content .text::first-letter { font-size: 20px; float: left; margin: 0 .2em 0 0; }
#book .info a:hover + .info-card .hidden-content { opacity: 1; height: 100%; width: 100%; filter: unset; }
#book .content li .info a[target="_blank"]:hover { color: #0056b3; text-decoration: underline; }
#book .content li .info .pwd-text { font-size: 16px; color: #666; margin-top: 3px; }
|