-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
218 lines (189 loc) · 4.67 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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Display:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
/*GENARAL FONT STYLES*/
p{
font-family: 'Montserrat', sans-serif;
padding: 10px;
}
h1{
font-family: "Noto Serif Display", serif;
font-size: 75px;
text-align: center;
}
h2{
font-family: "Noto Serif Display", serif;
}
a{
text-decoration: none;
}
/*GENARAL FONT STYLES*/
.buttons1{
background-color:#CB997E; /* Button background color */
color: #000000; /* Button text color */
border: none; /* Remove button border */
padding: 5px 10px; /* Button padding */
margin: 10px;
font-size: 14px; /* Button text size */
cursor: pointer; /* Add a pointer cursor on hover */
border-radius: 10px;
font-family: 'Montserrat', sans-serif;
}
.buttons1:hover{
background-color: #e29165;
font-weight: bold;
}
.buttons2{
display: flex;
align-items: center;
background-color:#FFE8D6;
color: #000000;
border: none;
padding: 5px 10px;
font-size: 14px; /* Button text size */
cursor: pointer; /* Add a pointer cursor on hover */
border-radius: 10px;
font-family: 'Montserrat', sans-serif;
}
.buttons2:hover{
background-color: #CB997E;
font-weight: bold;
}
.profile {
background-color: #FFE8D6;
float: left;
width: 30%;
height: 100vh;
text-align: center;
}
.profile img {
max-width: 75%;
border-radius: 50%;
margin-top: 20px;
}
.description {
width: 60%; /* Adjust the width as needed */
padding: 15px;
margin-left: 35%; /* Center horizontally by setting left and right margins to "auto" */
};
.description h2 {
margin-top: 0;
text-align: center;
font-size: larger;
}
.project-rows{
display: flex; /* Use flexbox to create a horizontal row */
justify-content: space-between; /* Distribute space evenly between images */
align-items: center;
margin: 0 20px;
}
.project-rows img {
max-width: 100%; /* Adjust the maximum width of each image */
height: auto; /* Maintain aspect ratio */
}
/* Clear the floats to prevent layout issues */
section:after {
content: "";
display: table;
clear: both;
}
@media (max-width: 650px) {
.project-rows {
flex-direction: column; /* Stack images vertically */
text-align: center; /* Center-align the images */
}
}
.image-box {
width: 30%; /* Adjust the width of each box */
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Add a light shadow */
margin: 10px; /* Add margin to space out the boxes */
padding: 10px; /* Add padding for spacing inside the boxes */
text-align: center; /* Center-align text within the boxes */
display: inline-block; /* Display boxes horizontally */
border-radius: 10px;
}
.image-box img {
max-width: 100%; /* Ensure the image fits within the box */
}
.image-text {
font-size: 14px; /* Style the text size */
margin-top: 10px; /* Add space between the image and text */
}
header {
width: 100vw;
background-color: #b7b7a4;
color: black;
padding: 24px;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Logo Styles */
.logo {
font-family: "Noto Serif Display", serif;
font-size: 20px;
font-weight: bold;
text-transform: uppercase;
padding: 0 24px;
text-align: left;
}
/* Navigation Styles */
.navMenu {
display: flex;
justify-content: space-between;
align-items: center;
gap: 60px;
}
.nav-link {
color: black;
text-decoration: none;
margin: 20px;
font-family: 'Montserrat', sans-serif;
transition: 0.7s ease;
}
.nav-link:hover {
font-weight: bold;
}
.nav-item{
list-style: none
}
.bar{
display: block;
width: 25px;
height: 3px;
margin: 5px auto;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
background-color: #000000;
}
/*FOOTER STYLES*/
footer {
display: flex;
justify-content: space-between;
background-color: #b7b7a4;
color: black;
padding: 100px;
display: flex;
justify-content: space-between;
align-items: center;
}
img.buttons {
width: 100px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
}
#footer-left{
width: 50%;
padding: 10px;
}
#footer-right{
width: 50%;
padding: 10px;
}