-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
77 lines (67 loc) · 1.3 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
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
background-color: rgb(53, 53, 53);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
transition: background-image 0.5s ease-in-out;
}
.main-title {
font-size: 5rem;
color: #0949fa;
margin-bottom: 0.5rem;
text-align: center;
}
.container {
text-align: center;
background-color: rgba(247, 240, 217, 0.678);
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
margin: 1rem;
max-width: 600px;
}
.question {
font-size: 2rem;
margin-bottom: 1.5rem;
}
.buttons {
display: flex;
justify-content: center;
gap: 1rem;
}
button {
padding: 0.8rem 2rem;
font-size: 1rem;
cursor: pointer;
border: none;
border-radius: 5px;
transition: transform 0.2s;
}
button:hover {
transform: scale(1.25);
}
.yes {
background-color: #4CAF50;
color: white;
}
.no {
background-color: #f44336;
color: white;
}
#facts-container {
margin-top: 1.5rem;
}
.fact {
margin: 1rem 0;
padding: 1rem;
background-color: #e8f5e9;
border-radius: 5px;
}