-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (46 loc) · 1.04 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
body {
font-family: Georgia, 'Times New Roman', Times, serif;
background-color: #d1bd93;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
header {
margin-bottom: 20px;
}
#typingHeader {
font-size: 2em;
color: rgb(42, 20, 9);
cursor: pointer; // Make the header clickable if it performs an action
}
#searchBox {
margin-bottom: 20px;
}
#searchBar {
padding: 10px;
font-size: 16px;
margin-right: 10px;
width: 300px; // Ensuring search bar has a consistent size
}
button {
padding: 10px 20px;
cursor: pointer;
}
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
grid-gap: 20px;
width: 100%;
}
.grid-item {
background-color: #e2dac4;
border-radius: 10px;
padding: 20px;
box-sizing: border-box;
transition: background-color 1s ease;
}
.grid-item:hover {
/* This will be overridden by JavaScript if a sentiment color is set */
background-color: #f0f0f0; /* Default hover color */
}