-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (76 loc) · 1.09 KB
/
style.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
*{
margin:0;
padding:0;
font-family:"Times New Roman";
}
body{
background-color: #dfbf9f;
}
h1,p {
margin:20px;
}
p{
font-size:18px;
}
#content{
display: none;
}
.imageContainer{
background-color:#d9d9d9;
padding:20px;
overflow:auto;
width:50%;
margin-left:auto;
margin-right:auto;
border-radius:15px;
}
.imageContainer img{
width: 100%;
border-radius:inherit;
}
#title{
padding:75px;
background-color:gray;
text-align:center;
margin:auto;
font-size:36px;
}
#title a{
text-decoration:none;
color:black;
}
/* for the horizontal navigation bar */
#nav{
top: 0;
position: sticky;
}
#navbar{
background-color:maroon;
}
#navbar a{
padding: 20px 30px 20px 30px;
display: inline-block;
text-decoration: none;
font-size: 18px;
color: white;
}
#navbar li:hover{
background-color:brown;
}
#navbar li{
display: inline-block;
}
/* for dropdown list in navigation bar*/
#navbar li li{
display: none;
}
#navbar ul{
position: absolute;
}
#navbar li:hover li{
display: block;
background-color:brown;
}
#navbar li li:hover{
background-color: black;
}