-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
173 lines (150 loc) · 3.57 KB
/
style.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
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
170
171
172
173
/* Reset some default styles */
body, h1, h2, ul {
margin: 0;
padding: 0;
}
/* Apply a background color to the body */
body {
background-color: #f4f4f4;
font-family: Arial, sans-serif;
}
/* Style the header */
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Style the logo image */
#logo {
max-width: 100%; /* Ensure the logo does not exceed its container's width */
height: 80px; /* Maintain the aspect ratio of the logo */
margin: 10px; /* Adjust margin as needed to control spacing between text and logo */
}
/* Style the navigation links in the footer */
footer ul li a {
color: #fff;
text-decoration: none;
transition: color 0.3s;
}
footer ul li a:hover {
color: #ffcc00; /* Yellow on hover */
}
/* Style the sections and their headings */
section {
height: 325px;
background-color: #fff;
padding: 40px; /* Increase padding to make sections taller */
margin: 20px 10%; /* Increased margin on left and right sides */
border: 1px solid #ddd;
border-radius: 10px; /* Rounded corners for a modern look */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Increased shadow for depth */
width: 80%; /* Expanding the width of the sections */
}
section img{
width: 300px;
height: 175px;
align-items: center;
justify-content: center;
float: right;
}
/* Add gaps between horizontal lines (paragraphs) */
section p {
margin-bottom: 10px; /* Adjust the margin to create gaps between paragraphs */
}
body {
background-color: black;
}
h2 {
color: #fff;
background-color: #333;
padding: 10px;
margin: 30px 0;
display: inline;
border-radius: 10px;
}
section{
background-color: lightcyan;
font-size: large;
}
/* Add margin to the ul elements */
section ul {
margin: 20px 0;
}
section ul li a{
color: black;
text-decoration: none;
padding: 10px;
}
/* Style the links in the navigation menu */
nav ul li a {
color: #333;
margin-right: 15px; /* Increased margin for better spacing */
transition: color 0.3s;
}
/* Footer styling */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
}
/* Add a hover effect to navigation links */
nav ul li a:hover {
color: #ffcc00;
}
/* Style the navigation links in the footer */
footer ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
padding: 0;
}
footer ul li {
margin: 10px 15px; /* Increased margin for better spacing */
}
footer ul li a {
color: #b99b3a;
text-decoration: none;
transition: color 0.3s;
}
footer ul li a:hover {
color: #fff;
}
/* Center the copyright notice */
footer p {
margin: 20px 0;
color: #666;
}
/* Add styling for h3 tags */
h3 {
color: #666;
font-weight: bold; /* Make h3 tags stand out more */
}
/* Back to Top Button */
#back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
font-size: 24px;
display: none;
transition: opacity 0.3s;
z-index: 999;
}
#back-to-top a {
text-decoration: none;
color: #fff;
background-color: #333;
padding: 15px 20px; /* Increased padding for a more prominent button */
border-radius: 50%;
transition: background-color 0.3s;
}
#back-to-top a:hover {
background-color: #ffcc00;
}
#back-to-top.show {
display: block;
opacity: 0.7;
}