-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
55 lines (55 loc) · 1020 Bytes
/
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
* {
margin: 0;
padding: 0;
}
body{
background-color: #686DD4;
}
/* Main container */
.container{
width: 650px;
height: 350px;
margin: auto;
margin-top: 150px;
text-align: center;
background-color: #ffffff;
box-sizing: border-box;
border-radius: 11px;
cursor: pointer;
transition: transform ease 1s;
}
.container:hover {
transform: scale(1.03);
color: #40ff00;
text-shadow: 1px 1px #ff0000;
}
/* Joke heading */
h3{
padding-top: 40px;
color: #979797;
}
/* Actual joke */
.joke{
padding: 50px;
font-size: 27px;
font-family: Times, serif;
font-weight: 600;
word-break: break-all;
}
/* Joke button */
.btn{
width: 170PX;
height: 40PX;
font-size: 15px;
background-color: #A36AD9;
border-radius: 9px;
color: white;
cursor: pointer;
transition: transform ease 1s;
}
.btn:hover {
transform: scale(1.2);
color: rgb(255, 0, 0);
background-color: #00eeff;
text-shadow: 1px 1px #ff0000;
}