-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
115 lines (96 loc) · 2.56 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
/* Custom styles */
/* Light mode styles (default) */
body {
background-color: #fff;
color: #000;
}
/* Custom header background color */
.custom-red-header {
background-color: #0f104a; /* Adjusted to a deep blue color */
color: #fff; /* White text color */
position: sticky; /* Make the header sticky */
top: 0; /* Stick to the top of the viewport */
z-index: 1000; /* Ensure it is on top of other elements */
}
/* About Me section background color */
.about-section {
background-color: rgb(230, 230, 240); /* Custom background color */
color: black; /* Text color */
padding: 20px;
margin-top: 20px;
border: 5px solid #6e9b5d;
}
/* Apply same background color for other sections */
.same-bg-color {
background-color: #1f2937; /* Match the About Me section color */
color: rgb(235, 230, 230); /* Text color */
padding: 20px;
margin-top: 20px;
}
/* Additional styles */
.card-body img {
max-height: 100px; /* Adjust this value as needed */
object-fit: cover; /* Ensures the image covers the given area */
width: 100%;
}
.project-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
padding: 20px;
background-color: #abc29fe1; /* Adjusted background color */
}
.project-image-container img {
max-width: 100%;
height: auto;
border-radius: 8px;
}
.project-details {
flex: 1;
}
@media (max-width: 768px) {
.project-container {
flex-direction: column;
align-items: center;
}
.project-image-container img {
width: 50px;
height: 200px;
}
.center-text h1 {
text-align: center;
}
body {
background-color: #1f2937; /* Match the background color of the About Me section */
color: #fff; /* Default text color */
}
/* Style for the footer */
footer {
background-color: #cbd5e0; /* Different background color for the footer */
color: #1a202c; /* Text color for the footer */
}
}
/* Dark mode styles */
body.dark-mode {
background-color: #1a202c; /* Dark background */
color: #cbd5e0; /* Light text color */
}
.custom-red-header.dark-mode {
background-color: #0f104a; /* Dark mode header color */
}
.about-section.dark-mode {
background-color: #2d3748; /* Dark mode section color */
color: #cbd5e0; /* Light text */
}
.same-bg-color.dark-mode {
background-color: #2d3748; /* Dark mode background */
color: #e2e8f0; /* Light text */
}
.project-container.dark-mode {
background-color: #2d3748; /* Dark mode project container */
}
footer.dark-mode {
background-color: #1a202c; /* Dark mode footer background */
color: #cbd5e0; /* Light footer text */
}