forked from CodeYourFuture/HTML-CSS-Coursework-Week1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
118 lines (94 loc) · 1.88 KB
/
style.css
File metadata and controls
118 lines (94 loc) · 1.88 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
105
106
107
108
109
110
111
112
113
114
115
116
*{
margin:0;
padding:0;
box-sizing:border-box;
}
section{
width: 100%;
height: 200vh;
color:rgb(12, 12, 12);
background:linear-gradient(215deg, #dfe6e9, #fd79a8, #2d3436);
background-size: 400% 400%;
position: relative;
animation: change 15s ease-in-out infinite;
}
@keyframes change {
0%{
background-position: 0 50%
}
50%{
background-position: 100% 50%;
}
100% {
background-position: 0 50%;
}
}
.header {
top: 0;
left: 0;
position: fixed;
width: 100%;
background: black;
}
nav ul {
float: right;
margin: 10px;
display: flex;
padding: 15px 10px;
position: relative;
}
.logo {
width: 100px;
height: 70px;
margin-left: 70px;
}
.nav-bar a {
margin: 0 0 0 100px;
color: white;
padding: 15px 15px;
}
a {
text-decoration: none;
}
ul {
list-style-type: none;
}
nav a:hover {
background: pink;
transition: 0.5s;
}
.main {
margin-left: 40px;
text-align: center;
padding: 120px;
}
.media{
margin-bottom:-600px;
margin-left: 1250px;
}
.fling-minislide {width:100%; height:0px;padding-left:25%; padding-bottom: 70%; overflow:hidden; position:relative; }
.fling-minislide img{ position:absolute; animation:fling-minislide 20s infinite; opacity:0; width: 50%; height: 50%;}
@keyframes fling-minislide {25%{opacity:1;} 40%{opacity:0;}}
.fling-minislide img:nth-child(1){animation-delay:0s;}
.fling-minislide img:nth-child(2){animation-delay:5s;}
.fling-minislide img:nth-child(3){animation-delay:10s;}
.fling-minislide img:nth-child(4){animation-delay:15s;}
.fling-minislide img:nth-child(5){animation-delay:20s;}
.fling-minislide img:nth-child(6){animation-delay:25s;}
}
.section {
margin-left: 130px;
}
.info {
display:grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 0px;
margin-top: -420px;
margin-left: 20px;
max-width: 950px;
text-align:center;
}
.h4{
margin-top: 1100px;
text-align: center;
}