-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyPage.html
102 lines (92 loc) · 2.56 KB
/
myPage.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My search page</title>
<style>
html {
background: url(images/gradient.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
/* background-color: #a84a4a; */
background-image:linear-gradient(140deg, #fcfcfc, rgb(204, 207, 255));
}
div {
text-align: center;
}
input {
width: 25rem;
height: 2rem;
background-color: rgba(59, 48, 48, 0.349);
border-radius: 20px;
border: none;
padding: 5px;
padding-left: 15px;
font-size: 1rem;
font-weight: lighter;
color: #000000;
}
input:focus-visible {
outline: -webkit-focus-ring-color auto 1px;
outline-color: -webkit-focus-ring-color;
outline-style: none;
outline-width: 0px;
}
p{
float: right;
}
.quotes-container{
width: 60%;
margin-right: auto;
margin-left: auto;
margin-top: 100px;
font-size: 1.5vw;
color: #000000;
}
.greeting {
color: rgb(27, 39, 218);
float: none;
text-align: center;
font-size: 5vw;
font-weight: 900;
}
.form {
display: inline;
}
.time{
float: right;
padding-right: 15px;
padding-top: 15px;
font-size: 30px;
color: #2a9b6f
}
.date {
float: left;
padding-top: 15px;
font-size: 25px;
color: #2a9b6f;
}
</style>
</head>
<body>
<div>
<span class="date">Date</span>
<form class ="form" action="https://www.google.com/search">
<input type="text" name="q" placeholder="Enter yur query to search in google">
</form>
<span class="time"></span>
</div>
<div>
<p class="greeting" id='greeting'></p>
</div>
<div class="quotes-container">
<h1 class="quotes"></h1>
<p class="author"></p>
</div>
</body>
<script src="myPage.js" defer></script>
</html>