forked from CareerDevelopmentHub/SocialHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
127 lines (120 loc) · 2.74 KB
/
styles.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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-image: radial-gradient( circle 311px at 8.6% 27.9%, rgba(197, 87, 244, 0.544) 12.9%,rgba(181, 221, 248, 0.7) 91.2% );
background-size: 200% 100%; /* Set a larger width for the gradient */
animation: gradientAnimation 3s linear infinite alternate; /* Use keyframes animation */
}
@keyframes gradientAnimation {
0% {
background-position: 10% 0;
}}
header {
background-image: linear-gradient(to right top, #46e500, #9dc000, #ca9600, #e46300, #eb1212);
color: #fff;
padding: 20px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
}
nav li {
display: inline-block;
margin-right: 20px;
}
nav a {
color: #ffffff;
text-decoration: none;
}
.hero {
background-size: cover;
color: #000000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
.hero h1 {
font-size: 4rem;
margin: 0;
}
.hero p {
font-size: 1.5rem;
margin: 20px 0;
}
.second {
color: #000000;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.second h1 {
font-size: 4rem;
margin: 0;
}
.second p {
font-size: 1.5rem;
margin: 20px 0;
}
.hero button {
background-color: #000;
border: none;
border-radius: 5px;
color: #fff;
font-size: 1.2rem;
padding: 10px 20px;
cursor: pointer;
}
.hero button:hover {
background-color: #333;
color: #fff;
}
.about-me {
border: 1px solid #ddd;
padding: 20px;
margin-bottom: 20px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
flex-basis: 20%;
}
.content
{
background-color: rgba(181, 221, 248, 0.7); /* Adjust the alpha value for transparency */
border: 1px solid #ffffff;
padding: 20px;
margin: 30px;
width: 250px;
text-align: center;
transition: all 0.3s ease;
color: rgb(0, 0, 0);
backdrop-filter: blur(10px);
}
.content:hover {
transform: translateY(0);
box-shadow: inset 0 0 60px #8ef6ff,
inset 20px 0 80px rgb(186, 127, 235),
inset -20px 0 80px #fefffe,
inset 20px 0 300px #bcf3ff,
inset -20px 0 300px #74e8db,
0 0 50px #ffeeee,
-10px 0 80px rgb(128, 193, 237),
10px 0 60px #dab7f1;
}
.content img{
width: 200px;
height: 200px;
}
footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}