-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
141 lines (118 loc) · 2.26 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
/* Add your CSS styles here */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
background-color: #2ecc71;
color: white;
padding: 10px 0;
}
.color-container {
display: flex;
justify-content: center;
align-items: center;
height: 1;
}
.color-button {
padding: 10px 20px;
font-size: 16px;
}
.profile-image-container {
display: flex;
justify-content: center;
align-items: center;
height: 300px;
width: "auto";
}
.profile-image-container img {
border: 5px solid #2ecc71;
max-width: 100%;
max-height: 100%;
box-sizing: content-box;
margin: auto;
}
nav ul {
list-style: none;
text-align: center;
margin: 0;
padding: 0;
}
nav ul li {
display: inline;
margin-right: 20px;
}
.container {
max-width: 960px;
margin: 0 auto;
padding: 20px;
background-color: #ecf0f1;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.section {
padding: 40px 0;
}
h1, h2 {
color: #2ecc71;
}
.project {
margin-top: 20px;
padding: 10px;
border: 1px solid #2ecc71;
border-radius: 5px;
background-color: #ffffff;
}
.project img.left-align{
float: "left";
margin-right: 10px;
}
.project img.right-align{
float: "right";
margin-left: 10px;
}
.gallery {
display: flex;
justify-content: center;
height: 100vh;
margin: 0;
}
.image-container {
width: 300px; /* Set the desired width for the container */
height: 200px; /* Set the desired height for the container */
overflow: hidden; /* Hide overflowing content (images) */
}
.image-container img {
width: auto; /* Make the image fill the container */
height: 100%; /* Maintain aspect ratio */
}
/* Style links */
a {
color: #0b6103;
text-decoration: none;
}
a:hover {
text-decoration: underline;
color: #ffffff; /* Darker blue on hover */
}
footer {
background-color: #2ecc71;
color: aliceblue;
height: 70px;
padding: 10px;
position: fixed;
left: 0;
right: 0;
bottom: 0;
width: 100%;
text-align: center;
box-shadow: 0 0 12px -2px black;
}
footer a {
margin: 0 25px;
}
footer .media-link {
height: 45px;
}