Spaces:
Running
Running
Commit
·
a4ae699
1
Parent(s):
79eeeeb
Update index.html
Browse files- index.html +21 -22
index.html
CHANGED
@@ -4,79 +4,78 @@
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Vitaliy Sharandin Data Science Portfolio</title>
|
7 |
-
|
8 |
-
h1 {
|
9 |
-
align-items: center;
|
10 |
-
}
|
11 |
body {
|
12 |
font-family: Arial, sans-serif;
|
13 |
background-color: #0d1117; /* Dark background */
|
14 |
color: #c9d1d9; /* Light text */
|
15 |
margin: 0;
|
16 |
padding: 0;
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
.container {
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
22 |
}
|
23 |
.section-title {
|
24 |
color: #ffffff;
|
25 |
-
|
26 |
-
|
27 |
-
font-size: 2em; /* Bigger font for section titles */
|
28 |
}
|
29 |
.project-row {
|
30 |
display: flex;
|
31 |
flex-wrap: wrap;
|
32 |
-
justify-content:
|
|
|
33 |
}
|
34 |
.project {
|
35 |
border: 2px solid #30363d;
|
36 |
border-radius: 10px;
|
37 |
padding: 10px;
|
38 |
-
margin: 10px;
|
39 |
background-color: #161b22;
|
40 |
-
width: calc(50% -
|
41 |
box-sizing: border-box;
|
42 |
display: flex;
|
43 |
flex-direction: column;
|
44 |
-
align-items: center;
|
|
|
45 |
}
|
46 |
.project:hover {
|
47 |
background-color: #21262d;
|
48 |
}
|
49 |
.thumbnail {
|
|
|
50 |
border-radius: 5px;
|
51 |
-
width: auto; /* Adjust width as needed */
|
52 |
-
max-height: 400px; /* Adjust height as needed */
|
53 |
}
|
54 |
.project-info {
|
55 |
width: 100%;
|
56 |
-
text-align: center; /* Center the text */
|
57 |
}
|
58 |
.project-title {
|
59 |
font-size: 1.2em;
|
60 |
color: #ffffff;
|
61 |
-
margin: 0
|
62 |
}
|
63 |
.project-link {
|
64 |
text-decoration: none;
|
65 |
color: #58a6ff;
|
66 |
margin: 5px 0;
|
67 |
-
padding: 8px 16px;
|
68 |
background-color: #21262d;
|
69 |
border-radius: 20px;
|
70 |
-
display: inline-block;
|
71 |
}
|
72 |
.project-link:hover {
|
73 |
background-color: #30363d;
|
74 |
text-decoration: underline;
|
75 |
}
|
76 |
@media screen and (max-width: 768px) {
|
77 |
-
/* Responsive design for smaller screens */
|
78 |
.project {
|
79 |
-
width: 100%;
|
80 |
}
|
81 |
}
|
82 |
</style>
|
|
|
4 |
<meta charset="UTF-8">
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Vitaliy Sharandin Data Science Portfolio</title>
|
7 |
+
<style>
|
|
|
|
|
|
|
8 |
body {
|
9 |
font-family: Arial, sans-serif;
|
10 |
background-color: #0d1117; /* Dark background */
|
11 |
color: #c9d1d9; /* Light text */
|
12 |
margin: 0;
|
13 |
padding: 0;
|
14 |
+
display: flex;
|
15 |
+
justify-content: center; /* Center content */
|
16 |
+
min-height: 100vh;
|
17 |
+
align-items: center; /* Center vertically */
|
18 |
}
|
19 |
.container {
|
20 |
+
text-align: center; /* Center text for the title */
|
21 |
+
max-width: 1200px;
|
22 |
+
width: 100%; /* Full width */
|
23 |
+
margin-top: 20px;
|
24 |
}
|
25 |
.section-title {
|
26 |
color: #ffffff;
|
27 |
+
font-size: 2em;
|
28 |
+
margin: 20px 0;
|
|
|
29 |
}
|
30 |
.project-row {
|
31 |
display: flex;
|
32 |
flex-wrap: wrap;
|
33 |
+
justify-content: space-around;
|
34 |
+
gap: 20px; /* Add gap between projects */
|
35 |
}
|
36 |
.project {
|
37 |
border: 2px solid #30363d;
|
38 |
border-radius: 10px;
|
39 |
padding: 10px;
|
|
|
40 |
background-color: #161b22;
|
41 |
+
width: calc(50% - 40px); /* Adjust width for two projects per row */
|
42 |
box-sizing: border-box;
|
43 |
display: flex;
|
44 |
flex-direction: column;
|
45 |
+
align-items: center;
|
46 |
+
margin-bottom: 20px;
|
47 |
}
|
48 |
.project:hover {
|
49 |
background-color: #21262d;
|
50 |
}
|
51 |
.thumbnail {
|
52 |
+
width: 100%; /* Adjust width as needed */
|
53 |
border-radius: 5px;
|
|
|
|
|
54 |
}
|
55 |
.project-info {
|
56 |
width: 100%;
|
|
|
57 |
}
|
58 |
.project-title {
|
59 |
font-size: 1.2em;
|
60 |
color: #ffffff;
|
61 |
+
margin: 0;
|
62 |
}
|
63 |
.project-link {
|
64 |
text-decoration: none;
|
65 |
color: #58a6ff;
|
66 |
margin: 5px 0;
|
67 |
+
padding: 8px 16px;
|
68 |
background-color: #21262d;
|
69 |
border-radius: 20px;
|
70 |
+
display: inline-block;
|
71 |
}
|
72 |
.project-link:hover {
|
73 |
background-color: #30363d;
|
74 |
text-decoration: underline;
|
75 |
}
|
76 |
@media screen and (max-width: 768px) {
|
|
|
77 |
.project {
|
78 |
+
width: 100%; /* Full width for smaller screens */
|
79 |
}
|
80 |
}
|
81 |
</style>
|