-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
136 lines (120 loc) · 2.43 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
body {
font-family: 'Arial', sans-serif;
background-color: #f0f8ff;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
margin: 0;
}
.container, .extra-buttons-container {
text-align: center;
background-color: #fff;
padding: 20px;
border-radius: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 80%;
max-width: 600px;
margin-top: 20px;
}
h1 {
margin-bottom: 20px;
color: #444;
}
#emoji-display {
font-size: 80px;
margin: 20px 0;
}
.buttons button {
background-color: #007BFF;
border: none;
color: white;
padding: 10px 20px;
margin: 5px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
.buttons button:hover {
background-color: #0056b3;
}
.extra-buttons-container {
display: flex;
flex-direction: column;
align-items: center;
}
.tip-jar-btn,
.disclaimer-btn {
width: 100%;
padding: 10px 20px;
background-color: #007BFF;
color: white;
text-align: center;
border: none;
border-radius: 5px;
text-decoration: none;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
margin: 5px 0;
display: inline-block;
}
.tip-jar-btn:hover,
.disclaimer-btn:hover {
background-color: #0056b3;
}
.tip-jar-btn, .disclaimer-btn {
box-sizing: border-box;
}
.tip-jar-btn {
width: auto;
display: inline-block;
}
.disclaimer-btn {
width: auto;
display: inline-block;
}
.tip-jar-btn, .disclaimer-btn {
width: calc(100% - 40px); /* Ensure both buttons have the same width */
}
/* Modal styles */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}
.modal-content {
background-color: #fefefe;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
max-height: 70vh; /* Limit height to enable scrolling */
overflow-y: auto; /* Enable vertical scrolling */
}
.close,
.close-disclaimer {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus,
.close-disclaimer:hover,
.close-disclaimer:focus {
color: black;
text-decoration: none;
cursor: pointer;
}