forked from TheSherlockHomie/googleHomepageClone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
175 lines (173 loc) · 3.41 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
/* Google homepage created as practice
Kushagra Kalash / TheSherlockHomie
June 17, 2018
All images and branding used belong to Google */
html{
font-family: 'Arial', 'sans-serif';
font-size: small;
color: black;
}
a{
text-decoration: none;
font-family: 'Arial', 'sans-serif';
font-size: small;
color: black;
}
a:hover{
text-decoration: underline;
}
.topNav{
display: block;
text-align: right;
margin-top: 20px;
margin-right: 20px;
}
#gmail, #images{
height: 24px;
line-height: 24px;
opacity: 0.85;
padding-left: 15px;
vertical-align: middle;
}
#products{
background-image: url("productivity.png");
background-size: cover;
background-repeat: no-repeat;
padding: 3px 10px;
margin-left: 20px;
opacity: 0.7;
vertical-align: middle;
}
#products:hover{
opacity:100;
}
#notifications{
background-image: url("notifications.png");
background-color: #727272;
background-size: 15px 15px;
background-repeat: no-repeat;
padding: 4px 12px;
margin-left: 20px;
border-radius: 30px;
background-position: center;
vertical-align: middle;
}
#notifications:hover{
background-color: rgb(44, 44, 44);
}
#user{
background-color: purple;
background-size: 30px 15px;
padding: 11px 19px;
border-radius: 30px;
margin-left: 20px;
vertical-align: middle;
}
#background{
display: block;
margin-top: 154px;
background-image: url("logo.png");
background-repeat: no-repeat;
background-size: 272px 92px;
width: 272px;
height: 92px;
background-position: center;
padding: 0% 41.8%;
}
#main{
display: block;
margin-top: 20px;
text-align: center;
}
#search-bar{
text-align: center;
}
input[type="text"]
{
height: 40px;
width: 32%;
border-radius: 4px;
border: 1px solid #E7E7E7;
box-shadow: 0 1px 2px 0.5px #ccc;
font-size: 1.25em;
font-weight: 500;
text-indent: 10px;
background-image: url("mic.png");
background-repeat: no-repeat;
background-size: 35px 35px;
background-position: 99% 2px;
}
#buttons{
margin-top: 30px;
}
input[type="submit"], input[type="button"]{
background-color: #f2f2f2;
border-color: #f2f2f2;
border-radius: 2px;
border-style: solid;
border-width: 1px;
color: #757575;
font-weight: bold;
height: 36px;
padding: 0 16px;
margin: 0 2px 30px 2px;
}
input[type="submit"]:hover, input[type="button"]:hover{
border: 1px solid #c6c6c6;
color: #000;
}
input[type="text"]:hover, input[type="text"]:active, input[type="text"]:focus, input[type="text"]:focus-within{
box-shadow: 0 3px 8px 1px #ccc;
}
#local{
font-size: 13px;
word-spacing: 0.15em;
}
#local a{
color: #1a0dab;
}
footer{
position: absolute;
bottom: 0px;
background-color: #f2f2f2;
border-top: 1px solid #e4e4e4;
color: rgb(119, 119, 119);
font-size: small;
left: 0px;
line-height: 2.1em;
width: 100%;
margin: 0;
padding: 0;
font-weight: 500;
font-size: 1.05em;
letter-spacing: 0.02em;
}
footer a{
font-weight: 400;
color: #666;
font-size: 0.92em;
}
footer a:hover{
text-decoration: underline;
}
#fTop{
padding:6px 30px;
}
#fB
{
border-top: 1px solid #e0e0e0;
padding: 6px 30px;
}
.fLeft{
margin-right: 20px;
}
#fright{
float: right;
}
.fright{
text-align: right;
margin-right: 20px;
}
#settings{
margin-right: 0px;
}