-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimation.css
More file actions
103 lines (100 loc) · 2.08 KB
/
animation.css
File metadata and controls
103 lines (100 loc) · 2.08 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
*{
margin: 0;
padding: 0;
font-family: 'Architects Daughter', cursive;
font-size: 23px;
color: rgb(207, 193, 193);
}
header{
background: url(/animation.jpg) no-repeat center;
background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url(/animation.jpg);
background-size: cover;
height: max-content;
position: relative;
background-attachment: fixed;
}
.navsection{
width: 100%;
height: 20vh;
display: flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(to top, #a9c3c9 80%, #a9c3c9 20%);
position: sticky;
}
.logo{
width: 40%;
color: #fff;
background-image: linear-gradient(#8d98e3 40%, #854fee 60%);
padding-left: 100px;
box-sizing: border-box;
}
.logo h1{
text-transform: uppercase;
font-size: 1.6rem;
animation: aagepiche 2s linear infinite;
animation-direction: alternate;
position: sticky;
top: 0;
}@keyframes aagepiche{
from{
padding-left: 40px;
}to{
padding-right: 40px;
}
}
nav {
width: 60%;
display: flex;
justify-content: space-around;
}
nav a{
text-transform: uppercase;
text-decoration: none;
color: #000;
font-weight: 900;
position: relative;
font-size: 23px;
}
nav a:before{
content: "";
position: absolute;
top: 110%;
left: 0;
width: 0;
height: 2px;
border-bottom: 2px solid #4458dc;
transition: all 0.4s linear;
}
nav a:hover:before{
width: 100%;}
main{
height: 80vh;
display: flex;
justify-content: space-around;
align-items: center;}
h1{
font-size: 40px;
margin-left: 40px;
}
p{
margin: 15px;
margin-right: 40%;
margin-left: 45px;
}
.lists li{
list-style-type: square;
margin-left: 60px;
}
.courses ul li{
list-style-type: square;
margin-left:60px ;
}
.courses .diffcourse{
margin-left: 45px;
margin-right: 40%;
}
.CandJ{
list-style-type: square;
margin-left: 60px;
}