-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (80 loc) · 1.72 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
body {
display: flex;
flex-direction: column;
min-height: 100vh;
background-color: #f8f9fa; /* Set default background color */
color: black; /* Set default text color */
overflow: hidden; /* Hide the scroll bar */
}
body.dark-mode {
background-color: black; /* Set background color for dark mode */
color: white; /* Set text color for dark mode */
}
header {
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
}
.header-portfolio {
display: flex;
align-items: center;
justify-content: flex-start;
}
.header-portfolio img {
margin-right: 1rem;
}
h1 {
font-size: 2rem;
text-align: center;
margin-top: 0.5rem;
}
button {
font-size: 16px;
padding: 0.5rem;
border: 1px solid black;
border-radius: 0.5rem;
cursor: pointer;
}
img {
height: 50px;
margin-right: 1rem;
}
section {
margin-bottom: 1rem;
}
h2 {
font-size: 1.5rem;
}
p {
font-size: 1.1rem;
}
footer {
padding: 10px;
text-align: center;
margin-top: auto;
background-color: #f8f9fa; /* Set default background color for the footer */
}
body.dark-mode footer {
background-color: black; /* Set background color for dark mode footer */
color: white; /* Set text color for dark mode footer */
}
#dark-mode-button {
height: 20px;
cursor: pointer;
}
.social-icons {
margin-top: 100px;
}
.social-icons a {
margin: 0 10px;
text-decoration: none; /* Remove underlines from anchor tags */
}
.social-icons img {
width: 30px;
height: 30px;
filter: invert(0); /* Default to non-inverted colors */
}
body.dark-mode .social-icons img {
filter: invert(1); /* Invert the colors in dark mode */
}