-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
47 lines (43 loc) · 1.12 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
body {
background: #1e1e1e; /* Dark background */
color: #fff; /* White text */
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
font-family: "Arial", sans-serif;
}
h1 {
margin-top: 0;
font-family: "Roboto", sans-serif; /* Example: Changing to Roboto font */
}
button {
background-color: #4caf50; /* Green color */
color: #fff;
padding: 10px 20px;
border: none;
text-transform: uppercase;
cursor: pointer;
margin-bottom: 20px;
transition: background-color 0.3s ease; /* Smooth color transition */
border-radius: 5px; /* Rounded corners */
}
button:hover {
background-color: #007bff; /* Darker shade of blue */
}
#colorDiv {
height: 400px;
width: 500px;
border: 1px solid #4caf50; /* Green border */
margin: auto;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-size: 1.5em;
background: #333; /* Darker background */
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.6); /* Stronger box shadow */
border-radius: 8px; /* Rounded corners */
}