File size: 2,759 Bytes
2cc0bc0 |
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 |
body {
font-family: Arial, sans-serif;
background-image: url('https://bing.shangzhenyang.com/api/1080p');
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
background-position-x: center;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
.container {
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
-moz-backdrop-filter: blur(10px);
-o-backdrop-filter: blur(10px);
transition: transform 0.3s ease;
background-color: rgba(255, 255, 255, 0.5);
max-width: 600px;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.container:hover {
transform: scale(1.05);
}
h2 {
font-size: 18px;
margin-bottom: 20px;
color: #333;
}
p {
font-size: 18px;
margin-bottom: 30px;
color: #777;
}
a {
color: #007bff;
text-decoration: none;
font-weight: bold;
}
a:hover {
text-decoration: underline;
}
h1 {
font-size: 24px;
}
form {
margin-top: 20px;
}
input[type=text] {
border: none;
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
-moz-backdrop-filter: blur(10px);
-o-backdrop-filter: blur(10px);
width: 100%;
background-color: rgba(255, 255, 255, 0.5);
padding: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
margin-bottom: 10px;
border-radius: 100px;
box-sizing: border-box;
}
button {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
padding: 10px 20px;
background-color: #3399ff;
color: #fff;
border: none;
cursor: pointer;
}
.result, .error {
margin-top: 20px;
text-align: left;
}
.result-container, .error-container {
text-align: center;
}
.error-container {
color: red;
}
@media screen and (min-width: 768px) {
form {
display: flex;
justify-content: center;
}
input[type=text] {
width: 300px;
margin-right: 10px;
margin-bottom: 0;
}
}
#overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0);
z-index: 99;
}
.modal {
z-index: 999;
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
padding: 20px;
box-sizing: border-box;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
background-color: rgba(255, 255, 255, 0.4);
backdrop-filter: blur(30px);
-webkit-backdrop-filter: blur(30px);
-moz-backdrop-filter: blur(30px);
-o-backdrop-filter: blur(30px);
border-radius: 20px;
}
#close {
position: absolute;
top: 10px;
right: 10px;
cursor: pointer;
}
.button-container {
display: flex;
justify-content: space-between;
}
.button-container button {
margin-right: 10px;
}
|