forked from Gen1a/CS50W-Project0-Google-Search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
147 lines (140 loc) · 2.74 KB
/
styles.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
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
145
146
147
body {
margin: 0px;
height: 100vh;
font-family: Arial, sans-serif;
}
input {
font-size: 16px;
width: 300px;
padding: 13px 0;
/* Parent selector = & */
}
input:focus {
outline: none;
}
input[type=text] {
/* Give input text a lighter color */
color: #464646;
margin: 0 0 0 5px;
}
input[type=submit] {
font-size: 14px;
width: 185px;
/* Remove border */
border-width: 0px;
border-radius: 15px;
margin: 20px;
}
input[type=submit]:hover {
/* Add box-shadow when hovering button (border adds space) */
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);
}
input.blue-button {
background-color: dodgerblue;
color: white;
font-size: smaller;
max-width: 200px;
border-radius: 0px;
border: 1px solid #156bbd;
float: right;
padding: 10px 2px;
margin: 0;
}
.header, .header-links, .header-advanced-logo, .header-advanced {
display: flex;
align-items: center;
}
.header a, .header-links a, .header-advanced-logo a, .header-advanced a {
color: black;
padding: 10px;
text-decoration: none;
}
.header-advanced {
background-color: #f1f1f1;
height: 50px;
}
.header-advanced-logo {
padding: 10px;
}
.header-advanced-logo img {
height: 30px;
}
.header-links {
margin-left: auto;
}
.appbar {
margin: 30px 10px;
}
.appbar label {
color: #d93025;
font-size: 20px;
margin: 50px 30px;
}
.separator-line {
border-bottom: solid 1px #d6d6d6;
}
.search-container {
display: flex;
flex-direction: column;
/* Align the search container in the center of the viewport */
justify-content: center;
align-items: center;
height: 90%;
}
.search-container .search-field {
display: flex;
flex-direction: row;
border-radius: 25px;
border: 1px solid #afafaf;
align-items: center;
margin: 10px;
padding-left: 15px;
}
.search-container .search-field input {
border: none;
border-radius: 25px;
}
.search-container .logo-subtext {
color: #4285f4;
position: relative;
left: 110px;
top: -18px;
}
.advanced-search-container {
margin: 50px 40px;
}
.advanced-search-container label {
display: inline-block;
width: 16%;
font-size: 20px;
}
.advanced-search-container .whitespace {
display: inline-block;
width: 50%;
}
.advanced-search-container .form-group {
display: flex;
align-items: center;
margin-top: 10px;
padding: 10px 0;
}
.advanced-search-container .form-group label {
width: 16%;
font-size: 14px;
}
.advanced-search-container .form-group input[type=text] {
width: 49%;
padding: 2px 0;
}
.advanced-search-container .form-group .clarification {
font-size: 11px;
width: 30%;
margin-left: 1%;
}
.advanced-search-container .form-group .clarification .monospace {
font-family: monospace;
}
.advanced-search-container .form-group .right-align {
width: 50%;
}
/*# sourceMappingURL=styles.css.map */