-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
100 lines (86 loc) · 1.52 KB
/
styles.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
90
91
92
93
94
95
96
97
98
99
100
/* styles.css */
body {
font-family: 'Courier Prime', monospace;
margin: 0;
background-color: #1a1a1a;
color: #d6d6d6;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
padding: 20px;
}
.container {
text-align: center;
position: relative;
width: 100%;
max-width: 600px;
}
.header-image {
width: 100%;
max-width: 600px;
height: auto;
border-radius: 15px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
margin-bottom: 20px;
}
h1 {
font-size: 2em;
margin: 0.5em 0;
}
input {
padding: 10px;
border: none;
border-radius: 5px;
width: 90%;
max-width: 400px;
font-size: 1.2em;
margin-bottom: 10px;
}
button {
font-weight: 600;
padding: 10px 20px;
border: none;
border-radius: 5px;
background-color: #ff8310;
color: white;
font-size: 1.2em;
cursor: pointer;
transition: background-color 0.3s ease;
width: 100%;
max-width: 400px;
}
button:hover {
background-color: #ff5e00;
}
.result {
margin-top: 20px;
font-size: 1.5em;
height: 50px;
}
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
h1 {
font-size: 2em;
}
input,
button {
font-size: 1em;
}
.header-image {
max-width: 100%;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.5em;
}
input,
button {
padding: 8px;
}
.result {
font-size: 1.2em;
}
}