-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
92 lines (80 loc) · 1.4 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
*{
margin: 0;
padding: 0;
}
body{
background-color: aqua;
}
.container{
width: 90vmin;
background-color: aliceblue;
top: 50%;
left: 50%;
transform: translate(50%, 50%);
padding: 80px 50px;
border-radius: 10px;
box-shadow: 0 0 10px 0 rgba(0, 0, 255, 0.5);
height: auto;
}
.search-box{
width: 100%;
display: flex;
justify-content: space-between;
}
.search-box input{
width: 90%;
padding: 10px;
border: 1px solid #000;
border: none;
border-bottom: 3px solid aqua;
border-radius: 5px;
outline: none;
}
.search-box button{
width: 10%;
padding: 10px;
border: none;
margin: 1px;
margin-left: 4px;
border-radius: 5px;
background-color: aqua;
color: #000000;
cursor: pointer;
}
.result{
position: relative;
}
.result h3{
font-size: 30px;
color: #212121;
}
.result .word{
display: flex;
justify-content: space-between;
margin-top: 80px;
}
.word button{
/* position: absolute; */
width: 5%;
background-color: rgba(146, 133, 133, 0);
color: aqua;
border: none;
outline: none;
cursor: pointer;
font-size: 19px;
}
.result .details{
margin-top: 20px;
display: flex;
gap: 20px;
}
.meaning{
width: 80%;
margin-top: 20px;
}
.word-example{
font-style: italic;
margin-top: 20px;
padding: 20px;
border-left: 2px solid aqua;
}