-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
143 lines (121 loc) · 2.78 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
/* Reset default styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Basic body styling */
body {
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: darkgrey;
color: #ffffff;
padding-top: 60px; /* Height of the fixed header */
padding-bottom: 60px; /* Height of the fixed footer */
}
/* Navigation styling */
nav {
position: fixed; /* Fix to the top */
top: 0;
left: 0;
width: 100%; /* Full width */
background-color: darkcyan; /* Background color */
color: black;
display: flex;
justify-content: space-between;
padding: 1.5em;
z-index: 1000; /* Ensure it's on top of other content */
font-family: Garamond, serif;
}
#Name h1 {
margin: 0;
color: #000000;
}
#tabs {
display: flex; /* Use flex for alignment */
}
#tabs a {
color: #000000;
text-decoration: none;
margin: 0 0.5em;
padding-top: 10px;
}
#tabs a:hover {
color: #ff0000; /* Change color on hover */
text-decoration: underline; /* Optional underline on hover */
}
/* Main content styling */
main {
padding: 3em;
text-align: center;
max-width: 1200px;
margin: 0 auto;
}
.about-section {
display: flex;
align-items: center;
gap: 1em;
margin-bottom: 2em;
}
.about-section div {
flex: 1; /* Allow text to take up available space */
}
.about-section img {
width: 200px; /* Adjust width as needed */
height: auto;
border-radius: 8px;
margin-left: auto; /* Pushes the image to the far right */
}
#Projects-box {
margin: 0 auto; /* Centering the project box */
}
/* Styling for each project section */
.Project {
margin-bottom: 2em;
}
.Project h2 {
font-size: 1.5em;
color: #ffffff;
}
#Project-comments {
margin: 1em 0;
}
#Project-comments img {
width: 100%;
max-width: 400px;
height: auto;
}
.Project p {
color: #ffffff;
line-height: 1.5;
margin-bottom: 1em;
}
/* Cursive styling for the quote */
#quote {
font-style: italic; /* Makes text italic */
font-family: 'Brush Script MT', cursive; /* Adds a specific cursive font */
font-size: 2.8em; /* Adjust font size if needed */
margin: 1.5em 0; /* Adjust margin for spacing */
color: #000000; /* Optional: Change color for emphasis */
}
/* Footer styling */
footer {
position: fixed; /* Fix to the bottom */
bottom: 0;
left: 0;
width: 100%; /* Full width */
background-color: darkcyan; /* Background color */
color: #000000;
text-align: center;
padding: 1em 0; /* Adjusted padding */
z-index: 1000; /* Ensure it's on top of other content */
font-family: Garamond, serif;
}
footer p {
margin-bottom: 0.5em;
}
footer a img {
width: 48px;
height: 48px;
margin: 0 10px; /* Adjusted margin for spacing */
}