forked from sarahdoi/Oun-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
79 lines (59 loc) · 1.38 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
/* body & header for parent and baby sitter (diffenet html implementation) */
body {
background: whitesmoke;
color:#404040;
}
*{
padding: 0;
margin: 0;
font-family: Optima, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}
header {
position: fixed;
top:0; left:0; right:0;
background:Linear-gradient(60deg , rgb(196 , 183, 247) 0% , rgb(97 , 219 , 235) 100%);
box-shadow: 0px 5px Linear-gradient(60deg , rgb(196 , 183, 247) 0% , rgb(97 , 219 , 235) 100%);
padding:20px 7%;
display: flex;
align-items: center;
justify-content: space-between;
z-index:1000;
}
header img {
width:100px;
height:50px;
}
/*list dots removed*/
header .navbar ul {
list-style:none;
}
header .navbar ul li {
position:relative;
/* try to remove it*/
float:left;
}
header .navbar ul li a {
font-size:20px;
padding:5px;
color:rgb(41,33,78);;
display:block;
}
header .navbar ul li a:hover {
background:white;
}
a {text-decoration: none; }
header .navbar ul li ul {
position: absolute;
left:0;
width:200px;
background:Linear-gradient(60deg , rgb(196 , 183, 247) 0% , rgb(97 , 219 , 235) 100%);;
display:none;
}
header .navbar ul li ul li {
width:100%;
border-top: 1px solid white;
}
header .navbar ul li:focus-within > ul ,
header .navbar ul li:hover > ul {
display:initial;
}