-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (130 loc) · 2.69 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
120
121
122
123
124
125
126
127
128
129
130
body {
height: 900px;
background-color: white;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
h1 {
font-size: 50px;
text-align: center;
color: aqua;
text-shadow: 2px 2px 2px black;
}
#hanoi {
width: 100%;
height: 400px;
margin-top: 100px;
display: flex;
justify-content: space-around;
background-color: aqua;
}
#stopDisk {
display: flex;
width: 310px;
height: 40px;
border: 2px solid black;
border-radius: 5px;
background: aqua;
margin-top: 80px;
margin-left: auto;
margin-right: auto;
align-items: center;
justify-content: center;
}
.tower {
display: flex;
flex-direction: column-reverse;
align-items: center;
width: 25px;
height: 400px;
background: linear-gradient(0deg, black, rgb(145, 135, 135));
border-radius: 10px 10px 0 0;
cursor: pointer;
}
.tower:hover {
background: #99F;
}
.disk1 {
height: 30px;
border-radius: 30px;
width: 300px;
background: linear-gradient(0deg, purple, rgb(235, 29, 235))
}
.disk2 {
height: 30px;
border-radius: 30px;
width: 240px;
background: linear-gradient(0deg, green, rgb(74, 221, 74))
}
.disk3 {
height: 30px;
border-radius: 30px;
width: 180px;
background: linear-gradient(0deg, red, rgb(139, 34, 34))
}
.disk4 {
height: 30px;
border-radius: 30px;
width: 120px;
background: linear-gradient(0deg, blue, rgb(14, 14, 65))
}
#reset {
display: flex;
align-items: center;
justify-content: center;
margin-top: 30px;
margin-left: auto;
margin-right: auto;
padding: 10px 15px;
font-size: 25px;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
color: white;
text-shadow: 1px 1px 2px black;
background: aqua;
border: 2px solid black;
border-radius: 5px;
}
#victory {
display: flex;
align-items: center;
justify-content: center;
margin-top: 50px;
margin-left: auto;
margin-right: auto;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
text-align: center;
font-size: 50px;
width: 400px;
height: 50px;
background: white;
color: aqua;
text-shadow: 2px 2px 2px black;
}
@media screen and (max-width: 910px){
.disk1 {
width: 120px;
}
}
@media screen and (max-width: 736px){
.disk2 {
width: 100px;
}
}
@media screen and (max-width: 553px){
.disk3 {
width: 80px;
}
}
@media screen and (max-width: 397px){
.disk4 {
width: 60px;
}
}
@media script and (min-width: 400px){
#hanoi {
height: 200px;
}
h1 {
font-size: 30px;
margin-bottom: 0px;
}
}