-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (55 loc) · 1.08 KB
/
style.css
File metadata and controls
56 lines (55 loc) · 1.08 KB
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
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
box-sizing: border-box;
}
body {
font-family: "Roboto" sans-serif;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
width: 100vw;
overflow: hidden;
background-color: steelblue;
margin-left: 0px;
}
.joke {
min-width: 40%;
width: 500px;
height: 50%;
background-color: rgba(12, 20, 155);
color: #fff;
text-align: center;
border-radius: 10px;
position: relative;
}
.joke h3 {
font-family: cursive;
line-height: 40px;
font-size: large;
letter-spacing: 5px;
}
.joke .content {
min-height: auto;
margin: 50px 40px;
}
.joke .btn {
border: 0;
padding: 20px 30px;
font-family: "Times New Roman", Times, serif;
text-transform: capitalize;
border-radius: 10px;
background-color: rgb(148, 100, 231);
color: #fff;
}
.btn:hover {
background-color: steelblue;
}
.btn:focus {
outline: 0;
}
.btn:active {
transform: scale(0.95);
}