-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
144 lines (127 loc) · 3.02 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
body {
margin: 0;
font-family: Arial, sans-serif;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: url('images/bg.jpg') no-repeat center center fixed;
background-size: cover;
color: white;
text-align: center;
}
body::after{
content: "";
opacity: 0.6;
z-index: -2;
}
.nav-bar {
width: 100%;
height: 65px;
display: flex;
align-items: center;
padding: 10px 20px;
position: fixed;
top: 0;
background-color: rgba(0, 0, 0, 0.5);
}
.logo {
font-size: 36px;
font-family: "Dancing Script", cursive;
background: linear-gradient(to right, rgb(190, 109, 37), rgb(245, 183, 67), rgb(243, 110, 86));
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
animation: gradient 30s linear infinite;
font-weight: bold;
font-family: 'Times New Roman', Times, serif;
display:flex;
align-items: center;
padding: 25px;
}
.logo{
font-family: "Dancing Script", cursive;
font-weight: 700;
}
.logo i{
margin-right: 10px;
}
.nav {
color: white;
text-decoration: none;
font-size: 22px;
padding: 30px;
display: flex;
margin-left: auto;
}
#nav{
width:10px;
}
.nav-bar .nav:hover {
text-decoration: underline;
}
#para {
font-size: 36px;
margin: 20px 0;
font-family: fantasy;
}
#btn {
padding: 10px 20px;
font-size: 18px;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
background: linear-gradient(to right, Tomato, orange, lightblue, Tomato);
background-size: 600% 600%;
border: 1px solid transparent;
animation: gradient 30s linear infinite;
color: white;
box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}
#btn:hover {
background:linear-gradient
(to right,
cornflowerblue,
aqua,
deeppink
cornflowerblue);
background-size: 600% 600%;
animation: gradient 20s linear infinite;
filter:drop-shadow(0 0 30px cornflowerblue);
font-weight: 400;
text-shadow: 0 0 3px cornflowerblue;
}
html, body {
overflow: hidden;
}
@keyframes slideOutUp {
from {
transform: translateY(0);
}
to {
transform: translateY(-100%);
}
}
@keyframes slideInUp {
from {
transform: translateY(100%);
}
to {
transform: translateY(0);
}
}
body.slide-out-up {
animation: slideOutUp 0.5s forwards;
}
body.slide-in-up {
animation: slideInUp 0.5s forwards;
}
@keyframes gradient{
0%{
background-position: 0% 50%;
}
100% {
background-position: 600% 50%;
}
}