-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
83 lines (81 loc) · 1.68 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
@import url("https://fonts.googleapis.com/css2?family=Anuphan:wght@100&family=Josefin+Sans&family=Jost:ital,wght@1,300&family=Mulish:wght@500&family=Poppins:wght@100;300;500&family=Raleway:wght@100;300;400&family=Roboto&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #2980b9;
font-family: "Redressed", cursive;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
margin: 0;
}
.container {
background-color: white;
border-radius: 10px;
box-shadow: 0 10px 20px 10px rgba(0, 0, 0, 0.1);
padding: 50px 20px;
text-align: center;
max-width: 100%;
width: 50%;
}
h3 {
margin: 0;
color: rgb(148, 141, 141);
letter-spacing: 2px;
text-transform: capitalize;
}
.joke {
font-size: 25px;
letter-spacing: 1px;
line-height: 40px;
margin: 30px auto;
max-width: 600px;
}
.btn {
background-color: #f8b627;
color: #fff;
border: 0;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
padding: 12px 30px;
font-size: 18px;
cursor: pointer;
outline: none;
/* transition: 0.5s; */
font-family: "Mulish", sans-serif;
}
.btn:hover {
background-color: white;
color: #f8b627;
}
@media (max-width: 480px) {
h3 {
letter-spacing: normal;
}
.joke {
font-size: 20px;
letter-spacing: normal;
line-height: 40px;
margin: 15px auto;
max-width: 600px;
}
.container {
width: 94%;
margin: 0 auto;
padding: 50px 10px;
margin: 1rem;
/* margin-left: 10px ;
margin-right: 10px; */
}
.btn {
border-radius: 8px;
padding: 10px 30px;
font-size: 18px;
}
}