-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
119 lines (111 loc) · 2.47 KB
/
style.css
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
:root{
--first-color:#ffffff;
--second-color:#b4b9c6;
--third-color:#7b899f;
--fortye-color:#3d658e;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
/* global rurls important */
body{
background: linear-gradient(var(--first-color), var(--second-color), var(--third-color));
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
body .container{
background: linear-gradient(var(--second-color), var(--third-color), var(--fortye-color));
text-align: center;
width: 25%;
height: 62%;
border-radius: 8px;
box-shadow: -10px -10px 10px rgba(255, 255, 255, 0.27),
10px 10px 10px rgba(0, 0, 0, 0.15);
}
/* here mediaQuyri for responsive web site */
@media (max-width: 990px) {
body .container{
width: 40%;
height: 60%;
}
}
@media (max-width: 770px) {
body .container{
width: 40%;
height: 63%;
}
}
@media (max-width:600px) {
body .container{
width: 50%;
height: 65%;
}
}
@media (max-width:450px) {
body .container{
width: 70%;
height: 62%;
}
}
.container img{
border: 5px solid var(--first-color);
border-radius: 50%;
}
h1 {
color: var(--second-color);
}
#title{
color: black;
margin: 15px 0;
}
#next {
background-color: var( --fortye-color);
width: 100px;
height: 40px;
color: var(--second-color);
margin: 50px;
font-size: 16px;
text-align: left;
font-weight: bold;
padding-left: 10px;
transition: 0.5s;
border-radius: 5PX;
clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
}
#next:hover{
color: var(--fortye-color);
background-color: var( --second-color);
}
#name ,#age ,#counter , #cell{
margin: 20px 0;
text-shadow: 10px 10px 10px rgba(0, 0, 0, 0.20);
color: var(--second-color);
}
#code{
background-color:var(--third-color);
box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.27);
}
#resulte{
margin-top: 30px ;
font-size: 30px;
background: linear-gradient(90deg, #121e2a , var(--third-color),#071b2f ,var( --fortye-color));
background-size: 200%;
font-weight: bold;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
animation: animate 10s linear infinite;
animation-direction: reverse;
}
@keyframes animate {
0%{
background-position: 0%;
}
100%{
background-position: 200%;
}
}