-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
53 lines (48 loc) · 1.33 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
/* General Body Style */
body {
font-family: 'Major Mono Display', monospace;
color: #FFFFFF;
background-color: #000000; /* Space black */
background-image: url('background.jpg');
background-size: cover;
background-position: center;
padding: 20px;
text-align: center; /* Center aligns all text */
}
h1 {
color: #DDDDDD; /* Light gray for heading */
margin-bottom: 50px;
font-family: 'Orbitron', sans-serif;
}
/* Styling for Dropdowns and Button */
select, button {
display: block;
width: 200px;
margin: 10px auto;
padding: 10px;
border: none;
border-radius: 5px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
background-color: #333333; /* Dark gray */
color: #FFFFFF; /* White text */
font-size: 16px;
cursor: pointer;
}
button:hover {
background-color: #555555; /* Slightly lighter gray for hover effect */
}
/* Result Display with Border */
#result {
border: 2px solid #DDDDDD; /* Light gray border */
padding: 10px;
margin-top: 20px;
font-size: 18px;
display: inline-block; /* Adjusts the border to wrap the text */
border-radius: 5px; /* Optional: rounded corners for the border */
}
/* Responsive Layout */
@media (max-width: 600px) {
select, button {
width: 80%;
}
}