-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhobies and intrest.css
More file actions
125 lines (108 loc) · 2.33 KB
/
hobies and intrest.css
File metadata and controls
125 lines (108 loc) · 2.33 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(to right, #ffafbd, #ffc3a0);
color: #2E4A62;
text-align: center;
}
nav {
background: linear-gradient(to right, #ffafbd, #ffc3a0);
padding: 10px 0;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
}
nav ul li {
margin: 0 15px;
}
nav ul li a {
color: #0033cc;
text-decoration: none;
font-weight: bold;
padding: 5px 10px;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
nav ul li a:hover {
background-color: #ff6f61;
color: #fff;
transform: scale(1.1);
box-shadow: 0 0 10px 3px rgba(255, 105, 180, 0.8);
/* Pink shadow */
}
header {
background-color: #2E4A62;
color: #F7CAC9;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
header h1 {
margin: 0;
font-size: 2.5em;
transition: color 0.3s, text-shadow 0.3s;
}
header h1:hover {
color: #ff6f61;
text-shadow: 2px 2px 5px rgba(255, 105, 180, 0.8);
/* Pink shadow */
}
section {
padding: 20px;
margin: 20px auto;
max-width: 800px;
border-radius: 10px;
color: #000;
font-weight: bold;
transition: background-color 0.3s, box-shadow 0.3s;
}
#hobbies {
background-color: #f9cb9c;
box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
/* Green shadow */
}
#hobbies:hover {
background-color: #f0f8ff;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
/* Cyan shadow */
}
#interests {
background-color: #f7cac9;
box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
/* Red shadow */
}
#interests:hover {
background-color: #f0f8ff;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
/* Cyan shadow */
}
section img {
width: 100%;
max-width: 300px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
transition: transform 0.3s, box-shadow 0.3s;
}
section img:hover {
transform: scale(1.1);
box-shadow: 0 0 15px rgba(255, 105, 180, 0.8);
/* Pink shadow */
}
footer {
background-color: #2E4A62;
color: #F7CAC9;
padding: 10px;
position: fixed;
width: 100%;
bottom: 0;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
footer p {
margin: 0;
font-weight: bold;
}