mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 14:30:31 +02:00
update global css, add countdown and timer
This commit is contained in:
parent
c52aa334ca
commit
10022e6d93
8 changed files with 339 additions and 0 deletions
76
countdown/style.css
Normal file
76
countdown/style.css
Normal file
|
@ -0,0 +1,76 @@
|
|||
@import url(/global.css);
|
||||
|
||||
input {
|
||||
width: 70px;
|
||||
padding: 12px;
|
||||
margin: 10px 5px;
|
||||
border: 2px solid #5a5a5a;
|
||||
border-radius: 6px;
|
||||
background-color: #2a2a2a;
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
border-color: #4caf50;
|
||||
box-shadow: 0 0 5px #4caf50;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 12px 20px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
background-color: #4caf50;
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
margin: 10px 5px;
|
||||
font-weight: bold;
|
||||
transition: background-color 0.3s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #45a049;
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: #3e8e41;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
div.main {
|
||||
padding: 50px;
|
||||
background-color: #3a3a3a;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
|
||||
text-align: center;
|
||||
max-width: 600px;
|
||||
margin: 50px auto;
|
||||
}
|
||||
|
||||
span#time {
|
||||
font-size: 36px;
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin: 25px 0;
|
||||
color: #f5f5f5;
|
||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
a {
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
position: absolute;
|
||||
color: #b3b3b3;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #ffffff;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue