-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
86 lines (75 loc) · 1.96 KB
/
index.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
body {
background-color: #000;
/* background-image: url('image.png'); Replace with the actual path to your PNG image */
/* background-image: url('elden_ring_background.jpg'); /* Replace with your image */
/* background-size: cover; */
/* background-repeat: no-repeat; */
/* background-attachment: fixed; */
background-size: cover; /* Ensures the image covers the entire page */
background-position: center; /* Centers the image */
background-repeat: no-repeat; /* Prevents the image from repeating */
color: #fff;
font-family: 'Courier New', Courier, monospace;
margin: 0;
padding: 20px;
}
header {
text-align: center;
color: #0ff; /* Neon blue */
text-shadow: 0 0 10px #0ff; /* Neon glow effect */
height: 150px; /* Adjust the height as needed */
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
}
nav li {
margin: 0 10px;
}
section {
margin-top: 30px;
color: #fff;
text-shadow: 0 0 2px #0ff;
}
.project {
border: 1px solid #333;
padding: 20px;
margin-bottom: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 255, 0.5);
}
header h1, section h2 {
color: #0FFF00; /* Neon green */
text-shadow: 0 0 10px #0FFF00;
opacity: 0;
transition: opacity 2s ease-in-out;
}
nav a{
color: gold;
text-shadow: 0 0 10px #0ff;
opacity: 0;
transition: opacity 2s ease-in-out;
}
/* Activate fade-in on page load */
body.loaded header h1, body.loaded section h2, body.loaded nav a {
opacity: 1;
}
a {
text-decoration: none;
}
a:hover {
text-decoration: underline; /* Or another hover effect */
color: #ff0000;
text-shadow: #0ff;/* Or another color */
}
.social-icon {
transition: transform 0.2s ease-in-out; /* Add smooth animation */
}
.social-icon:hover {
transform: scale(1.2); /* Increase size on hover by 20% */
}
/* p{ */
/* color:#0FFF00; */
/* } */