-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
135 lines (114 loc) · 2.76 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
/* General styles */
body, html {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
background-color: #131a43; /* Dark solid background color */
overflow: hidden;
}
body {
display: flex;
flex-direction: column;
justify-content: space-between;
background-color: #131a43; /* Dark solid background color */
font-family: Arial, sans-serif;
text-align: center;
color: white; /* Ensure text is visible on dark background */
}
header {
width: 100%;
padding: 1rem;
position: relative;
z-index: 1;
background-color: #13132d; /* Match header background color */
}
header nav {
text-align: center; /* Center the nav items */
}
header nav ul {
display: inline-block; /* Change the ul to be inline-block to center within the nav */
padding: 0;
margin: 0;
}
header nav ul li {
display: inline; /* Ensure the li elements are inline */
margin: 0 10px;
}
/* Style for the menu links */
nav ul li a {
text-decoration: none; /* Remove default underline */
color: #ffffff; /* White color for the text */
font-weight: normal; /* Normal font weight by default */
}
/* Style for the active menu link */
nav ul li a.active { /* To handle active link when clicked */
font-weight: bold; /* Bold font weight for the active link */
}
/* Style for the hovered menu link */
nav ul li a:hover {
text-decoration: underline; /* Underline when hovered */
}
main {
position: relative;
z-index: 1;
height: calc(100vh - 60px); /* Adjust according to your header/footer height */
overflow-y: auto; /* Enable vertical scrolling */
}
footer {
width: 100%;
color: white;
padding: 1rem;
position: fixed;
bottom: 0;
z-index: 1;
}
#vanta-background {
flex: 1; /* Grow to fill the available space */
}
#home {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
text-align: center; /* Ensure text is centered */
}
#github-readme {
text-align: left;
margin: 2rem auto;
max-width: 600px;
background: rgba(0, 0, 0, 0.8);
padding: 1rem;
border-radius: 8px;
overflow: auto;
}
#social-buttons {
display: flex;
justify-content: center;
align-items: center; /* Center items vertically */
gap: 20px; /* Space between the buttons */
margin-top: 20px; /* Adjust the spacing if needed */
}
#social-buttons a img {
width: 72px; /* Ensure consistent size */
height: 72px;
}
/* Responsive styles */
@media (max-width: 768px) {
header nav ul {
display: flex;
flex-direction: column;
}
header nav ul li {
margin: 0.5rem 0;
}
}
@media (max-width: 480px) {
main {
padding: 1rem;
}
footer {
font-size: 0.8rem;
}
}