-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
183 lines (162 loc) · 3.12 KB
/
styles.css
File metadata and controls
183 lines (162 loc) · 3.12 KB
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
:root {
/* variables */
--cg-cyan: rgb(120, 220, 231);
--cg-orange: rgb(236, 191, 113);
--cg-beige: rgb(238, 233, 219);
--cg-white: rgb(255, 255, 255);
}
html {
height: 100%;
}
body {
background-color: var(--cg-beige);
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
}
main {
padding: 0 20px 40px 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
/* CSS for navigation bar */
.navbar {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 100%;
height: 7%;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
background-color: var(--cg-cyan);
color: white;
padding: 0px 0px;
/* Debug border */
/* border: solid red; */
}
/*CSS for Nav*/
.nav-list {
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
}
.navbar a {
color: var(--cg-white);
font-weight: bold;
margin: 0 12px;
text-decoration: none;
letter-spacing: 2px;
}
.navbar a:hover {
color: var(--cg-orange);
}
/*CSS for index (home) */
.about-text {
width: 60%;
margin-top: 20px;
margin-left: 20px;
background-color: var(--cg-white);
padding: 400px, 20px, 20px, 40px;
font-family: Geneva, Tahoma, sans-serif;
color: var(--cg-orange);
text-indent: 20px;
}
/*CSS for Blog*/
.blog {
width: 60%;
margin-top: 20px;
background-color: var(--cg-white);
padding: 20px, 40px, 20px, 40px;
color: var(--cg-orange);
text-indent: 10px;
font-family: Geneva, Tahoma, sans-serif;
}
.blog h1 {
text-align: center;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/*CSS for Portfolio*/
.portfolio {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: var(--cg-orange);
font-family: Geneva, Tahoma, sans-serif;
}
.portfolio h1,
.portfolio h3,
.portfolio p,
.portfolio ul {
margin: 0;
padding: 0;
}
.portfolio h1 {
text-align: center;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.project {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2rem;
}
.portfolio ul {
list-style: none;
}
.project-description {
text-align: center;
max-width: 650px;
}
/*CSS for resume*/
.resume {
width: 60%;
margin-top: 20px;
background-color: var(--cg-white);
padding: 20px, 40px, 20px, 40px;
color: var(--cg-orange);
text-indent: 10px;
}
.resume h1 {
text-align: center;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.resume h3 {
display: flex;
justify-content: left;
font-family: Geneva, Tahoma, sans-serif;
text-decoration: underline;
}
.resume li {
padding: 5px;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.5;
}
/*CSS for Contact*/
.contact {
color: var(--cg-orange);
font-family: Geneva, Tahoma, sans-serif;
}
.contact h1 {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/* CSS for page footer */
.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: var(--cg-beige);
color: white;
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
}