-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.css
More file actions
144 lines (124 loc) · 2.14 KB
/
Copy pathstyle.css
File metadata and controls
144 lines (124 loc) · 2.14 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
body {
background: #fff;
color: #202124;
font-family: Arial, sans-serif;
margin: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
main {
flex: 1;
}
.container {
width: 600px;
max-width: 90%;
margin: 100px auto;
text-align: center;
}
.footer {
width: 600px;
max-width: 90%;
margin: auto auto;
text-align: center;
}
.logo-img-on-home {
width: 272px;
max-width: 80%;
display: block;
margin: 0 auto 28px;
}
.search-bar {
position: relative;
}
input[type="text"],
textarea {
width: 100%;
box-sizing: border-box;
padding: 14px 20px;
border: 1px solid #dfe1e5;
border-radius: 24px;
background: #fff;
color: #202124;
font: 16px Arial;
outline: none;
}
input[type="text"]:focus,
textarea:focus {
border-color: transparent;
box-shadow: 0 1px 6px #dfe1e5;
}
textarea {
height: 180px;
resize: vertical;
border-radius: 8px;
}
.search-button {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
width: 80px;
height: 40px;
border: 0;
border-radius: 24px;
background: transparent;
color: #5f6368;
cursor: pointer;
}
.button-group {
display: flex;
justify-content: center;
gap: 12px;
margin-top: 28px;
}
button,
.link-button {
padding: 10px 16px;
border: 1px solid #f8f9fa;
border-radius: 4px;
background: #f8f9fa;
color: #3c4043;
font-size: 14px;
text-decoration: none;
cursor: pointer;
}
button:hover,
.link-button:hover {
border-color: #dadce0;
box-shadow: 0 1px 1px #ddd;
}
#posts-container {
margin-top: 40px;
text-align: left;
}
.result-box {
padding: 18px 5px;
border-bottom: 1px solid #dadce0;
cursor: pointer;
}
.result-box h3 {
margin: 0 0 8px;
color: #1a0dab;
font-weight: normal;
}
.result-box p {
margin: 5px 0;
color: #4d5156;
}
.post-content {
text-align: left;
white-space: pre-wrap;
line-height: 1.6;
}
.post-user {
color: #5f6368;
font-size: 14px;
}
.form {
text-align: left;
}
.form input,
.form textarea {
margin-bottom: 15px;
}