-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
89 lines (80 loc) · 1.82 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
/*Main title style*/
#title {
font-size: 24px;
font-weight: bold;
color: #00C853;
text-align: left;
margin: 20px 0;
display: inline-block;
}
.logo {
display: inline-block;
background-image: url('/logo.jpeg');
width: 60px;
height: 60px;
background-size: contain;
background-repeat: no-repeat;
float: right;
}
.logo:hover {
transform: rotate(360deg);
transition: all 0.5s ease;
}
/* Add a white background color and some padding to the pop up */
form {
background-color: white;
width: 300px;
padding: 20px;
display: flex;
flex-direction: column;
font-size: 16px;
margin: 0 auto;
align-items: center;
border-radius: 5px;
}
form label {
font-weight: bold;
font-size: 16px;
margin: auto;
}
form input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin: auto 0;
}
/* Add a green background color to the results container */
#results {
background-color: #4caf50;
}
/* Style the individual result elements */
#results div {
/* Add some padding to the elements */
padding: 10px;
/* Set the font color to white */
color: white;
/* Use the Arial font */
font-family: Arial;
/* Add a border to the bottom of the elements */
border-bottom: 1px solid white;
}
/* Style the submit button */
#submit-button {
/* Add a green background color */
background-color: #4caf50;
/* Set the font color to white */
color: white;
/* Add some padding */
padding: 10px 20px;
/* Add a border */
border: none;
border-radius: 5px;
/* Add some hover effect */
cursor: pointer;
}
/* Style the submit button when it's hovered over */
#submit-button:hover {
/* Add a darker green background color */
background-color: #3e8e41;
}