-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.css
118 lines (102 loc) · 2.18 KB
/
site.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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
color: #333;
background-color: #f5f5f5;
line-height: 1.6;
}
/* Rolling Header Styles */
.navigation-header {
position: fixed;
top: 0;
width: 100%;
background-color: #333;
color: white;
padding: 10px 0;
z-index: 1000; /* Ensure it stays on top */
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.navigation-header nav ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.navigation-header nav ul li {
margin: 0 15px;
}
.navigation-header nav ul li a {
color: white;
text-decoration: none;
font-size: 1.2em;
transition: color 0.3s ease;
}
.navigation-header nav ul li a:hover {
color: #e91e63; /* Color for hover effect */
}
header {
background-color: #e91e63;
color: white;
padding: 20px;
text-align: center;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
header h1 {
margin: 0;
font-size: 2.5em;
animation: drop 1s ease-out;
}
.intro {
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 20px;
max-width: 1200px;
margin: 0 auto;
text-align: center;
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
border-radius: 10px;
}
.intro-image {
width: 50%; /* Adjust this percentage as needed */
max-width: 400px; /* Set a maximum width */
height: auto; /* Maintain aspect ratio */
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.content {
padding: 20px;
}
.content h2, .content h3 {
font-family: 'Roboto', sans-serif;
font-size: 2em;
margin-top: 0;
animation: drop 1s ease-out;
}
.content p, .content ul {
font-size: 1.2em;
}
.content ul {
list-style: disc;
margin: 0;
padding-left: 20px;
}
.content li {
margin-bottom: 10px;
}
@keyframes drop {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}