-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
106 lines (102 loc) · 1.9 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
95
96
97
98
99
100
101
102
103
104
105
106
*{
margin:0;
padding: 0;
font-family:sans-serif;
overflow: hidden;
/* position: absolute; */
}
body{
/* min-height: 100vh; */
background-image: url(./images/background1.jpg);
background-repeat: none;
background-size: cover;
background-position:center;
}
#nav{
position: fixed;
top:0;
left: 0;
width:100%;
height: 80px;
padding: 10px 90px;
box-sizing: border-box;
background: rgba(0,0,0,0.5);
}
#nav .logo{
padding:22px 20px;
height: 80px;
float:left;
font-size: 28px;
/* font-weight: bold; */
color:skyblue;
font-family:orpheus;
font-style: italic;
}
#nav ul{
list-style: none;
float: right;
margin: 0;
padding: 0;
display: flex;
}
#nav ul li a{
line-height: 80px;
color: #e2472f;
padding: 12px 30px;
text-decoration: none;
text-transform: uppercase;
font-size: 18px;
font-weight: bold;
font-family: optima;
}
#nav ul li a:hover{
background: rgba(0,0,0,0.7);
border-radius:6px;
}
#nav ul li a.active{
background: #e2472f;
color:black;
border-radius: 6px;
}
.image-slider{
width:600px;
height:350px;
background-size: cover;
background: url(./images/slider5.jpg);
border-radius: 15px;
margin: 80px auto;
/* margin-top: 70px;
margin-bottom: 50px; */
transform: translate(-50% -50%);
animation: slide 20s infinite;
}
@keyframes slide{
25%{
background: url(./images/slider5.jpg);
}
50%{
background: url(./images/slider8.jpg);
}
75%{
background: url(./images/slider7.jpg);
}
100%{
background: url(./images/slider10.jpg);
}
}
.content{
margin-top: 0;
color:aqua;
text-align:center;
}
h1{
font-family:Optima;
font-size:30px;
color: black;
font-weight: 700;
}
p{
font-family: optima;
font-weight: 600;
font-size:20px;
}