-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (95 loc) · 2.38 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
97
98
99
100
101
102
103
104
105
106
107
108
109
* {
font-family: 'Google Sans', sans-serif;
}
body {
background-color: #ffffff;
text-align: center;
}
h1 {
margin-top: 20px;
}
table {
width: 80%;
margin: 20px auto;
border-collapse: collapse;
background-color: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
th, td {
font-family: 'Google Sans', sans-serif;
padding: 10px;
border-bottom: 1px solid #ddd;
}
th {
font-family: 'Google Sans', sans-serif;
background-color: #f2f2f2;
}
.green-tick {
color: green;
}
.red-cross {
color: red;
}
.search-bar {
flex-grow: 1;
display: flex; /* Use flexbox to center-align the search box */
justify-content: center; /* Center-align horizontally */
align-items: center; /* Center-align vertically */
position: relative;
width: 40%; /* Set the width to 50% */
margin: 0 auto; /* Center-align the entire search bar */
background-color: transparent; /* Remove background color */
border: 1px solid gray; /* Add a black outline */
}
.search-bar input {
padding: 10px;
border: none;
width: 100%; /* Full width input within the search box */
font-size: 16px;
color: #333;
}
/* Placeholder text color */
.search-bar input::placeholder {
color: black;
}
.navbar {
display: flex;
align-items: center;
padding: 10px;
color: white;
}
.logo img {
height: 75px; /* Adjust the height to make the logo smaller */
margin-right: 20px;
}
/* Media queries for mobile devices */
@media (max-width: 800px) {
/* Styles for mobile devices */
body {
font-size: 14px;
}
.navbar {
display: flex;
justify-content: center;
}
.logo {
margin: 10px;
}
h1 {
font-size: 24px;
}
.search-bar {
flex-grow: 1;
display: flex; /* Use flexbox to center-align the search box */
justify-content: center; /* Center-align horizontally */
align-items: center; /* Center-align vertically */
position: relative;
width: 40%; /* Set the width to 50% */
margin: 0 auto; /* Center-align the entire search bar */
background-color: transparent; /* Remove background color */
border: 1px solid gray; /* Add a black outline */
}
table {
font-size: 12px;
}
}