-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
83 lines (72 loc) · 1.38 KB
/
index.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
body {
padding: 0;
margin: 0;
text-align: center;
height: 100%;
background-image: url(./bg_image.jpg);
background-repeat: no-repeat;
background-size: cover; /* Ensure the background image covers the entire background */
position: relative;
}
#a {
font-size: larger;
font-family: 'Times New Roman';
}
#input {
opacity: 0.8;
height: 50px;
font-size: larger;
width: 80%;
margin: 10px auto;
}
#convert {
height: 50px;
width: 100px;
font-size: large;
margin: 10px auto;
}
#result {
opacity: 0.8;
width: auto;
height: 50px;
font-size: larger;
margin: 10px auto;
}
footer {
margin-top: 20px;
color: black;
text-align: center;
font-size: larger;
font-family: 'Times New Roman';
font-weight: bold;
width: 100%;
}
a {
color: red;
border: 1px solid yellow;
background-color: yellowgreen;
display: block;
margin: 10px auto;
width: 150px;
padding: 10px;
text-decoration: none;
}
a:hover {
font-style: italic;
}
/* Media queries for responsiveness */
@media only screen and (max-width: 767px) {
#input, #result, #convert {
width: 80%;
}
input[type="radio"] {
margin: 5px;
}
footer {
margin-top: 50px;
}
/* Adjust background image for smaller screens */
body {
background-size: contain;
}
}