-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (102 loc) · 1.91 KB
/
style.css
File metadata and controls
119 lines (102 loc) · 1.91 KB
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
115
116
117
118
119
@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap');
body {
margin: 0;
padding: 0;
font-family: "Rubik Mono One", monospace;
background: url('Assets/charles-leclerc-6633966_1280.jpg') no-repeat center center fixed;
background-size: cover;
}
.page {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
background-color: rgba(74, 0, 0, 0.8);
padding: 20px;
}
h1, h3 {
text-align: center;
color: white;
margin: 10px 0;
}
h1 {
font-size: 2.5rem;
}
h3 {
font-size: 1.3rem;
font-weight: 25;
}
.background {
padding: 20px;
border-radius: 10px;
color: white;
width: 90%;
max-width: 800px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
}
.container {
background-color: rgba(48, 43, 43, 0.9);
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
display: grid;
grid-template-columns: 1fr 2fr;
gap: 15px;
align-items: center;
}
.container label {
grid-column: 1 / span 2;
text-align: center;
margin-bottom: 10px;
font-size: 1.2em;
}
.container input,
.container button {
grid-column: 1 / span 2;
padding: 5px;
margin: 10px 0;
font-size: 1em;
border: none;
border-radius: 5px;
}
.container input {
width: 100%;
background: rgba(255, 255, 255, 0.9);
color: #333;
}
.container button {
background: #ff1e00;
color: white;
cursor: pointer;
transition: background 0.3s;
}
.container button:hover {
background: #c70000;
}
.error {
grid-column: 1 / span 2;
color: #ff4040;
font-weight: bold;
text-align: center;
}
.results {
grid-column: 1 / span 2;
text-align: left;
padding: 15px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.8);
color: #333;
}
@media (max-width: 600px) {
.container {
grid-template-columns: 1fr;
}
.container input,
.container button {
grid-column: 1;
}
.background {
width: 100%;
padding: 15px;
}
}