-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (72 loc) · 1.46 KB
/
style.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
body {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #f5f5f5;
position: relative;
}
.card {
width: 300px;
height: auto;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
font-family: 'Arial', sans-serif;
background-color: #ffffff;
overflow: hidden;
position: relative;
margin-right: 15px;
padding-bottom: 60px;
}
.title-bar {
background-color: #9c27b0;
padding: 10px;
color: #ffffff;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
text-align: center;
height: 45px;
display: flex;
align-items: center;
justify-content: center;
}
.title-text {
font-weight: bold;
font-size: 18px;
}
.joke-text {
text-align: center;
margin-top: 30px;
margin-bottom: 40px;
padding: 0 20px;
color: #333333;
height: auto;
overflow-wrap: break-word;
font-size: 18px;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.2);
border-radius: 4px;
}
::-webkit-scrollbar-track {
background-color: #f5f5f5;
}
#changeJokeButton {
position: absolute;
bottom: 10px;
left: 10px;
background-color: #4caf50;
color: #ffffff;
padding: 10px 20px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
}
#changeJokeButton:hover {
background-color: #45a049;
}