-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle3.css
114 lines (101 loc) · 1.99 KB
/
style3.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: url('planet-6977161.jpg') no-repeat center center fixed;
background-size: cover;
color: white;
text-align: center;
line-height: 1.6;
min-height: 100vh;
}
h1, h3 {
margin: 20px;
padding: 10px;
}
h1 {
font-size: 3em;
font-weight: bold;
text-transform: uppercase;
color: #ffcb00;
}
h3 {
font-size: 1.5em;
color: #ff5a00;
}
p {
font-size: 1.2em;
margin: 20px 0;
padding: 10px;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
input[type="text"] {
font-size: 1.2em;
padding: 15px;
width: 80%;
max-width: 500px;
margin: 10px auto;
border-radius: 8px;
border: 2px solid #ff5a00;
background-color: rgba(0, 0, 0, 0.6);
color: white;
text-align: center;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
input[type="button"] {
background-color: #ff5a00;
color: white;
border: none;
padding: 20px 40px;
font-size: 1.5em;
cursor: pointer;
border-radius: 8px;
margin-top: 20px;
transition: background-color 0.3s ease, transform 0.3s ease;
}
input[type="button"]:hover {
background-color: #ffcb00;
transform: scale(1.1);
}
#result {
margin-top: 40px;
padding: 20px;
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.7);
width: 80%;
margin-left: auto;
margin-right: auto;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
#future-result {
font-size: 1.5em;
color: #ffcb00;
font-weight: bold;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
h1 {
font-size: 2em;
}
h3 {
font-size: 1.2em;
}
input[type="button"] {
padding: 15px 30px;
font-size: 1.2em;
}
input[type="text"] {
padding: 12px;
font-size: 1em;
width: 90%;
}
p {
font-size: 1em;
}
#result {
width: 90%;
}
}