-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (82 loc) · 1.51 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
93
94
95
96
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Gillroy', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
background-color: #f9f9f9;
color: #333;
}
header {
background-color: #222;
padding: 20px;
color: #fff;
text-align: center;
}
header h1 {
font-size: 28px;
}
main {
min-height: calc(100vh - 160px);
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
main form {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
main form input[type='text'] {
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
font-size: 16px;
width: 300px;
}
main form button {
background-color: #222;
color: #fff;
border: none;
border-radius: 5px;
padding: 10px 20px;
font-size: 16px;
margin-left: 10px;
cursor: pointer;
}
.result-container {
display: none;
max-width: 800px;
width: 100%;
}
.result {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
.result p {
margin-top: 10px;
}
.result .partsOfSpeech {
font-style: italic;
color: #008080;
margin-top: 2px;
}
.result div {
margin-top: 20px;
}
.result div a {
text-decoration: none;
background-color: #222;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
font-size: 16px;
}
.result li {
padding: 3px;
margin-left: 20px;
}