-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.css
More file actions
86 lines (74 loc) · 1.65 KB
/
main.css
File metadata and controls
86 lines (74 loc) · 1.65 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
body {
background: url(images/uhgz-k6eb_g-vincent-guth.jpg);
background-size: cover;
font-family: "Courier New", Courier, monospace;
color: white;
}
#wrapper {
width: 800px;
margin: 50px auto;
background: rgba(0,0,0,0.2)
}
/*Clock*/
header {
text-align: center;
padding-bottom: 20px;
font-size: 50px;
}
/*Main sites bar*/
#mainSites {
padding-bottom: 20px;
padding-left: 5px; /*centers the icons just a little closer to center */
text-align: center;
}
#mainSites li {
display: inline;
margin: 32px;
}
#mainSites img {
padding: 5px;
transition: transform 1s ease;
transition: background-color 1s ease;
background-color: rgba(0,0,0,0)
}
#mainSites img:hover {
transition: transform 1s ease;
transform: scale(1.2);
background-color: rgba(0,0,0,0.5);
}
/*Search bar*/
aside {
text-align: center;
padding-bottom: 10px;
}
input {
background: rgba(0,0,0,0);
color: white;
height: 40px;
border: none;
font-size: 15px;
font-family: "Courier New", Courier, monospace;
}
input[type=submit]{
height: 42px;
padding-right: 10px;
transition: background-color 0.4s ease;
}
input[type=submit]:hover{
background-color: rgba(0,0,0,0.5);
}
input[type=text] {
background-image: url('images/search-13-32.png');
background-size: 32px 32px;
background-position: 5px 5px;
background-repeat: no-repeat;
padding-left: 40px;
-webkit-transition: width,background-color 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
width: 10%;
outline: none;
}
input[type=text]:focus{
width: 60%;
background-color: rgba(0,0,0,0.5);
}