diff --git a/Web/翻页/css/main.css b/Web/翻页/css/main.css index 8784690..9394c97 100644 --- a/Web/翻页/css/main.css +++ b/Web/翻页/css/main.css @@ -92,4 +92,50 @@ body { margin-bottom: 30px; color: #333; font-size: 24px; +} + +#toggleNav { + position: fixed; + bottom: 30px; + right: 30px; + padding: 10px 20px; + border: none; + border-radius: 25px; + background-color: #2196F3; + color: white; + cursor: pointer; + transition: all 0.3s ease; + z-index: 1000; +} + +#toggleNav:hover { + background-color: #1976D2; + transform: translateY(-2px); +} + +.number-navigation { + position: fixed; + bottom: 30px; + left: 50%; + transform: translateX(-50%); + background-color: rgba(255, 255, 255, 0.9); + padding: 15px 25px; + border-radius: 50px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); +} + +.page-button { + padding: 8px 15px; + margin: 0 5px; + border: none; + border-radius: 25px; + background-color: #4CAF50; + color: white; + cursor: pointer; + transition: all 0.3s ease; +} + +.page-button.active { + background-color: #45a049; + transform: scale(1.1); } \ No newline at end of file diff --git a/Web/翻页/index.html b/Web/翻页/index.html index 3b777b5..2c02a61 100644 --- a/Web/翻页/index.html +++ b/Web/翻页/index.html @@ -16,6 +16,11 @@ - + +
+ +