-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
113 lines (97 loc) · 2.47 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
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
/* Importing Google Font 'Roboto' */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/* Importing Google Font 'Poppins' for a modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
body {
width: 398px;
height: 300px;
background-color: #121212;
/* Dark background */
color: #ffffff;
/* Light text color */
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: 'Poppins', sans-serif;
/* Modern font */
margin: 0;
}
p {
display: flex;
margin: auto 10px;
font-size: 22px;
color: #ffffff;
/* Light text color */
border-radius: 6px;
border: 1px solid #1e88e5;
/* Light blue border */
padding: 10px;
background-color: #1e1e1e;
/* Slightly lighter dark background for contrast */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
/* Adding some shadow for a modern look */
text-align: center;
/* Centering text */
transition: background-color 0.3s ease, box-shadow 0.3s ease;
/* Adding some transition effects for smoothness */
}
/* Adding some hover effects for interactivity */
p:hover {
background-color: #333333;
/* Darker background on hover */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
/* Deeper shadow on hover */
}
button {
margin: 10px;
padding: 10px;
border: none;
border-radius: 6px;
background-color: #1e88e5;
color: #ffffff;
font-size: 16px;
cursor: pointer;
}
button:hover {
background-color: #1565c0;
}
body.light-mode {
background-color: #ffffff;
color: #000000;
}
body.light-mode p {
background-color: #f0f0f0;
color: #000000;
border: 1px solid #1e88e5;
}
body.light-mode button {
background-color: #1e88e5;
color: #ffffff;
}
/* Container for the buttons */
.button-container {
display: flex;
gap: 10px;
margin-top: 20px;
}
/* Additional styling for specific buttons if needed */
button.toggle-dark-mode {
background-color: #1e88e5;
}
button.toggle-dark-mode:hover {
background-color: #1565c0;
}
button.copy-joke {
background-color: #1e88e5;
}
button.copy-joke:hover {
background-color: #1565c0;
}
button.share-twitter {
background-color: #1e88e5;
color: #ffffff;
}
button.share-twitter:hover {
background-color: #1565c0;
}