-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
169 lines (144 loc) · 3.35 KB
/
Copy pathstyles.css
File metadata and controls
169 lines (144 loc) · 3.35 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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Body Styles */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #f4f4f4; /* Lighter background color for the rest of the page */
color: #333; /* Default text color */
}
/* Sidebar Styles */
.sidebar {
background-color: #009933; /* Dark green for sidebar */
width: 100%;
padding: 10px 0;
position: sticky;
top: 0;
z-index: 10;
}
.sidebar ul {
display: flex;
justify-content: center;
list-style-type: none;
}
.sidebar ul li {
margin: 0 15px;
}
.sidebar ul li a {
color: #fff;
text-decoration: none;
font-size: 1.2em;
padding: 10px 20px;
}
.sidebar ul li a:hover {
background-color: #00ff00; /* Lighter green hover effect */
border-radius: 5px;
}
/* Container (for consistent width) */
.container {
width: 80%;
margin: 0 auto;
max-width: 1200px;
}
/* Header Styles */
header {
background-color: #009933; /* Dark green header */
color: #fff;
text-align: center;
padding: 40px 0;
}
header h1 {
font-size: 3em;
margin-bottom: 10px;
}
header p {
font-size: 1.2em;
}
/* About Me Section */
section {
padding: 40px 0;
}
section h2 {
font-size: 2em;
margin-bottom: 20px;
}
.about-me p {
font-size: 1.2em;
}
/* Contact Section */
.contact ul {
list-style-type: none;
padding: 0;
}
.contact ul li {
font-size: 1.2em;
margin-bottom: 10px;
}
.contact a {
color: #333; /* Dark text color for readability */
text-decoration: none;
}
.contact a:hover {
text-decoration: underline;
}
/* Footer Styles */
footer {
background-color: #333; /* Dark footer */
color: #fff;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}
footer p {
font-size: 1em;
}
/* Glow Animation */
@keyframes glow {
0% {
text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
}
50% {
text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00, 0 0 30px #00ff00;
}
100% {
text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
}
}
/* Applying glow animation to header h1 */
header h1 {
font-size: 3em;
margin-bottom: 10px;
animation: glow 1.5s ease-in-out infinite alternate;
}
/* Sidebar Links Glow Animation */
.sidebar ul li a:hover {
background-color: #00ff00; /* Lighter green hover effect */
border-radius: 5px;
animation: glow 1.5s ease-in-out infinite alternate;
}
/* Optional: Glow effect for links in contact section */
.contact a:hover {
text-decoration: underline;
animation: glow 1.5s ease-in-out infinite alternate;
}
.picture-frame {
width: 300px; /* Adjust size as needed */
height: 300px; /* Adjust size as needed */
border: 10px solid #fff; /* White frame */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
margin: 20px auto; /* Center the frame */
display: flex;
justify-content: center;
align-items: center;
background-color: #ddd; /* Light gray background */
}
.picture-frame img {
width: 100%;
height: 100%;
object-fit: cover; /* Ensures the image fits well */
border-radius: 5px;
}