This repository was archived by the owner on Dec 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
119 lines (119 loc) · 2.48 KB
/
main.css
File metadata and controls
119 lines (119 loc) · 2.48 KB
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
header{
color:white;
font-style: normal;
text-align: center;
margin-top: 9%;
margin-bottom: 6%;
font-family:"Courier New", Helvetica,Verdana,Geneva,"Lucida Grande","Lucida Sans Unicode",Tahoma,"Trebuchet MS",Calibri;
color:black;
font-size: 70px;
font-weight: 500;
text-shadow: 0px 0px 20px #d3d3d3;
letter-spacing: 2px;
}
body{
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
font-family: Helvetica,Verdana,Geneva,"Lucida Grande","Lucida Sans Unicode",Tahoma,"Trebuchet MS",Calibri;
font-weight: 500;
font-style: italic;
color:white;
text-align: center;
text-shadow: 2px 2px 20px black;
letter-spacing: 2px;
}
.searchbar {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: black;
height: 20px;
border-radius: 40px;
padding-top:10px;
padding-bottom: 20px;
padding-left: 20px;
padding-right: 15px;
}
.searchbar:hover > .searchtxt {
width: 70%;
padding-left: 10px;
padding-right: 10px;
}
.searchbar:hover > .searchbutton {
background: white;
color: black;
}
.searchbar:hover > .searchbutton {
background-image: url(searchBlack.png);
background-repeat: no-repeat;
background-size: 142px;
background-position: center;
}
#quote{
font-size:0px;
position: absolute;
margin-right: auto;
margin-left: auto;
left: 0;
right: 0;
top:80%;
}
.searchbar:hover ~ #quote {
color: white;
font-size: 20px;
}
.searchbutton {
background-image: url(searchBlack.png);
background-repeat: no-repeat;
background-size: 142px;
background-position: center;
float: right;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
transition: 0.4s;
background-color: black;
cursor: pointer;
border:none;
}
.searchtxt {
border: none;
background: none;
outline: none;
float: left;
padding: 0px;
color: white;
font-size: 20px;
font-family: Calibri, Verdana, Helvetica,Geneva,"Lucida Grande","Lucida Sans Unicode",Tahoma,"Trebuchet MS",Calibri;
transition: 0.4s;
line-height: 30px;
width: 0px;
font-weight: normal;
}
.buttons{
border:none;
padding: 3%;
padding-top: .6%;
padding-bottom: .6%;
color: white;
font-family: Helvetica,Verdana,Geneva,"Lucida Grande","Lucida Sans Unicode",Tahoma,"Trebuchet MS",Calibri;
font-weight:500;
font-style:bold;
font-size: 20px;
text-align: center;
border-radius: 50px;
cursor: pointer;
margin-left: 3%;
margin-right: 3%;
}
.buttonRow{
position: absolute;
top: 57%;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
}