-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
106 lines (93 loc) · 1.67 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
html {
margin: 0;
background: rgb(49, 67, 230);
background: linear-gradient(180deg, rgba(49, 67, 230, 1) 0%, rgba(0, 212, 255, 1) 100%);
height: 100%;
}
.figures{
width: 100;
display: flex;
justify-content: space-evenly;
}
.canvas-main {
margin: 1rem auto;
display: flex;
background: url('./plane.png');
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
header {
display: flex;
justify-content: space-evenly;
align-items: center;
margin-bottom: -2rem;
margin-top: -2rem;
}
header h1 {
color: white;
text-align: center;
font-family: sans-serif;
font-size: 3rem;
letter-spacing: 0.15rem;
text-transform: uppercase;
text-shadow: -3px 3px #4CAF50;
}
.clear{
background-color: red;
}
.result,
#result {
color: white;
}
#coordinates {
position: absolute;
top: 0;
left: 0;
width: 8rem;
height: 1.5rem;
background-color: #ccc;
border: 1px solid #000;
border-radius: 3px;
text-align: center;
font-size: 1rem;
}
button {
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
text-decoration: none;
background-color: #4CAF50;
color: white;
border-radius: 3px;
box-shadow: 0 5px #245a25;
transition: all 0.3s ease;
}
button:hover {
box-shadow: 0 3px #666;
transform: translateY(-2px);
}
button:active {
box-shadow: 0 1px #666;
transform: translateY(1px);
}
.no-script {
margin: 20px 0;
}
.no-script p {
width: 300px;
margin: 0 auto;
padding: 10px;
text-align: center;
border: 2px solid #B58F14;
font-weight: bold;
background-color: #F5BC02;
}
a,
a:visited {
text-decoration: none;
color: white;
outline: none;
}