-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
88 lines (74 loc) · 1.9 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
html{
margin:0;
}
span{
display:block;
}
.canvas{
margin : 100px auto 100px;
width : 80% ;
text-align : center}
.btn{
height: 100px;
width:100px;
border: 2px solid black;
display: inline-block;
}
#green{
background-color: green;
}
#red{
background-color: red;
}
#blue{
background-color: blue;
}
#yellow{
background-color: yellow;
}
nav {
background-color: #333; /* Background color */
overflow: hidden; /* Ensure any overflowing content is hidden */
}
nav a {
float: left; /* Float the links to the left */
display: block; /* Make the links block-level elements */
color: white; /* Text color */
text-align: center; /* Center-align the text */
padding: 14px 20px; /* Add padding to the links */
text-decoration: none; /* Remove underline from links */
}
nav a:hover {
background-color: #ddd; /* Change background color on hover */
color: black; /* Change text color on hover */
}
nav .back {
float: right; /* Float the back button to the right */
padding: 14px 20px; /* Add padding to the back button */
background-color: #4CAF50; /* Background color */
color: white; /* Text color */
border: none; /* Remove border */
cursor: pointer; /* Add pointer cursor on hover */
}
nav .back:hover {
background-color: #45a049; /* Change background color on hover */
}
.canvas {
padding: 20px; /* Add padding to the canvas */
text-align: center; /* Center-align the content inside the canvas */
}
.canvas h1 {
color: #333; /* Text color */
}
.canvas .btn {
display: inline-block; /* Make the buttons inline */
width: 50px; /* Set width of the buttons */
height: 50px; /* Set height of the buttons */
margin: 10px; /* Add margin between the buttons */
border-radius: 50%; /* Make the buttons round */
cursor: pointer; /* Add pointer cursor on hover */
}
.canvas #change {
margin-top: 20px; /* Add margin to the bottom of the heading */
color: #555; /* Text color */
}