-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
199 lines (170 loc) · 4.14 KB
/
styles.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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
/* General Styles */
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
background-color: #f4f4f9;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
/* Header Styles */
header {
background: #2c3e50;
color: #ecf0f1;
padding: 1rem 0;
text-align: center;
transition: background-color 0.3s, color 0.3s;
}
header h1, header p {
margin: 0;
transition: color 0.3s;
}
header img {
border-radius: 50%;
transition: transform 0.3s, border-radius 0.3s;
}
header img:hover {
transform: scale(1.05);
}
header nav ul {
list-style: none;
padding: 0;
margin: 0;
}
header nav ul li {
display: inline;
margin: 0 1rem;
}
header nav ul li a {
color: #ecf0f1;
text-decoration: none;
background-color: #7f8c8d;
padding: 10px 15px;
border-radius: 5px;
transition: background-color 0.3s, color 0.3s;
}
header nav ul li a:hover {
background-color: #007bff;
color: #fff;
}
/* Section Styles */
section {
padding: 2rem;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: background-color 0.3s, box-shadow 0.3s;
margin-bottom: 2rem;
}
/* Profile Photo Styles */
.profile-photo {
border-radius: 15px; /* Adjust the value for more or less curvature */
padding: 5px; /* Optional: Add padding inside the border */
border: 2px solid #333; /* Optional: Add a border around the photo */
max-width: 180px; /* Adjust the value to the desired size */
}
/* Footer Styles */
footer {
background: #2c3e50;
color: #ecf0f1;
text-align: center;
padding: 1rem 0;
transition: background-color 0.3s, color 0.3s;
}
footer p {
margin: 0;
transition: color 0.3s;
}
/* Button Styles */
.button {
background-color: #007bff;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s, transform 0.3s;
}
.button:hover {
background-color: #16a085;
transform: scale(1.05);
}
/* List Styles */
main ul li::before { /* Only apply to lists within the main content area */
content: '\2023'; /* Unicode character for a modern bullet point */
font-family: Arial, sans-serif;
font-size: 2.0em; /* Increase the size */
color: #007bff; /* Change this to your desired color */
position: absolute;
left: 0;
top: 50%; /* Center the bullet vertically */
transform: translateY(-50%); /* Adjust for proper alignment */
}
ul {
list-style: none; /* Remove default bullet points */
padding: 0;
}
ul li {
position: relative;
padding-left: 30px; /* Increase padding for larger bullet */
margin-bottom: 10px;
transition: color 0.3s, background-color 0.3s;
}
a {
color: #007bff;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
color: #16a085;
}
/* Sidebar Styles */
#sidebar {
min-height: 100vh;
padding-top: 1rem;
}
#sidebar .nav-link {
font-size: 1.1em;
padding: 10px 15px;
color: #007bff; /* Default blue color for links */
background-color: #dfe7f1; /* Light blue background */
border-radius: 5px;
margin-bottom: 10px;
transition: background-color 0.3s, color 0.3s;
display: block; /* Make links block-level elements */
text-align: left; /* Align text to the left */
}
#sidebar .nav-link:hover {
background-color: #0056b3; /* Darker blue background on hover */
color: #fff; /* White text color on hover */
}
#sidebar .nav-link.active {
background-color: #007bff; /* Active link blue color */
color: #fff; /* White text color for active link */
}
#sidebar .nav-link i {
margin-right: 10px;
}
/* Ensure no bullet points in sidebar lists */
#sidebar ul.nav.flex-column {
list-style: none !important; /* Remove default bullet points */
padding: 0 !important; /* Remove any default padding */
margin: 0 !important; /* Remove any default margin */
}
#sidebar ul.nav.flex-column li.nav-item {
list-style: none !important; /* Ensure individual list items do not have bullet points */
margin: 0 !important;
padding: 0 !important;
}
h1.h2 {
display: flex;
align-items: center;
justify-content: space-between;
}
h1.h2 a.btn {
margin-left: 15px;
}