-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (112 loc) · 2.35 KB
/
style.css
File metadata and controls
127 lines (112 loc) · 2.35 KB
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
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'IRANSansXFaNum', sans-serif !important;
}
body {
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
animation: fadeIn 0.5s ease-in-out;
max-width: 400px;
width: 90%;
}
h1 {
color: #007bff;
text-align: center;
margin-bottom: 20px;
}
.buttons {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
button {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
flex: 1;
margin: 0 5px;
}
button:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
.output {
display: flex;
justify-content: space-between;
align-items: center;
}
input[type="text"] {
flex: 1;
padding: 10px;
border: 1px solid #007bff;
border-radius: 5px;
margin-right: 10px;
font-size: 1em;
color: #333;
}
#copyButton {
background-color: #1ba7b1;
}
#copyButton:hover {
background-color: #25cdd9;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 600px) {
button {
margin: 0;
}
input[type="text"] {
margin-right: 0;
margin-bottom: 10px;
}
.output {
flex-direction: column;
align-items: stretch;
}
} /* قوس بسته اضافه شده */
.notification {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #007bff;
color: #fff;
padding: 15px 25px;
border-radius: 5px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
opacity: 0;
transform: translateY(100%);
transition: opacity 0.5s ease, transform 0.5s ease;
z-index: 1000;
}
.notification.show {
opacity: 1;
transform: translateY(0);
}
.notification.hide {
opacity: 0;
transform: translateY(100%);
}