forked from Dezenix/frontend-html-css-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (77 loc) · 1.56 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body {
background-color: #090221;
}
.container {
background-color: #ffffff;
width: 95vw;
font-size: 16px;
max-width: 31.25em;
padding: 3.5em 2.5em;
position: absolute;
transform: translate(-50%, -50%);
left: 50%;
top: 50%;
border-radius: 0.6em;
box-shadow: 0 1.2em 3em rgba(0, 4, 52, 0.2);
}
.search-container {
display: flex;
justify-content: space-between;
}
.container input,
.container button {
font-size: 1.25em;
outline: none;
border: none;
border-radius: 0.4em;
}
.container input {
width: 40%;
border: 1px solid #bdbdbf;
padding: 0.6em;
}
.container button {
width: 55%;
background-color: #090221;
color: #ffffff;
font-weight: 500;
padding: 0.7em;
cursor: pointer;
}
#ran-fact-btn {
width: 100%;
margin-top: 1em;
}
.fact {
background-color: #ffffff;
box-shadow: 0 0 1.2em rgba(0, 4, 52, 0.1);
margin: 3em auto 0 auto;
padding: 2.8em 1.8em;
border-radius: 0.6em;
border: none;
border-bottom: 0.6em solid #090221;
display: none;
}
.fact h2 {
font-size: 2.8em;
color: #181a34;
}
.fact p {
font-size: 1.15em;
font-weight: 400;
color: #50526b;
line-height: 1.8em;
text-align: justify;
margin-top: 0.8em;
}
p.msg {
text-align: center;
font-weight: 500;
color: #181a34;
}