-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (78 loc) · 1.32 KB
/
style.css
File metadata and controls
104 lines (78 loc) · 1.32 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
nav {
font-family: sans-serif;
color: #222
width: 100%;
height: 150px;
background-color: #fff;
border-radius: 10px 10px 10px 10px;
}
.logo img {
padding-top: 20px;
padding-left: 50%;
width: 70px;
height: 70px;
position: relative;
}
nav li a {
text-decoration: none;
}
nav ul li {
display: inline-block;
list-style: none;
position: relative;
padding: 0px 30px 30px 0px;
}
nav ul li a {
display: block;
font-family: sans-serif;
color: #222
font-size: 20px;
padding: 5px 5px;
text-decoration: none;
}
nav ul li ul {
display: none;
padding-left: 0;
position: absolute;
background-color: white;
border-radius: 0px 0px 4px 4px;
}
nav ul li:hover ul {
display: block;
}
nav ul li ul li {
width: 100px;
border-radius: 4px;
}
nav ul li ul li a {
padding: 5px 5px;
}
nav ul li ul li a:hover {
background-color: #f3f3f3f3;
}
/* create a bakc background colour for the vody of the page */
body{
background-image: url(img/bg.jpg);
}
.content img {
display: table;
text-align: center;
padding-top: 50%;
margin: 0px auto;
width: 400px;
height: 400px;
}
figcation #caption {
margin: 0px auto;
}
.footer {
position: relative;
margin-top: 100%;
padding-left: 5px;
font-family: sans-serif;
color: #222
width: 100%;
height: 20px;
background-color: #fff;
border-radius: 10px 10px 10px 10px;
}